Represents the base class of all models.
Record Field | Description |
|
Constructor | Description |
|
|
Instance member | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.buffers
|
|
Full Usage:
this.buffersVector
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.eval ()
|
|
Full Usage:
this.forwardDiff (derivatives, ?nestingTag)
Parameters:
ParameterDict
-
The derivatives of the parameters
?nestingTag : uint32
-
The level tag for nested differentiation. Defaults to the current global nesting level
|
Adjust the parameters of the model to initiate a new level of forward-mode automatic differentiation. After this call the current parameters of the model will have attached derivatives for forward mode differentiation.
|
Full Usage:
this.hasOwnBuffers
Returns: bool
|
|
Full Usage:
this.hasOwnParameters
Returns: bool
|
|
Full Usage:
this.hasOwnState
Returns: bool
|
|
|
|
Full Usage:
this.isForwardDiff
Returns: bool
|
|
Full Usage:
this.isNoDiff
Returns: bool
|
|
Full Usage:
this.isReverseDiff
Returns: bool
|
|
|
|
Full Usage:
this.nbuffers
Returns: int
|
|
Full Usage:
this.noDiff ()
|
|
Full Usage:
this.nparameters
Returns: int
|
|
Full Usage:
this.nstate
Returns: int
|
|
Full Usage:
this.parameters
|
|
Full Usage:
this.parametersVector
|
|
Full Usage:
this.reverseDiff ?nestingTag
Parameters:
uint32
-
The level tag for nested differentiation. Defaults to the current global nesting level
|
Adjust the parameters of the model to initiate a new level of reverse-mode automatic differentiation.
After this call the current parameters of the model will support reverse-mode differentiation. After the completion
of the corresponding
|
Full Usage:
this.state
|
|
Full Usage:
this.stateVector
|
|
Full Usage:
this.summary ()
Returns: string
|
|
Full Usage:
this.train ()
|
© Copyright 2021, DiffSharp Contributors.