org
.
platanios
.
tensorflow
.
api
.
ops
.
rnn
attention
package
attention
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
attention
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
abstract
class
Attention
[
AS
,
ASS
]
extends
AnyRef
class
AttentionWrapperCell
[
S
,
SS
,
AS
,
ASS
]
extends
RNNCell
[
Output
,
core.Shape
,
AttentionWrapperState
[
S
,
SS
,
Seq
[
AS
],
Seq
[
ASS
]], (
SS
,
core.Shape
,
core.Shape
,
Seq
[
core.Shape
],
Seq
[
core.Shape
],
Seq
[
ASS
])]
case class
AttentionWrapperState
[
S
,
SS
,
AS
,
ASS
]
(
cellState:
S
,
time:
Output
,
attention:
Output
,
alignments:
Seq
[
Output
]
,
alignmentsHistory:
Seq
[
TensorArray
]
,
attentionState:
AS
)
(
implicit
evS:
Aux
[
S
,
SS
]
,
evAS:
Aux
[
AS
,
ASS
]
)
extends
Product
with
Serializable
class
BahdanauAttention
extends
SimpleAttention
class
LuongAttention
extends
SimpleAttention
abstract
class
SimpleAttention
extends
Attention
[
Output
,
core.Shape
]
Value Members
object
Attention
object
AttentionWrapperCell
object
AttentionWrapperState
extends
Serializable
object
BahdanauAttention
object
LuongAttention
Inherited from
AnyRef
Inherited from
Any
Ungrouped