protected void _runAndBackPropagate(BatchPair tv) { VectorBatch result = _component.Run(tv.First); _costAccumulator += _costFunction.Cost(tv.Second, result); _component.BackPropagate(_costFunction.Gradient(tv.Second, result)); }
public BatchPairNode(BatchPair pair) { Pair = pair; Next = null; }