Packages

abstract class SimpleAttention[T] extends Attention[T, Output[T], core.Shape]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleAttention
  2. Attention
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SimpleAttention(memorySize: Output[Int], scoreMaskValue: Output[Float] = Float.MinValue, name: String = "SimpleAttention")(implicit arg0: core.types.TF[T], arg1: core.types.IsDecimal[T])

Abstract Value Members

  1. abstract def keys(memory: Memory[T], values: Output[T]): Output[T]
    Attributes
    protected
  2. abstract def keysShape(valuesShape: core.Shape): core.Shape
    Definition Classes
    Attention
  3. abstract def score(query: Output[T], state: State[T, Output[T]]): Output[T]
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alignment(query: Output[T], previousState: State[T, Output[T]]): (Output[T], State[T, Output[T]])
    Definition Classes
    SimpleAttentionAttention
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def initialAlignment(batchSize: Output[Int]): Output[T]
    Definition Classes
    Attention
  12. def initialState(batchSize: Output[Int], memory: Memory[T]): State[T, Output[T]]
    Definition Classes
    SimpleAttentionAttention
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val memorySize: Output[Int]
    Definition Classes
    SimpleAttentionAttention
  15. val name: String
    Definition Classes
    SimpleAttentionAttention
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def probability(score: Output[T], state: State[T, Output[T]]): Output[T]
    Attributes
    protected
  20. val scoreMaskValue: Output[Float]
  21. def stateShape: core.Shape
    Definition Classes
    SimpleAttentionAttention
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def values(memory: Memory[T]): Output[T]
    Attributes
    protected
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Attention[T, Output[T], core.Shape]

Inherited from AnyRef

Inherited from Any

Ungrouped