menu
dart_torch package
documentation
nn.dart
Node class
Node class
dark_mode
light_mode
Node
class
Constructors
Node
(
double
value
, [
String
_op
=
''
])
Properties
grad
↔
double
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
value
↔
double
getter/setter pair
Methods
backward
(
)
→ void
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow
(
double
exponent
)
→
Node
relu
(
)
→
Node
toString
(
)
→
String
A string representation of this object.
override
zeroGrad
(
)
→ void
Operators
operator *
(
Node
other
)
→
Node
operator +
(
Node
other
)
→
Node
operator -
(
Node
other
)
→
Node
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
dart_torch package
documentation
nn
Node class
nn library