source
espnet2.asr.state_spaces.s4.power(L, A, v=None)
Compute A^L and the scan sum_i A^i v_i.
A: (…, N, N) v: (…, N, L)