org
.
platanios
.
tensorflow
.
api
.
ops
.
rnn
.
attention
Attention
Related Docs:
object Attention
|
package attention
abstract
class
Attention
[
AS
,
ASS
]
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
BahdanauAttention
,
LuongAttention
,
SimpleAttention
Ordering
Alphabetic
By Inheritance
Inherited
Attention
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Attention
(
memory:
Output
,
memorySequenceLengths:
Output
=
null
,
checkInnerDimensionsDefined:
Boolean
=
true
,
scoreMaskValue:
Output
=
Float.NegativeInfinity
,
name:
String
=
"Attention"
)
(
implicit
evAS:
Aux
[
AS
,
ASS
]
)
Abstract Value Members
abstract
def
alignment
(
query:
Output
,
previousState:
AS
)
: (
Output
,
AS
)
abstract
def
initialState
:
AS
abstract
def
score
(
query:
Output
,
state:
AS
)
:
Output
Attributes
protected
abstract
def
stateSize
:
ASS
Concrete 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
lazy val
alignmentSize
:
Output
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
batchSize
:
Output
val
checkInnerDimensionsDefined
:
Boolean
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
lazy val
dataType
:
types.DataType
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
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
lazy val
initialAlignment
:
Output
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
lazy val
keys
:
Output
val
memory
:
Output
Attributes
protected
val
memorySequenceLengths
:
Output
Attributes
protected
val
name
:
String
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
probability
(
score:
Output
,
state:
AS
)
:
Output
Attributes
protected
val
scoreMaskValue
:
Output
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
lazy val
values
:
Output
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
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped