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) }
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) }
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) }
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) }
Trainable
A namespace of common operators for Int layers.