Skip to main content

SYMMETRIC_PRODUCT

Static SYMMETRIC_PRODUCT 

Source
pub static SYMMETRIC_PRODUCT: Prim
Expand description

alpha a a^T + beta c for each real a ([..., m, n]) and c ([..., m, m]) (Params::SymmetricProduct), as JAX’s symmetric_product_p: the whole matrix, as JAX computes it on CPU (on GPU, where JAX calls cuBLAS’s syrk, only the lower triangle is guaranteed, as in JAX). Not differentiable, as in JAX.