SparseOps

Helpers & Utilities · AiDotNet.Tensors.LinearAlgebra.Sparse

No summary documentation available yet.

Methods

Method Summary
SparseTensor<T> SparseLogSoftmax(SparseTensor<T> a)
SparseTensor<T> SparseMask(Tensor<T> dense, SparseTensor<T> mask)
SparseTensor<T> SparseSampledAddMM(SparseTensor<T> pattern, Tensor<T> a, Tensor<T> b, Tensor<T> c, T alpha, T beta)
SparseTensor<T> SparseSoftmax(SparseTensor<T> a)
SparseTensor<T> SparseSpDiags(Tensor<T> diagonals, int[] offsets, int rows, int cols)
SparseTensor<T> SparseSpGeMM(SparseTensor<T> a, SparseTensor<T> b)
T[] SDDMM(int[] rowIndices, int[] colIndices, Tensor<T> x, Tensor<T> y)
Tensor<T> SparseAddMM(Tensor<T> c, SparseTensor<T> a, Tensor<T> b, T alpha, T beta)
Tensor<T> SparseBmm(SparseTensor<T>[] batchSparse, Tensor<T> denseBatch)
Tensor<T> SparseMatMul(SparseTensor<T> a, Tensor<T> b)
Tensor<T> SparseMean(SparseTensor<T> a, int? axis)
Tensor<T> SparseSpMV(SparseTensor<T> a, Tensor<T> x)
Tensor<T> SparseSum(SparseTensor<T> a, int? axis)