rand() | Uniform distribution |
rand_like() | Uniform distribution, shape of returned tensor is determined by shape of input value. |
randn() | Normal distribution |
randn_like() | Uniform distribution, shape of returned tensor is determined by shape of input value. |
randint() | Uniform distribution, integers in given range. |
randint_like() |