c
org.platanios.tensorflow.api.ops.rnn.attention
BahdanauAttention
Companion object BahdanauAttention
class BahdanauAttention[T] extends SimpleAttention[T]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BahdanauAttention
- SimpleAttention
- Attention
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BahdanauAttention(memory: Output[T], memoryWeights: Output[T], queryWeights: Output[T], scoreWeights: Output[T], probabilityFn: (Output[T]) ⇒ Output[T], memorySequenceLengths: Output[Int] = null, normalizationFactor: Output[T] = null, normalizationBias: Output[T] = null, scoreMaskValue: Output[Float] = Float.MinValue, name: String = "BahdanauAttention")(implicit arg0: core.types.TF[T], arg1: core.types.IsDecimal[T])
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
alignment(query: Output[T], previousState: Output[T]): (Output[T], Output[T])
- Definition Classes
- SimpleAttention → Attention
-
lazy val
alignmentSize: Output[Int]
- Definition Classes
- Attention
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
lazy val
batchSize: Output[Int]
- Definition Classes
- Attention
-
val
checkInnerDimensionsDefined: Boolean
- Definition Classes
- SimpleAttention → Attention
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
dataType: core.types.DataType[T]
- Definition Classes
- Attention
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
lazy val
initialAlignment: Output[T]
- Definition Classes
- Attention
-
def
initialState: Output[T]
- Definition Classes
- SimpleAttention → Attention
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
keys: Output[T]
- Definition Classes
- BahdanauAttention → Attention
-
val
memory: Output[T]
- Attributes
- protected
- Definition Classes
- BahdanauAttention → SimpleAttention → Attention
-
val
memorySequenceLengths: Output[Int]
- Attributes
- protected
- Definition Classes
- BahdanauAttention → SimpleAttention → Attention
-
val
memoryWeights: Output[T]
- Attributes
- protected
-
val
name: String
- Definition Classes
- BahdanauAttention → SimpleAttention → Attention
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
normalizationBias: Output[T]
- Attributes
- protected
-
val
normalizationFactor: Output[T]
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
probability(score: Output[T], previousAlignment: Output[T]): Output[T]
- Attributes
- protected
- Definition Classes
- BahdanauAttention → Attention
-
val
probabilityFn: (Output[T]) ⇒ Output[T]
- Attributes
- protected
-
val
queryWeights: Output[T]
- Attributes
- protected
-
def
score(query: Output[T], previousAlignment: Output[T]): Output[T]
- Attributes
- protected
- Definition Classes
- BahdanauAttention → Attention
- Annotations
- @throws( ... )
-
val
scoreMaskValue: Output[Float]
- Definition Classes
- BahdanauAttention → SimpleAttention → Attention
-
val
scoreWeights: Output[T]
- Attributes
- protected
-
def
stateSize: core.Shape
- Definition Classes
- SimpleAttention → Attention
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
values: Output[T]
- Definition Classes
- Attention
-
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( ... )