(shape, start=1)
| 15 | np.testing.assert_equal(a, b) |
| 16 | |
| 17 | def consec(shape, start=1): |
| 18 | return Tensor.arange(prod(shape)).reshape(shape)+start |
| 19 | |
| 20 | # creates strided tensor with base set to reference tensor's base, equivalent to torch.set_() |
| 21 | def set_(reference: Tensor, shape, strides, offset): |
no test coverage detected
searching dependent graphs…