ONE - On-device Neural Engine
|
#include <SplitVLayer.h>
Public Member Functions | |
SplitVLayer () | |
template<typename T > | |
void | splitV (void) |
void | configure (const IPortableTensor *input, const IPortableTensor *size_splits, const IPortableTensor *size_dim, 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 SplitVLayer.h.
onert::backend::cpu::ops::SplitVLayer::SplitVLayer | ( | ) |
Definition at line 32 of file SplitVLayer.cc.
void onert::backend::cpu::ops::SplitVLayer::configure | ( | const IPortableTensor * | input, |
const IPortableTensor * | size_splits, | ||
const IPortableTensor * | size_dim, | ||
uint16_t | num_splits, | ||
std::vector< IPortableTensor * > & | outputs | ||
) |
Definition at line 59 of file SplitVLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 72 of file SplitVLayer.cc.
References onert::backend::IPortableTensor::data_type().
Referenced by package.infer.session::inference().
void onert::backend::cpu::ops::SplitVLayer::splitV | ( | void | ) |
Definition at line 38 of file SplitVLayer.cc.
References nnfw::cker::SplitVParams::axis, onert::backend::IPortableTensor::data_type(), onert::backend::IPortableTensor::getShape(), onert::backend::cpu::ops::getShape(), nnfw::cker::SplitVParams::num_split, onert::backend::cpu::ops::sizeOfData(), and onert::backend::IPortableTensor::total_size().