Attention

scalation.modeling.forecasting.neuralforecasting.Attention
See theAttention companion trait
object Attention

The Attention object contains sample a input matrix from

Attributes

See also

https://sebastianraschka.com/blog/2023/self-attention-from-scratch.html The example is from 6 words with 16 dimensional encoding.

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Attention.type

Members list

Value members

Concrete fields

val m: Int
val n: Int
val x: MatrixD