Type

com.thoughtworks.deeplearning.CumulativeLayer

Output

Related Doc: package CumulativeLayer

Permalink

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
CumulativeLayerLayer
Linear Supertypes
Tape, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Output
  2. Tape
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Data <: ReferenceCount._724.type.Data

    Permalink

    Type of the result of forward pass.

    Type of the result of forward pass.

    Definition Classes
    <refinement> → Tape
    See also

    value

  2. abstract type Delta >: ReferenceCount._724.type.Delta

    Permalink

    Type of the information passing in backward pass, usually the partial derivative of Data.

    Type of the information passing in backward pass, usually the partial derivative of Data.

    Definition Classes
    <refinement> → Tape
    See also

    backward

Abstract Value Members

  1. abstract def close(): Unit

    Permalink
    Definition Classes
    AutoCloseable
    Annotations
    @throws( classOf[java.lang.Exception] )
  2. abstract def duplicate(): Aux[Layer.Tape.Data, Layer.Tape.Delta]

    Permalink

    Returns a new Tape that shares the same value and backward behavior with this Tape.

    Returns a new Tape that shares the same value and backward behavior with this Tape.

    Definition Classes
    Tape
    Note

    The newly created Tape and this Tape must be closed independently.

  3. abstract def forceBackward(delta: Layer.Tape.Delta): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Tape
  4. abstract def isTrainable: Boolean

    Permalink
    Definition Classes
    Tape
  5. abstract def value: Layer.Tape.Data

    Permalink

    Value of the result of forward pass.

    Value of the result of forward pass.

    Definition Classes
    Tape
    See also

    Data

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def backward(delta: ⇒ Layer.Tape.Delta): Unit

    Permalink

    invoke forceBackward if isTrainable is true

    invoke forceBackward if isTrainable is true

    Definition Classes
    Tape
    Annotations
    @inline()
    See also

    Delta

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Tape

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped