Node constructor

Node(
  1. List<Tensor> inputs,
  2. Function backwardFn, {
  3. String opName = 'op',
  4. int cost = 0,
  5. Map<String, dynamic> extraParams = const {},
})

Implementation

Node(
  this.inputs,
  this.backwardFn, {
  this.opName = 'op',
  this.cost = 0,
  this.extraParams = const {},
});