Skip to content

Commit de2da12

Browse files
committed
Revision 1
1 parent 7a2b4f0 commit de2da12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/python_models/dlpack_test/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_dlpack_cpu_numpy(self):
162162
self.assertFalse(pytorch_tensor.is_cuda)
163163
self.assertEqual(pb_tensor.__dlpack_device__(), pytorch_tensor.__dlpack_device__())
164164

165-
def test_pdtensor_bool_internal_support(self):
165+
def test_bool_datatype(self):
166166
# [FIXME] pass bool_array directly to `pb_utils.Tensor.from_dlpack`,
167167
# when numpy release supports DLPack bool type
168168
bool_array = np.asarray([False, True])

0 commit comments

Comments
 (0)