class
GreedyForwardLayer extends ForwardLayer
Instance Constructors
-
new
GreedyForwardLayer(parameters: ParameterCollection, inputSize: Int, isDual: Boolean, t2i: Map[String, Int], i2t: Array[String], H: Parameter, rootParam: Parameter, nonlinearity: Int, dropoutProb: Float)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
H: Parameter
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
dropoutProb: Float
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
forward(inputExpressions: ExpressionVector, headPositionsOpt: Option[IndexedSeq[Int]], doDropout: Boolean): ExpressionVector
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
i2t: Array[String]
-
def
inDim: Int
-
def
inference(emissionScores: Array[Array[Float]]): IndexedSeq[String]
-
def
inferenceWithScores(emissionScores: Array[Array[Float]]): IndexedSeq[IndexedSeq[(String, Float)]]
-
val
inputSize: Int
-
val
isDual: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
loss(finalStates: ExpressionVector, goldLabelStrings: IndexedSeq[String]): Expression
-
final
def
ne(arg0: AnyRef): Boolean
-
val
nonlinearity: Int
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
outDim: Int
-
val
parameters: ParameterCollection
-
val
rootParam: Parameter
-
def
saveX2i(printWriter: PrintWriter): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
val
t2i: Map[String, Int]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any