Skip to content

Commit

Permalink
add unit test in support of complex64 data type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Nov 18, 2023
1 parent 0d940f8 commit e927b83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def test_torch_example(self):
tensors = {
"a": torch.zeros((2, 2)),
"b": torch.zeros((2, 3), dtype=torch.uint8),
"c": torch.randn(2,2, dtype=torch.complex64),
}
# Saving modifies the tensors to type numpy, so we must copy for the
# test to be correct.
Expand Down

0 comments on commit e927b83

Please sign in to comment.