@@ -360,7 +360,7 @@ def _validate_input_types(self, input_types=None, ignore_collections=False, **kw
360360
361361 if type_shape is not None and len (value_shape ) != len (type_shape ):
362362 raise TypeError (
363- f"Input shape mismatch occured for { name } in module { self .__class__ .__name__ } : \n "
363+ f"Input shape mismatch occurred for { name } in module { self .__class__ .__name__ } : \n "
364364 f"Input shape expected = { metadata .base_types [key ].axes } | \n "
365365 f"Input shape found : { value_shape } "
366366 )
@@ -447,7 +447,7 @@ def _attach_and_validate_output_types(self, out_objects, ignore_collections=Fals
447447
448448 if type_shape is not None and len (value_shape ) != len (type_shape ):
449449 raise TypeError (
450- f"Output shape mismatch occured for { name } in module { self .__class__ .__name__ } : \n "
450+ f"Output shape mismatch occurred for { name } in module { self .__class__ .__name__ } : \n "
451451 f"Output shape expected = { type_shape } | \n "
452452 f"Output shape found : { value_shape } "
453453 )
@@ -535,7 +535,7 @@ def __check_neural_type(self, obj, metadata: TypecheckMetadata, depth: int, name
535535
536536 if type_shape is not None and len (value_shape ) != len (type_shape ):
537537 raise TypeError (
538- f"Input shape mismatch occured for { name } in module { self .__class__ .__name__ } : \n "
538+ f"Input shape mismatch occurred for { name } in module { self .__class__ .__name__ } : \n "
539539 f"Input shape expected = { type_shape } | \n "
540540 f"Input shape found : { value_shape } "
541541 )
@@ -578,7 +578,7 @@ def __attach_neural_type(self, obj, metadata: TypecheckMetadata, depth: int, nam
578578
579579 if type_shape is not None and len (value_shape ) != len (type_shape ):
580580 raise TypeError (
581- f"Output shape mismatch occured for { name } in module { self .__class__ .__name__ } : \n "
581+ f"Output shape mismatch occurred for { name } in module { self .__class__ .__name__ } : \n "
582582 f"Output shape expected = { type_shape } | \n "
583583 f"Output shape found : { value_shape } "
584584 )
0 commit comments