final case class If[Input0 <: Batch, OutputData0, OutputDelta0](condition: Aux[Input0, Batch], then: Aux[Input0, Aux[OutputData0, OutputDelta0]], else: Aux[Input0, Aux[OutputData0, OutputDelta0]]) extends Layer with Product with Serializable
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- If
- Serializable
- Serializable
- Product
- Equals
- Layer
- AnyRef
- Any
Implicitly
- by toBooleanLayerOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Type Members
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): (If[Input0, OutputData0, OutputDelta0], 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( ... )
- val condition: Aux[Input0, Batch]
- val else: Aux[Input0, Aux[OutputData0, OutputDelta0]]
- def ensuring(cond: (If[Input0, OutputData0, OutputDelta0]) ⇒ Boolean, msg: ⇒ Any): If[Input0, OutputData0, OutputDelta0]
- def ensuring(cond: (If[Input0, OutputData0, OutputDelta0]) ⇒ Boolean): If[Input0, OutputData0, OutputDelta0]
- def ensuring(cond: Boolean, msg: ⇒ Any): If[Input0, OutputData0, OutputDelta0]
- def ensuring(cond: Boolean): If[Input0, OutputData0, OutputDelta0]
-
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
- def forward(input: Input0): (Layer { ... /* 2 definitions in type refinement */ })#Output
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
if[Then, Else, ThenOutputData, ThenOutputDelta, ElseOutputData, ElseOutputDelta, NN, OutputData, OutputDelta](then: Then)(else: Else)(implicit thenToLayer: Aux[Then, Input, ThenOutputData, ThenOutputDelta], elseToLayer: Aux[Else, Input, ElseOutputData, ElseOutputDelta], lub: Lub[Aux[Input, Aux[ThenOutputData, ThenOutputDelta]], Aux[Input, Aux[ElseOutputData, ElseOutputDelta]], NN], commonToLayer: Aux[NN, Input, OutputData, OutputDelta]): Aux[Input, Aux[OutputData, OutputDelta]]
- Implicit
- This member is added by an implicit conversion from If[Input0, OutputData0, OutputDelta0] to BooleanLayerOps[Input] performed by method toBooleanLayerOps in com.thoughtworks.deeplearning.DifferentiableBoolean. This conversion will take place only if an implicit value of type OfType[If[Input0, OutputData0, OutputDelta0], Input, BooleanPlaceholder] is in scope.
- Definition Classes
- BooleanLayerOps
-
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
- val then: Aux[Input0, Aux[OutputData0, OutputDelta0]]
-
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): (If[Input0, OutputData0, OutputDelta0], B)