ONE - On-device Neural Engine
|
#include <TensorType.h>
Public Member Functions | |
TensorType ()=default | |
TensorType (DataType element_type, const Shape &shape) | |
TensorType (DataType element_type, const Shape &shape, const AffineQuantization &quant) | |
DataType | getElementType () const |
const Shape & | getShape () const |
const AffineQuantization & | getQuantization () const |
void | setQuantization (const AffineQuantization &quant) |
bool | isQuantized () const |
Definition at line 27 of file TensorType.h.
|
default |
Definition at line 32 of file TensorType.h.
|
inline |
Definition at line 36 of file TensorType.h.
|
inline |
Definition at line 41 of file TensorType.h.
Referenced by mir_interpreter::Dequantize(), mir::TensorVariant::getDataType(), mir::TensorVariant::getElementType(), and mir::Operation::Output::setShape().
|
inline |
Definition at line 45 of file TensorType.h.
Referenced by mir_interpreter::Dequantize().
|
inline |
Definition at line 43 of file TensorType.h.
Referenced by mir::TensorVariant::getShape().
|
inline |
Definition at line 47 of file TensorType.h.
References mir::AffineQuantization::empty().
Referenced by mir_interpreter::Dequantize().
|
inline |
Definition at line 46 of file TensorType.h.
Referenced by nnc::ConstantFoldTranspose::run(), and mir::transposeTensor().