MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / test_list

Method test_list

test/null/test_helpers.py:467–468  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

465 def test_ndarray_tolist(self):
466 self.assertFalse(is_numpy_ndarray(np.array([1, 2, 3]).tolist()))
467 def test_list(self):
468 self.assertFalse(is_numpy_ndarray([1, 2, 3]))
469 def test_tensor(self):
470 self.assertFalse(is_numpy_ndarray(Tensor([1, 2, 3])))
471 self.assertFalse(is_numpy_ndarray(Tensor(np.array([1, 2, 3]))))

Callers

nothing calls this directly

Calls 1

is_numpy_ndarrayFunction · 0.90

Tested by

no test coverage detected