Tensor.FillGaussianNormalDistribution<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fills the given TensorSpan<T> with random data in a Gaussian normal distribution. Random can optionally be provided for seeding.
public static ref readonly System.Numerics.Tensors.TensorSpan<T> FillGaussianNormalDistribution<T> (in System.Numerics.Tensors.TensorSpan<T> destination, Random? random = default) where T : System.Numerics.IFloatingPoint<T>;
static member FillGaussianNormalDistribution : TensorSpan * Random -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function FillGaussianNormalDistribution(Of T As IFloatingPoint(Of T)) (ByRef destination As TensorSpan(Of T), Optional random As Random = Nothing) As TensorSpan(Of T)
Type Parameters
- T
The element type.
Parameters
- destination
- TensorSpan<T>
The destination TensorSpan<T> where the data will be stored.
Returns
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.