ONE - On-device Neural Engine
|
#include <GatherLayer.h>
Public Member Functions | |
GatherLayer () | |
void | configure (const IPortableTensor *input, const IPortableTensor *indices, IPortableTensor *output, int32_t axis, ExternalContext *ctx) |
void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 35 of file GatherLayer.h.
|
inline |
Definition at line 38 of file GatherLayer.h.
void onert::backend::cpu::ops::GatherLayer::configure | ( | const IPortableTensor * | input, |
const IPortableTensor * | indices, | ||
IPortableTensor * | output, | ||
int32_t | axis, | ||
ExternalContext * | ctx | ||
) |
Definition at line 33 of file GatherLayer.cc.
References onert::backend::IPortableTensor::data_type(), and onert::backend::cpu::ExternalContext::initGgmlContext().
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 124 of file GatherLayer.cc.
References onert::backend::IPortableTensor::data_type().
Referenced by package.infer.session::inference().