(ndim)
| 437 | return tuple(copy) |
| 438 | |
| 439 | def permuted_extents(ndim): |
| 440 | extents = list(range(ndim)) |
| 441 | rng.shuffle(extents) |
| 442 | return tuple(extents) |
| 443 | |
| 444 | # the original extents are purposely all prime numbers |
| 445 | # to test handling of unaligned tensors |
no outgoing calls
no test coverage detected