torch.Tensor.Tensor.uniform_
Tensor.uniform_(options?: UniformOptions): thisTensor.uniform_(from: number, to: number, options?: UniformOptions): thisFills self tensor with numbers sampled from uniform distribution U(from, to).
Parameters
optionsUniformOptionsoptional
Returns
this