Function randomGaussian

  • Creates a tensor filled with normally distributed random numbers.

    Parameters

    • shape: number[]

      the shape of tensor

    • Optional mean: number

      (optional) the mean

    • Optional sd: number

      (optional) the standard deviation

    Returns Tensor

    the filled tensor