ONE - On-device Neural Engine
|
#include <TransposeLayer.h>
Public Member Functions | |
TransposeLayer () | |
template<typename T > | |
void | transpose () |
void | transposeQuant8 () |
void | configure (const IPortableTensor *input, const IPortableTensor *perm, IPortableTensor *output) |
void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 33 of file TransposeLayer.h.
onert::backend::cpu::ops::TransposeLayer::TransposeLayer | ( | ) |
Definition at line 33 of file TransposeLayer.cc.
void onert::backend::cpu::ops::TransposeLayer::configure | ( | const IPortableTensor * | input, |
const IPortableTensor * | perm, | ||
IPortableTensor * | output | ||
) |
Definition at line 80 of file TransposeLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 88 of file TransposeLayer.cc.
References onert::backend::IPortableTensor::data_type(), and transposeQuant8().
Referenced by package.infer.session::inference().
void onert::backend::cpu::ops::TransposeLayer::transpose | ( | ) |
Definition at line 38 of file TransposeLayer.cc.
References begin, onert::backend::IPortableTensor::getShape(), onert::backend::cpu::ops::getShape(), nnfw::cker::TransposeParams::perm, nnfw::cker::TransposeParams::perm_count, and nnfw::cker::Transpose().
void onert::backend::cpu::ops::TransposeLayer::transposeQuant8 | ( | ) |
Definition at line 65 of file TransposeLayer.cc.
References onert::backend::IPortableTensor::data_scale(), and onert::backend::IPortableTensor::data_zero_point().
Referenced by run().