ONE - On-device Neural Engine
|
#include <SelectLayer.h>
Public Member Functions | |
SelectLayer () | |
void | configure (const IPortableTensor *cond, const IPortableTensor *input_true, const IPortableTensor *input_false, 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 SelectLayer.h.
onert::backend::cpu::ops::SelectLayer::SelectLayer | ( | ) |
Definition at line 32 of file SelectLayer.cc.
void onert::backend::cpu::ops::SelectLayer::configure | ( | const IPortableTensor * | cond, |
const IPortableTensor * | input_true, | ||
const IPortableTensor * | input_false, | ||
IPortableTensor * | output | ||
) |
Definition at line 38 of file SelectLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 47 of file SelectLayer.cc.
References onert::backend::IPortableTensor::data_type(), onert::backend::IPortableTensor::getShape(), onert::backend::cpu::ops::HaveSameShapes(), and KERNEL_SWITCH.
Referenced by package.infer.session::inference().