torch.Tensor.Tensor.random_
Tensor.random_(options?: RandomOptions): thisTensor.random_(from: number, to: number, options?: RandomOptions): thisFills self tensor with numbers sampled from discrete uniform [from, to).
Parameters
optionsRandomOptionsoptional
Returns
this