Value class

Constructors

Value(double data, [Set<Value>? children, String _op = ''])

Properties

data ↔ double
getter/setter pair
grad ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

backward() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(num exponent) → Value
relu() → Value
setData(double newData) → void
sigmoid() → Value
toString() → String
A string representation of this object.
override
zeroGrad() → void

Operators

operator *(dynamic other) → Value
operator +(dynamic other) → Value
operator -(dynamic other) → Value
operator /(dynamic other) → Value
operator ==(Object other) → bool
The equality operator.
inherited
operator unary-() → Value

Static Methods

toValue(dynamic x) → Value