Method randomNormal
val randomNormal: Random -> 'T * 'T -> int64 list -> Tensor<'T>
Creates a tensor filled with random numbers from a normale distribution.
Declaration
val randomNormal: rnd:Random -> mean:'T * variance:'T -> shp:int64 list -> Tensor<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| System.Random | rnd | The random generator to use. |
| 'T | mean | The mean of the normal distribution. |
| 'T | variance | The variance of the normal distribution. |
| int64 list | shp | The shape of the new tensor. |
Returns
| Type | Description |
|---|---|
| Tensor<'T> | A tensor of specified shape filled with random numbers. |
Type Parameters
| Name | Description |
|---|---|
| 'T |