type Output = CumulativeTape.Self
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.
- Definition Classes
- CumulativeLayer → Layer
- Alphabetic
- By Inheritance
- Output
- Tape
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
-
abstract
def
close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws( classOf[java.lang.Exception] )
-
abstract
def
duplicate(): Aux[Layer.Tape.Data, Layer.Tape.Delta]
Returns a new Tape that shares the same value and backward behavior with this
Tape
. -
abstract
def
forceBackward(delta: Layer.Tape.Delta): Unit
- Attributes
- protected
- Definition Classes
- Tape
-
abstract
def
isTrainable: Boolean
- Definition Classes
- Tape
-
abstract
def
value: Layer.Tape.Data
Value of the result of forward pass.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
backward(delta: ⇒ Layer.Tape.Delta): Unit
invoke
forceBackward
if isTrainable istrue
invoke
forceBackward
if isTrainable istrue
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )