Node class

Constructors

Node(List<Tensor> inputs, Function backwardFn, {String opName = 'op', int cost = 0, Map<String, dynamic> extraParams = const {}})
A Node connects different Tensor together. Nodes can be viewed inside a computational graph as functions holding references to its input tensors. To allow backpropagation through the network backwardFn is stored as a reference to the given method. Nodes are used for eager cpu execution of functions.

Properties

backwardFn ↔ Function
getter/setter pair
cost ↔ int
getter/setter pair
extraParams ↔ Map<String, dynamic>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
inputs ↔ List<Tensor>
getter/setter pair
opName ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited