Packages

  • package root
    Definition Classes
    root
  • package epic

    Definition Classes
    root
  • package dense
    Definition Classes
    epic
  • case class OutputEmbeddingTransform [FV](numOutputs: Int, outputDim: Int, innerTransform: Transform[FV, DenseVector[Double]], coarsenerForInitialization: Option[(Int) ⇒ Int] = None) extends OutputTransform[FV, DenseVector[Double]] with Product with Serializable

    Output embedding technique described in section 6 of http://www.eecs.berkeley.edu/~gdurrett/papers/durrett-klein-acl2015.pdf Basically learns a dictionary for the output as well as an affine transformation in order to produce the vector that gets combined with the input in the final bilinear product.

    Output embedding technique described in section 6 of http://www.eecs.berkeley.edu/~gdurrett/papers/durrett-klein-acl2015.pdf Basically learns a dictionary for the output as well as an affine transformation in order to produce the vector that gets combined with the input in the final bilinear product.

    Definition Classes
    dense
  • OutputLayer

case class OutputLayer(embeddings: DenseMatrix[Double], bias: DenseVector[Double], innerLayer: Layer) extends OutputTransform.OutputLayer[FV, DenseVector[Double]] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, OutputTransform.OutputLayer[FV, DenseVector[Double]], Layer[FV, DenseVector[Double]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutputLayer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OutputLayer
  7. Layer
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OutputLayer(embeddings: DenseMatrix[Double], bias: DenseVector[Double], innerLayer: Layer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def activations(fv: FV): DenseVector[Double]
    Definition Classes
    OutputLayerOutputLayerLayer
  5. def activationsFromPenultimateDot(innerLayerActivations: DenseVector[Double], sparseIdx: Int): Double
    Definition Classes
    OutputLayerOutputLayer
  6. def activationsFromPenultimateDot(innerLayerActivations: DenseVector[Double], sparseFeatures: Array[Int]): Double
    Definition Classes
    OutputLayer
  7. def applyBatchNormalization(inputs: GenTraversable[FV]): Unit
    Definition Classes
    OutputLayerOutputLayerLayer
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val bias: DenseVector[Double]
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val embeddings: DenseMatrix[Double]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. val index: SegmentedIndex[Feature, Index[Feature]]
    Definition Classes
    OutputLayerOutputLayerLayer
  16. val innerLayer: Layer
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def tallyDerivative(deriv: DenseVector[Double], _scale: ⇒ Vector[Double], fv: FV): Unit
    Definition Classes
    OutputLayerOutputLayerLayer
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OutputTransform.OutputLayer[FV, DenseVector[Double]]

Inherited from Layer[FV, DenseVector[Double]]

Inherited from AnyRef

Inherited from Any

Ungrouped