HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sparse_tensor.h File Reference
+ Include dependency graph for sparse_tensor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  onnxruntime::SparseTensor
 This class implements SparseTensor. This class holds sparse non-zero data (values) and sparse format specific indices. There are two main uses for the class (similar to that of Tensor) More...
 
class  onnxruntime::SparseTensor::CooView
 Read only access to Coo indices More...
 
class  onnxruntime::SparseTensor::CooMutator
 Gives mutable access to Coo buffers so they can be populated More...
 
class  onnxruntime::SparseTensor::CsrView
 Read only access to Csr indices More...
 
class  onnxruntime::SparseTensor::CsrMutator
 Give writable access to Csr values and indices More...
 
class  onnxruntime::SparseTensor::BlockSparseView
 Read only access to BlockSparse index More...
 
class  onnxruntime::SparseTensor::BlockSparseMutator
 Mutable data access More...
 

Namespaces

 onnxruntime
 

Enumerations

enum  onnxruntime::SparseFormat : uint32_t { onnxruntime::SparseFormat::kUndefined = 0x0U, onnxruntime::SparseFormat::kCoo = 0x1U, onnxruntime::SparseFormat::kCsrc = 0x1U << 1, onnxruntime::SparseFormat::kBlockSparse = 0x1U << 2 }
 This is a Sparse Format enumeration. More...
 

Functions

std::ostream & onnxruntime::operator<< (std::ostream &, SparseFormat)