c
org.platanios.tensorflow.api.ops.seq2seq.decoders
BeamSearchDecoder
Companion object BeamSearchDecoder
class BeamSearchDecoder[T, State, StateShape] extends Decoder[Output[T], State, BeamSearchDecoderOutput, BeamSearchDecoderState[State], BeamSearchFinalOutput, BeamSearchDecoderState[State], core.Shape, StateShape, (core.Shape, core.Shape, core.Shape), (StateShape, core.Shape, core.Shape, core.Shape)]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BeamSearchDecoder
- Decoder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BeamSearchDecoder(cell: RNNCell[Output[T], State, core.Shape, StateShape], initialCellState: State, embeddingFn: (Output[Int]) ⇒ Output[T], beginTokens: Output[Int], endToken: Output[Int], beamWidth: Int, lengthPenalty: LengthPenalty = NoPenalty, outputLayer: (Output[T]) ⇒ Output[T] = (o: Output[T]) => o, reorderTensorArrays: Boolean = true, name: String = "BeamSearchRNNDecoder")(implicit arg0: core.types.TF[T], arg1: OutputStructure[State], evOutputToShapeState: Aux[State, StateShape])
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
batchSize: Output[Int]
- Definition Classes
- BeamSearchDecoder → Decoder
- val beamWidth: Int
- val beginTokens: Output[Int]
-
val
cell: RNNCell[Output[T], State, core.Shape, StateShape]
- Definition Classes
- BeamSearchDecoder → Decoder
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
decode(outputTimeMajor: Boolean = false, imputeFinished: Boolean = false, maximumIterations: Output[Int] = null, parallelIterations: Int = 32, swapMemory: Boolean = false, name: String = s"$name/DynamicRNNDecode"): (BeamSearchFinalOutput, BeamSearchDecoderState[State], Output[Int])
- Definition Classes
- Decoder
- val embeddingFn: (Output[Int]) ⇒ Output[T]
- val endToken: Output[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(output: BeamSearchDecoderOutput, state: BeamSearchDecoderState[State], sequenceLengths: Output[Int]): (BeamSearchFinalOutput, BeamSearchDecoderState[State], Output[Int])
- Definition Classes
- BeamSearchDecoder → Decoder
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val initialCellState: State
-
def
initialize(): (Output[Boolean], Output[T], BeamSearchDecoderState[State])
- Definition Classes
- BeamSearchDecoder → Decoder
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lengthPenalty: LengthPenalty
-
val
name: String
- Definition Classes
- BeamSearchDecoder → Decoder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
next(time: Output[Int], input: Output[T], state: BeamSearchDecoderState[State]): (BeamSearchDecoderOutput, BeamSearchDecoderState[State], Output[T], Output[Boolean])
- Definition Classes
- BeamSearchDecoder → Decoder
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outputLayer: (Output[T]) ⇒ Output[T]
- val reorderTensorArrays: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
tracksOwnFinished: Boolean
- Definition Classes
- BeamSearchDecoder → Decoder
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
zeroOutput: BeamSearchDecoderOutput
- Definition Classes
- BeamSearchDecoder → Decoder