Function randomGaussian

  • Creates a tensor filled with normally distributed random numbers.

    Returns

    the filled tensor

    Parameters

    • shape: number[]

      the shape of tensor

    • Optional mean: number

      (optional) the mean

    • Optional sd: number

      (optional) the standard deviation

    Returns Tensor

Generated using TypeDoc