object DifferentiableCoproduct
A namespace of common operators for Coproduct layers.
After importing DifferentiableCoproduct._
, the following methods will be available on Coproduct layers.
Author:
杨博 (Yang Bo) <[email protected]>
- Alphabetic
- By Inheritance
- DifferentiableCoproduct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
class
CConsLayerOps
[Input <: Tape, HeadData, HeadDelta, TailData <: Coproduct, TailDelta <: Coproduct] extends AnyRef
A helper that contains common boilerplate code for all Coproduct layers.
A helper that contains common boilerplate code for all Coproduct layers.
import com.thoughtworks.deeplearning.DifferentiableCoproduct._
Example:
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
- implicit def cconsToLiteral[Head, HeadData, HeadDelta, Tail <: Coproduct, TailData <: Coproduct, TailDelta <: Coproduct](implicit headToLiteral: Lazy[Aux[Head, HeadData, HeadDelta]], tailToLiteral: Lazy[Aux[Tail, TailData, TailDelta]]): Aux[:+:[Head, Tail], :+:[HeadData, TailData], :+:[HeadDelta, TailDelta]]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- implicit def cnilToLiteral: Aux[CNil, CNil, CNil]
-
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
-
implicit
def
toCConsLayerOps[From, Input <: Tape, OutputData, OutputDelta, HeadData, HeadDelta, TailData <: Coproduct, TailDelta <: Coproduct](from: From)(implicit toLayer: Aux[From, Input, OutputData, OutputDelta], toCoproductLayer: <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[:+:[HeadData, TailData], :+:[HeadDelta, TailDelta]]]]): CConsLayerOps[Input, HeadData, HeadDelta, TailData, TailDelta]
Implicitly converts any layer to CConsLayerOps, which enables common methods for CConsLayerOps layers.
Implicitly converts any layer to CConsLayerOps, which enables common methods for CConsLayerOps layers.
import com.thoughtworks.deeplearning.DifferentiableCoproduct._
Example: -
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( ... )
- object Layers