final case class Substract[Input0 <: Tape](operand1: Aux[Input0, Tape], operand2: Aux[Input0, Tape]) extends Binary with Product with Serializable
- Alphabetic
- By Inheritance
- Substract
- Serializable
- Serializable
- Product
- Equals
- Binary
- CumulativeLayer
- Layer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
-
trait
BinaryTape
extends ReferenceCount
- Attributes
- protected
- Definition Classes
- Binary
-
trait
MonoidTape
extends ReferenceCount
- Attributes
- protected
- Definition Classes
- CumulativeLayer
-
type
Output
= CumulativeTape.Self
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, thedelta
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
-
trait
ReferenceCount
extends Tape
- Attributes
- protected
- Definition Classes
- CumulativeLayer
-
trait
SemigroupTape
extends ReferenceCount
- Attributes
- protected
- Definition Classes
- CumulativeLayer
-
type
CumulativeTape = MonoidTape with IntMonoidTape with BinaryTape
- Definition Classes
- Substract → Binary → CumulativeLayer
- type Input = Input0
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Substract[Input0], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Substract[Input0]) ⇒ Boolean, msg: ⇒ Any): Substract[Input0]
- def ensuring(cond: (Substract[Input0]) ⇒ Boolean): Substract[Input0]
- def ensuring(cond: Boolean, msg: ⇒ Any): Substract[Input0]
- def ensuring(cond: Boolean): Substract[Input0]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
forward(input: Input): Output
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.- Definition Classes
- CumulativeLayer → Layer
-
final
def
getClass(): Class[_]
- 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
- val operand1: Aux[Input0, Tape]
- val operand2: Aux[Input0, Tape]
-
def
rawForward(input0: Input): CumulativeTape
Performs the underlying forward pass.
Performs the underlying forward pass.
- Attributes
- protected
- Definition Classes
- Substract → CumulativeLayer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
- def →[B](y: B): (Substract[Input0], B)