computeattention.Rd
Compute global attention weights and context vectors for time series
computeattention(series)
List containing:
n × n matrix where entry (i,j) represents the attention weight of time j on time i. Only entries j <= i are non-zero (causal attention).
Vector of length n where each entry i is the weighted sum of all values up to time i, using the attention weights.