Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Valery Chernov committed Aug 11, 2021
1 parent ec2fc2d commit 7efd53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/test_const.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_const_dtype():
strides = _op.const(np_array, dtype="int64")

# strides needs to be autoconverted to int64 on Windows
assert infer_type(strides).checked_type.dtype == np.dtype(np.int64)
assert infer_type(strides).dtype == np.dtype(np.int64)

a = tvm.nd.array(np.random.randint(0, high=255, size=(2, 3), dtype="uint8"))
a = _op.const(a, dtype="uint8")
Expand Down

0 comments on commit 7efd53e

Please sign in to comment.