case classCachingLookupAndAffineTransformDense[FV](numOutputs: Int, numInputs: Int, word2vecIndexed: Word2VecIndexed[String], includeBias: Boolean = true) extends Transform[Array[Int], DenseVector[Double]] with Product with Serializable
Used at the input layer to cache lookups and the result of applying
the affine transform at the first layer of the network. This saves
computation across repeated invocations of the neural network in
the sentence.
Linear Supertypes
Product, Equals, Transform[Array[Int], DenseVector[Double]], Serializable, Serializable, AnyRef, Any
case classLayer(weights: DenseMatrix[Double], bias: DenseVector[Double]) extends Transform.Layer[Array[Int], DenseVector[Double]] with Product with Serializable
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 defasInstanceOf[T0]: T0
Definition Classes
Any
defclipHiddenWeightVectors(weights: DenseVector[Double], norm: Double, outputLayer: Boolean): Unit
Used at the input layer to cache lookups and the result of applying the affine transform at the first layer of the network. This saves computation across repeated invocations of the neural network in the sentence.