torch.randn_like
function randn_like<S extends Shape>(input: Tensor<S>, options: RandomLikeOptions = {}): Tensor<S>Create a tensor with same shape as input filled with standard normal values.
Parameters
inputTensor<S>- Tensor to match shape from
optionsRandomLikeOptionsoptional- Optional settings for random_like
Returns
Tensor<S>– A new tensor with standard normal values (mean=0, std=1)