Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix ut
  • Loading branch information
xadupre committed Nov 12, 2023
commit ec49a87e773bedcf41d69c46e4e2841a12b73ac0
2 changes: 1 addition & 1 deletion _unittests/ut_light_api/test_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_transpose(self):
"""
(
start(opset=19)
.cst(np.array([-1, 1]).astype(np.int64))
.cst(np.array([-1, 1], dtype=np.int64))
.rename('r')
.vin('X', elem_type=TensorProto.FLOAT)
.bring('X', 'r')
Expand Down
2 changes: 1 addition & 1 deletion _unittests/ut_light_api/test_translate_classic.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_transpose(self):
functions = []
initializers.append(
from_array(
np.array([-1, 1]).astype(np.int64),
np.array([-1, 1], dtype=np.int64),
name='r'
)
)
Expand Down