File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,6 @@ def test_init_torch_bfloat16(self):
261261
262262 @hide_stdout ()
263263 def test_if (self ):
264-
265264 def _mkv_ (name ):
266265 value_info_proto = onnx .ValueInfoProto ()
267266 value_info_proto .name = name
Original file line number Diff line number Diff line change @@ -994,11 +994,11 @@ def enumerate_results(
994994 indent = " " * len (coordinates )
995995 if isinstance (proto , ModelProto ):
996996 if verbose :
997- print (f"[enumerate_results] { indent } seaching for { name !r} into ModelProto..." )
997+ print (f"[enumerate_results] { indent } searching for { name !r} into ModelProto..." )
998998 yield from enumerate_results (proto .graph , name , verbose = verbose )
999999 elif isinstance (proto , FunctionProto ):
10001000 if verbose :
1001- print (f"[enumerate_results] { indent } seaching for { name !r} into FunctionProto..." )
1001+ print (f"[enumerate_results] { indent } searching for { name !r} into FunctionProto..." )
10021002 for i in proto .input :
10031003 if i in name :
10041004 r = ResultFound (
@@ -1024,7 +1024,7 @@ def enumerate_results(
10241024 yield r
10251025 elif isinstance (proto , GraphProto ):
10261026 if verbose :
1027- print (f"[enumerate_results] { indent } seaching for { name !r} into GraphProto..." )
1027+ print (f"[enumerate_results] { indent } searching for { name !r} into GraphProto..." )
10281028 for i in proto .initializer :
10291029 if i .name in name :
10301030 r = ResultFound (
@@ -1072,7 +1072,7 @@ def enumerate_results(
10721072 yield r
10731073 else :
10741074 if verbose :
1075- print (f"[enumerate_results] { indent } seaching for { name !r} into List[NodeProto]..." )
1075+ print (f"[enumerate_results] { indent } searching for { name !r} into List[NodeProto]..." )
10761076 for node_i , node in enumerate (proto ):
10771077 if set (node .input ) & name :
10781078 for n in node .input :
You can’t perform that action at this time.
0 commit comments