(self)
| 184 | make_allocation_info(**kwargs) |
| 185 | |
| 186 | def test_contiguous_stride_from_shape(self) -> None: |
| 187 | shape = (2, 3, 4) |
| 188 | stride = contiguous_stride_from_shape(torch.Size(shape)) |
| 189 | self.assertEqual((12, 4, 1), stride) |
| 190 | |
| 191 | def test_dim_order_from_stride(self) -> None: |
| 192 | # shape = (4) |
nothing calls this directly
no test coverage detected