ONE - On-device Neural Engine
|
#include <TypeInfo.h>
Public Member Functions | |
TypeInfo ()=delete | |
TypeInfo (DataType type) | |
TypeInfo (DataType type, float scale, int32_t zero_point) | |
DataType | type () const |
float | scale () const |
const std::vector< float > & | scales () const |
int32_t | zero_point () const |
const std::vector< int32_t > & | zero_points () const |
const ir::Sparsity * | sparsity () const |
void | quantization (float scale, int32_t zero_point) |
void | quantization (std::vector< float > &&scales, std::vector< int32_t > &&zero_points) |
void | sparsity (std::shared_ptr< ir::Sparsity > sparsity) |
void | type (const DataType type) |
Definition at line 39 of file TypeInfo.h.
|
delete |
|
inlineexplicit |
Definition at line 44 of file TypeInfo.h.
|
inline |
Definition at line 46 of file TypeInfo.h.
References quantization(), scale(), and zero_point().
|
inline |
Definition at line 62 of file TypeInfo.h.
References scale(), onert::ir::Quantization::scales, zero_point(), and onert::ir::Quantization::zero_points.
Referenced by onert::loader::BaseLoader< LoaderDomain >::loadQuantization(), and TypeInfo().
|
inline |
Definition at line 69 of file TypeInfo.h.
References onert::ir::Quantization::scales, scales(), onert::ir::Quantization::zero_points, and zero_points().
|
inline |
Definition at line 53 of file TypeInfo.h.
References onert::ir::Quantization::scales.
Referenced by onert::backend::acl_common::asTensorInfo(), onert::backend::IPortableTensor::data_scale(), onert::ir::operator==(), quantization(), and TypeInfo().
|
inline |
Definition at line 54 of file TypeInfo.h.
References onert::ir::Quantization::scales.
Referenced by onert::backend::IPortableTensor::data_scales(), and quantization().
|
inline |
Definition at line 61 of file TypeInfo.h.
Referenced by onert::loader::BaseLoader< LoaderDomain >::loadSparsity(), and onert::backend::IPortableTensor::sparsity().
|
inline |
Definition at line 74 of file TypeInfo.h.
References sparsity().
Referenced by sparsity().
|
inline |
Definition at line 52 of file TypeInfo.h.
Referenced by onert::backend::acl_common::asPixelValue(), onert::backend::acl_common::asSet(), onert::backend::acl_common::asTensorInfo(), onert::backend::IPortableTensor::data_type(), onert::exec::SingleModelExecutors::execute(), onert::ir::Operand::operandSize(), onert::ir::operator==(), onert::ir::OperandInfo::total_size(), and onert::ir::OperandInfo::type().
|
inline |
Definition at line 77 of file TypeInfo.h.
References type().
Referenced by type().
|
inline |
Definition at line 55 of file TypeInfo.h.
References onert::ir::Quantization::zero_points.
Referenced by onert::backend::acl_common::asTensorInfo(), onert::backend::IPortableTensor::data_zero_point(), onert::ir::operator==(), quantization(), and TypeInfo().
|
inline |
Definition at line 60 of file TypeInfo.h.
References onert::ir::Quantization::zero_points.
Referenced by onert::backend::IPortableTensor::data_zero_points(), and quantization().