(self)
| 2862 | np.testing.assert_allclose(Tensor.stack(a, a).numpy(), Tensor([3.14, 3.14]).numpy()) |
| 2863 | |
| 2864 | def test_stack_max(self): |
| 2865 | helper_test_op(None, lambda x, y: torch.stack((x, y)).max(axis=0)[0], lambda x, y: Tensor.stack(x, y).max(axis=0), vals=[[1.], [2.]]) |
| 2866 | |
| 2867 | def test_repeat(self): |
| 2868 | x = Tensor.randn(4, 6, 3) |
nothing calls this directly
no test coverage detected