(self)
| 297 | class TestTensorUOpStack(unittest.TestCase): |
| 298 | def test_stack_dim0(self): _check(self, _t(2, 3), lambda x: x.stack(x, dim=0)) |
| 299 | def test_stack_dim1(self): _check(self, _t(2, 3), lambda x: x.stack(x, dim=1)) |
| 300 | def test_stack_3tensors(self): _check(self, _t(2, 3), lambda x: x.stack(x, x, dim=0)) |
| 301 | def test_stack_new_last(self): _check(self, _t(2, 3), lambda x: x.stack(x, dim=-1)) |
| 302 |