A value of a tensor valued function, a vertex in the computational graph.
A Variable may be constant, i.e. depends on no other Variables. Constant variables may or may not need their partial derivatives computed.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Abstract methods
The parent operation of this value in the computational graph. Empty for constants.
The parent operation of this value in the computational graph. Empty for constants.
Attributes
The partial derivative, or a placeholder tensor for the partial derivative.
The partial derivative, or a placeholder tensor for the partial derivative.
Returns empty iff this Variable needs no gradient computation. Otherwise a placeholder tensor is allocated upfront when the Variable is allocated.
Attributes
The actual tensor value of this Variable.
The actual tensor value of this Variable.
Attributes
Concrete 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.
Attributes
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
.
Attributes
Returns true if lamp.autograd.Variable.partialDerivative is defined.
Returns the tensor options of its value.
Returns the tensor options of its value.
Attributes
Returns the shape of its value.
Returns the shape of its value.
Attributes
Returns a new variable with the first two dimensions transposed.
Returns a new variable with the first two dimensions transposed.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Returns a new variable with the respective dimensions transposed.
Returns a new variable with the respective dimensions transposed.
Attributes
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
.
Attributes
In place zeros out the partial derivative
In place zeros out the partial derivative
Attributes
Concrete fields
Returns unique, stable and random UUID.
Returns unique, stable and random UUID.
Attributes
Returns the shape of its value.
Returns the shape of its value.