ONE - On-device Neural Engine
|
#include <SplitLayer.h>
Public Member Functions | |
SplitLayer () | |
template<typename T > | |
void | split (void) |
void | configure (const IPortableTensor *input, const IPortableTensor *axis, uint16_t num_splits, std::vector< IPortableTensor * > &outputs) |
void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 33 of file SplitLayer.h.
onert::backend::cpu::ops::SplitLayer::SplitLayer | ( | ) |
Definition at line 32 of file SplitLayer.cc.
void onert::backend::cpu::ops::SplitLayer::configure | ( | const IPortableTensor * | input, |
const IPortableTensor * | axis, | ||
uint16_t | num_splits, | ||
std::vector< IPortableTensor * > & | outputs | ||
) |
Definition at line 65 of file SplitLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 76 of file SplitLayer.cc.
References onert::backend::IPortableTensor::data_type().
Referenced by package.infer.session::inference().
void onert::backend::cpu::ops::SplitLayer::split | ( | void | ) |
Definition at line 37 of file SplitLayer.cc.
References nnfw::cker::SplitParams::axis, onert::backend::IPortableTensor::data_type(), onert::backend::IPortableTensor::getShape(), onert::backend::cpu::ops::getShape(), nnfw::cker::SplitParams::num_split, onert::backend::cpu::ops::sizeOfData(), and onert::backend::IPortableTensor::total_size().