ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::DimMetaData Class Reference

#include <SparsityParam.h>

Public Member Functions

 DimMetaData ()=delete
 
 DimMetaData (DimensionType format, int32_t dense_size)
 
 DimMetaData (DimensionType format, int32_t dense_size, const SparseIndexVector &array_segments, const SparseIndexVector &array_indices)
 
DimensionType format (void) const
 
int32_t dense_size (void) const
 
const SparseIndexVectorarray_segments (void) const
 
const SparseIndexVectorarray_indices (void) const
 

Detailed Description

Definition at line 195 of file SparsityParam.h.

Constructor & Destructor Documentation

◆ DimMetaData() [1/3]

luci::DimMetaData::DimMetaData ( )
delete

◆ DimMetaData() [2/3]

luci::DimMetaData::DimMetaData ( DimensionType  format,
int32_t  dense_size 
)
inline

Definition at line 199 of file SparsityParam.h.

199 : _format{format}, _dense_size{dense_size}
200 {
201 // DO NOTHING
202 }
DimensionType format(void) const
int32_t dense_size(void) const

◆ DimMetaData() [3/3]

luci::DimMetaData::DimMetaData ( DimensionType  format,
int32_t  dense_size,
const SparseIndexVector array_segments,
const SparseIndexVector array_indices 
)
inline

Definition at line 203 of file SparsityParam.h.

205 : _format{format}, _dense_size{dense_size}, _array_segments{array_segments},
206 _array_indices{array_indices}
207 {
208 // DO NOTHING
209 }
const SparseIndexVector & array_indices(void) const
const SparseIndexVector & array_segments(void) const

Member Function Documentation

◆ array_indices()

const SparseIndexVector & luci::DimMetaData::array_indices ( void  ) const
inline

Definition at line 215 of file SparsityParam.h.

215{ return _array_indices; }

◆ array_segments()

const SparseIndexVector & luci::DimMetaData::array_segments ( void  ) const
inline

Definition at line 214 of file SparsityParam.h.

214{ return _array_segments; }

◆ dense_size()

int32_t luci::DimMetaData::dense_size ( void  ) const
inline

Definition at line 213 of file SparsityParam.h.

213{ return _dense_size; }

◆ format()

DimensionType luci::DimMetaData::format ( void  ) const
inline

Definition at line 212 of file SparsityParam.h.

212{ return _format; }

The documentation for this class was generated from the following file: