File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2506,5 +2506,6 @@ def test_nbytes_single(self):
2506
2506
tensor = _core .StringTensor (data )
2507
2507
self .assertEqual (tensor .nbytes , 3 )
2508
2508
2509
+
2509
2510
if __name__ == "__main__" :
2510
2511
unittest .main ()
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ def test_string_initializers_with_different_shapes_not_deduplicated(self):
85
85
new_model = self .apply_pass (model )
86
86
self .assertEqual (len (new_model .graph .initializers ), 2 )
87
87
88
-
89
88
def test_string_initializers_with_same_bytes_but_different_grouping_not_deduplicated (self ):
90
89
model = ir .from_onnx_text (
91
90
"""
@@ -98,7 +97,6 @@ def test_string_initializers_with_same_bytes_but_different_grouping_not_deduplic
98
97
new_model = self .apply_pass (model )
99
98
self .assertEqual (len (new_model .graph .initializers ), 2 )
100
99
101
-
102
100
def test_initializers_with_different_dtypes_not_deduplicated (self ):
103
101
model = ir .from_onnx_text (
104
102
"""
You can’t perform that action at this time.
0 commit comments