Skip to main content

SVD

Static SVD 

Source
pub static SVD: Prim
Expand description

The singular value decomposition of each matrix (Params::Svd): the singular values s in descending order, and with compute_uv, u and vt (a = u diag(s) vt), as JAX’s svd_p. With subset_by_index (not with full_matrices), the singular values of that range of indices and their vectors (computed from the whole decomposition; JAX supports it on TPU only).