Normal Type

Represents a normal distribution with the given mean and standard deviation with the mean and standard deviation drawn fom the given tensors.

Constructors

Constructor Description

Normal(mean, stddev)

Full Usage: Normal(mean, stddev)

Parameters:
Returns: Normal
mean : Tensor
stddev : Tensor
Returns: Normal

Inherited members

Inherited from TensorDistribution

Instance members

Instance member Description

this.prob value

Full Usage: this.prob value

Parameters:
Returns: Tensor

TBD

value : Tensor
Returns: Tensor

this.sample numSamples

Full Usage: this.sample numSamples

Parameters:
    numSamples : int

Returns: Tensor

Samples the distribution mutliple times

numSamples : int
Returns: Tensor

this.stddev

Full Usage: this.stddev

Returns: Tensor
Modifiers: abstract

TBD

Returns: Tensor

this.batchShape

Full Usage: this.batchShape

Returns: Shape
Modifiers: abstract
Returns: Shape

this.mean

Full Usage: this.mean

Returns: Tensor
Modifiers: abstract

TBD

Returns: Tensor

this.variance

Full Usage: this.variance

Returns: Tensor
Modifiers: abstract

TBD

Returns: Tensor

this.eventShape

Full Usage: this.eventShape

Returns: Shape
Modifiers: abstract

TBD

Returns: Shape

Inherited from Distribution<Tensor>

Instance members

Instance member Description

this.logprob arg1

Full Usage: this.logprob arg1

Parameters:
    arg0 : 'T

Returns: Tensor
Modifiers: abstract

Returns the log-probability of the distribution

arg0 : 'T
Returns: Tensor

this.sample ()

Full Usage: this.sample ()

Returns: 'T
Modifiers: abstract

Samples the distribution

Returns: 'T

© Copyright 2021, DiffSharp and dfx Contributors.