c
org.platanios.tensorflow.api.ops.rnn.attention
AttentionWrapperCell
Companion object AttentionWrapperCell
class AttentionWrapperCell[T, CellState, AttentionState, CellStateShape, AttentionStateShape] extends RNNCell[Output[T], AttentionWrapperState[T, CellState, AttentionState], core.Shape, (CellStateShape, core.Shape, core.Shape, Seq[core.Shape], Seq[core.Shape], Seq[StateShape[AttentionStateShape]])]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AttentionWrapperCell
- RNNCell
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def apply(input: Tuple[Output[T], AttentionWrapperState[T, CellState, AttentionState]]): Tuple[Output[T], AttentionWrapperState[T, CellState, AttentionState]]
- Definition Classes
- RNNCell
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attentionLayerWeights: Seq[Output[T]]
- val attentions: Seq[(Memory[T], Attention[T, AttentionState, AttentionStateShape])]
- val cell: RNNCell[Output[T], CellState, core.Shape, CellStateShape]
- val cellInputFn: (Output[T], Output[T]) => Output[T]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val evOutputToShapeOut: Aux[Output[T], core.Shape]
- Definition Classes
- RNNCell
- implicit val evOutputToShapeState: Aux[AttentionWrapperState[T, CellState, AttentionState], (CellStateShape, core.Shape, core.Shape, Seq[core.Shape], Seq[core.Shape], Seq[StateShape[AttentionStateShape]])]
- Definition Classes
- RNNCell
- def forward(input: Tuple[Output[T], AttentionWrapperState[T, CellState, AttentionState]]): Tuple[Output[T], AttentionWrapperState[T, CellState, AttentionState]]
- Definition Classes
- AttentionWrapperCell → RNNCell
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def initialState(initialCellState: CellState): AttentionWrapperState[T, CellState, AttentionState]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val outputAttention: Boolean
- def outputShape: core.Shape
- Definition Classes
- AttentionWrapperCell → RNNCell
- def stateShape: (CellStateShape, core.Shape, core.Shape, Seq[core.Shape], Seq[core.Shape], Seq[StateShape[AttentionStateShape]])
- Definition Classes
- AttentionWrapperCell → RNNCell
- val storeAlignmentsHistory: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def zeroOutput(batchSize: Output[Int], name: String = "ZeroOutput")(implicit evZero: Aux[Output[T], core.Shape]): Output[T]
- Definition Classes
- RNNCell
- def zeroState(batchSize: Output[Int], name: String = "ZeroState")(implicit evZero: Aux[AttentionWrapperState[T, CellState, AttentionState], (CellStateShape, core.Shape, core.Shape, Seq[core.Shape], Seq[core.Shape], Seq[StateShape[AttentionStateShape]])]): AttentionWrapperState[T, CellState, AttentionState]
- Definition Classes
- RNNCell