Skip to main content

Module tensor_sparse

Module tensor_sparse 

Source
Expand description

Tensor-based sparse operations

This module provides operations for sparse tensors (multi-dimensional sparse arrays):

  • Sparse tensor construction and manipulation
  • Tensor contractions and products
  • Mode-n unfolding and folding
  • Tucker and CP decompositions

Structs§

CPDecomposition
CP (CANDECOMP/PARAFAC) decomposition result
SparseTensor
Sparse tensor in COO (coordinate) format
TuckerDecomposition
Tucker decomposition result

Functions§

khatri_rao_product
Compute Khatri-Rao product of two matrices