Deep.Net


RandomExtensions

Namespace: Tensor

Type extensions

Type extensionDescription
IntTensor(minValue, maxValue) shp
Signature: (minValue:int * maxValue:int) -> (shp:int64 list) -> Tensor<int>

Samples each element of an ArrayND of shape shp from a discrete uniform distribution between minValue and maxValue.

CompiledName: Random.IntTensor

NormalDouble(mean variance)
Signature: mean:float -> variance:float -> seq<float>

Generates an infinite sequence of random doubles x ~ N(mean,variance)

CompiledName: Random.NormalDouble

NormalSingle(mean variance)
Signature: mean:float -> variance:float -> seq<single>

Generates an infinite sequence of random singles x ~ N(mean,variance)

CompiledName: Random.NormalSingle

NormalTensor(mean, variance) shp
Signature: (mean:'T * variance:'T) -> (shp:int64 list) -> Tensor<'T>
Type parameters: 'T

Generates an array of random elements x ~ N(mean,variance)

CompiledName: Random.NormalTensor

Seq(minValue, maxValue)
Signature: (minValue:int * maxValue:int) -> seq<int>

Generates an infinite sequence of random numbers within the given range.

CompiledName: Random.Seq

SeqDouble()
Signature: unit -> seq<float>

Generates an infinite sequence of random numbers between 0.0 and 1.0.

CompiledName: Random.SeqDouble

SeqDouble(minValue, maxValue)
Signature: (minValue:float * maxValue:float) -> seq<float>

Generates an infinite sequence of random numbers within the given range.

CompiledName: Random.SeqDouble

SeqSingle()
Signature: unit -> seq<single>

Generates an infinite sequence of random numbers between 0.0 and 1.0.

CompiledName: Random.SeqSingle

SeqSingle(minValue, maxValue)
Signature: (minValue:single * maxValue:single) -> seq<single>

Generates an infinite sequence of random numbers within the given range.

CompiledName: Random.SeqSingle

SortedUniformTensor(...)
Signature: (minValue:'T * maxValue:'T) -> (shp:int64 list) -> Tensor<'T>
Type parameters: 'T

Samples each element of an ArrayND of shape shp from a uniform distribution between minValue and maxValue.

CompiledName: Random.SortedUniformTensor

UniformTensor(minValue, maxValue) shp
Signature: (minValue:'T * maxValue:'T) -> (shp:int64 list) -> Tensor<'T>
Type parameters: 'T

Samples each element of an ArrayND of shape shp from a uniform distribution between minValue and maxValue.

CompiledName: Random.UniformTensor

Fork me on GitHub