ConstantWithGrad
A variable whose parent is empty but whose partial derivative is defined
Value members
Inherited methods
Runs the backpropagation algorithm starting from this value
Runs the backpropagation algorithm starting from this value
Only meaningful if this is scalar i.e. the number of elements in the value tensor is 1.
- Inherited from:
- Variable
- Inherited from:
- Variable
Returns an other Variable wrapping the same value tensor, without any
parent and with needsGrad=false
.
Returns an other Variable wrapping the same value tensor, without any
parent and with needsGrad=false
.
- Inherited from:
- Variable
Returns true if lamp.autograd.Variable.partialDerivative is defined.
Returns true if lamp.autograd.Variable.partialDerivative is defined.
- Inherited from:
- Variable
Returns the tensor options of its value.
Returns the tensor options of its value.
- Inherited from:
- Variable
Returns a new variable with the first two dimensions transposed.
Returns a new variable with the first two dimensions transposed.
- Inherited from:
- Variable
Returns a new variable with the respective dimensions transposed.
Returns a new variable with the respective dimensions transposed.
- Inherited from:
- Variable
Returns an other Variable wrapping the same value tensor, without any
parent and with needsGrad=true
.
Returns an other Variable wrapping the same value tensor, without any
parent and with needsGrad=true
.
- Inherited from:
- Variable
In place zeros out the partial derivative
In place zeros out the partial derivative
- Inherited from:
- Variable
Returns a pair of this instance and the supplied function
Returns a pair of this instance and the supplied function
- Inherited from:
- Variable