Represents a collection of named parameters.
Constructor | Description |
|
|
Instance member | Description |
Full Usage:
this.[key]
Returns: string
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.clear ()
|
|
|
This method discards differentiability and returns a ParameterDict containing parameters that are constant tensors.
|
Full Usage:
this.count
Returns: int
|
|
|
|
|
|
|
|
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
|
After this call the current parameters in this dictionary will have attached derivatives for forward mode differentiation.
|
|
|
|
|
|
|
|
|
Full Usage:
this.nelement
Returns: int
|
|
Full Usage:
this.noDiff ()
|
|
Full Usage:
this.reverseDiff ?nestingTag
Parameters:
uint32
-
The level tag for nested differentiation. Defaults to the current global nesting level
|
After this call the current parameters in this dictionary will support reverse-mode differentiation. After the completion
of the corresponding
|
Full Usage:
this.set (other, ?differentiable, ?strict)
Parameters:
ParameterDict
?differentiable : bool
?strict : bool
|
|
Full Usage:
this.unflatten (tensors, ?differentiable)
Parameters:
Tensor
?differentiable : bool
|
|
|
|
© Copyright 2021, DiffSharp Contributors.