(self)
| 1197 | class TestMultiFromUnrenderable(unittest.TestCase): |
| 1198 | @needs_second_gpu |
| 1199 | def test_from_npy(self): |
| 1200 | t = Tensor(np.arange(100, dtype=np.uint32)) |
| 1201 | ll = t.shard((d0, d1), axis=0) + 1 |
| 1202 | np.testing.assert_equal(ll.numpy(), np.arange(100)+1) |
| 1203 | |
| 1204 | @unittest.skipIf(not_support_multi_device(), "need multi") |
| 1205 | class TestMultiAssign(unittest.TestCase): |
nothing calls this directly
no test coverage detected