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

abs() Value
Returns the absolute value of this Value.
backward() → void
clamp(Value minVal, Value maxVal) Value
elu(double alpha) Value
exp() Value
gelu() Value
log() Value
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
sqrt() Value
tanh() 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

softmax(List<Value> inputs) List<Value>
toValue(dynamic x) Value