ONE - On-device Neural Engine
|
#include <ConcatLayer.h>
Public Member Functions | |
ConcatLayer () | |
template<typename T > | |
void | concatenationGeneral () |
void | concatenationQuant8 () |
void | configure (const std::vector< const IPortableTensor * > &inputs, int32_t axis, 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 ConcatLayer.h.
onert::backend::cpu::ops::ConcatLayer::ConcatLayer | ( | ) |
Definition at line 32 of file ConcatLayer.cc.
void onert::backend::cpu::ops::ConcatLayer::concatenationGeneral | ( | ) |
Definition at line 37 of file ConcatLayer.cc.
References nnfw::cker::ConcatenationParams::axis, onert::backend::cpu::ops::getShape(), and nnfw::cker::ConcatenationParams::inputs_count.
void onert::backend::cpu::ops::ConcatLayer::concatenationQuant8 | ( | ) |
Definition at line 66 of file ConcatLayer.cc.
References nnfw::cker::ConcatenationParams::axis, nnfw::cker::ConcatenationWithScaling(), onert::backend::IPortableTensor::data_scale(), onert::backend::IPortableTensor::data_zero_point(), onert::backend::cpu::ops::getShape(), nnfw::cker::ConcatenationParams::input_scale, nnfw::cker::ConcatenationParams::input_zeropoint, nnfw::cker::ConcatenationParams::inputs_count, nnfw::cker::ConcatenationParams::output_scale, and nnfw::cker::ConcatenationParams::output_zeropoint.
Referenced by run().
void onert::backend::cpu::ops::ConcatLayer::configure | ( | const std::vector< const IPortableTensor * > & | inputs, |
int32_t | axis, | ||
IPortableTensor * | output | ||
) |
Definition at line 106 of file ConcatLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 117 of file ConcatLayer.cc.
References concatenationQuant8(), and onert::backend::IPortableTensor::data_type().
Referenced by package.infer.session::inference().