object DifferentiableInt
A namespace of common operators for Int layers.
Author:
杨博 (Yang Bo) <[email protected]>
- Alphabetic
- By Inheritance
- DifferentiableInt
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit final class ScalaIntOps extends AnyRef
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
-
implicit
def
Int*Int[Input <: Tape]: Aux[Aux[Input, Tape], Aux[Input, Tape], Aux[Input, Tape]]
Returns a Poly.MathMethods.*.Case that accepts two Int Layers.
Returns a Poly.MathMethods.*.Case that accepts two Int Layers.
The returned
Case
is used by the polymorphic function Poly.MathMethods.*, which is called in MathOps.import com.thoughtworks.deeplearning.DifferentiableInt._ import com.thoughtworks.deeplearning.Symbolic def myNetwork(implicit inputIntLayer: Int @Symbolic)(anotherIntLayer: Int @Symbolic) = { Poly.MathMethods.*(inputIntLayer,anotherIntLayer) }
Example: -
implicit
def
Int+Int[Input <: Tape]: Aux[Aux[Input, Tape], Aux[Input, Tape], Aux[Input, Tape]]
Returns a Poly.MathMethods.+.Case that accepts two Int Layers.
Returns a Poly.MathMethods.+.Case that accepts two Int Layers.
The returned
Case
is used by the polymorphic function Poly.MathMethods.+, which is called in MathOps.import com.thoughtworks.deeplearning.DifferentiableInt._ import com.thoughtworks.deeplearning.Symbolic def myNetwork(implicit inputIntLayer: Int @Symbolic)(anotherIntLayer: Int @Symbolic) = { Poly.MathMethods.+(inputIntLayer,anotherIntLayer) }
Example: -
implicit
def
Int-Int[Input <: Tape]: Aux[Aux[Input, Tape], Aux[Input, Tape], Aux[Input, Tape]]
Returns a Poly.MathMethods.-.Case that accepts two Int Layers.
Returns a Poly.MathMethods.-.Case that accepts two Int Layers.
The returned
Case
is used by the polymorphic function Poly.MathMethods.-, which is called in MathOps.import com.thoughtworks.deeplearning.DifferentiableInt._ import com.thoughtworks.deeplearning.Symbolic def myNetwork(implicit inputIntLayer: Int @Symbolic)(anotherIntLayer: Int @Symbolic) = { Poly.MathMethods.-(inputIntLayer,anotherIntLayer) }
Example: -
implicit
def
Int/Int[Input <: Tape]: Aux[Aux[Input, Tape], Aux[Input, Tape], Aux[Input, Tape]]
Returns a Poly.MathMethods./.Case that accepts two Int Layers.
Returns a Poly.MathMethods./.Case that accepts two Int Layers.
The returned
Case
is used by the polymorphic function Poly.MathMethods./, which is called in MathOps.import com.thoughtworks.deeplearning.DifferentiableInt._ import com.thoughtworks.deeplearning.Symbolic def myNetwork(implicit inputIntLayer: Int @Symbolic)(anotherIntLayer: Int @Symbolic) = { Poly.MathMethods./(inputIntLayer,anotherIntLayer) }
Example: - val Optimizers: DifferentiableDouble.Optimizers.type
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- implicit def intToLiteral: Aux[Int, Int, Float]
-
implicit
def
intTrainable: Trainable[Int, Float]
- See also
-
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( ... )
- object Layers