espnet2.asr.state_spaces.s4.nplr
Less than 1 minute
espnet2.asr.state_spaces.s4.nplr
espnet2.asr.state_spaces.s4.nplr(measure, N, rank=1, dtype=torch.float32, diagonalize_precision=True)
Decompose as Normal Plus Low-Rank (NPLR).
Return w, p, q, V, B such that (w - p q^*, B) is unitarily equivalent to the original HiPPO A, B by the matrix V i.e. A = V[w - p q*]V*, B = V B