| torch.randint | i.i.d. discrete Uniform in given range | ✔ |
| torch.randperm | random permutation of {0, 1, ..., n - 1} |
| torch.tensor | copied from existing data (list, NumPy ndarray, etc.) | | ✔ |
| torch.from_numpy* | from NumPy ndarray (sharing storage without copying) |
| torch.arange, torch.range, and torch.linspace | uniformly spaced values in a given range |
| torch.logspace | logarithmically spaced values in a given range |
| torch.eye | identity matrix |