A cumulative Tape returned by forward.
A cumulative Tape returned by forward.
When this Output is backwarding,
the delta
parameter will not be back-propagated to its upstreams immediately.
Instead, the delta
parameter will be accumulated internally.
Then, when this Output is flushing,
the delta accumulator will be processed and back-propagated to its upstreams.
This Output is reference counted. When the last instance of all this Output's duplicates is closed, flush will be called and all the upstreams will be closed as well.
Returns the returns the result of rawForward.
Returns the returns the result of rawForward.
If this method is called more than once with the same input
parameter, during one iteration,
the result will be cached and the rawForward will be executed only once.
Performs the underlying forward pass.
Performs the underlying forward pass.