liveBook · Manning

Jax.experimental.sparse

As explained in Deep Learning with JAX

JAX’s experimental module for sparse tensor and sparse matrix operations.

Sparse tensors suit data containing many zeros: they store only nonzero values, potentially reducing memory use. jax.experimental.sparse provides experimental support for sparse tensors and sparse matrix operations, but its interface may change. section 3.3.2

Use sparse representations when:

  • A tensor contains many zero-valued elements and relatively few nonzero ones. section 3.3.2
  • Specialized sparse linear algebra routines can exploit that structure efficiently. section 3.3.2

How Deep Learning with JAX covers it

How deep it goes
Introduces the purpose and location of the experimental API but deliberately stops short of discussing its interface or operations.
How it connects
Connects sparse tensors with sparse matrix operations, dense tensors, and specialized linear algebra routines.

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with JAX. The section links point to the parts of the book it draws on.