ONE - On-device Neural Engine
|
#include <TopKV2Layer.h>
Public Member Functions | |
TopKV2Layer () | |
void | configure (const IPortableTensor *input, IPortableTensor *output_value, IPortableTensor *output_indices, const int32_t k) |
void | run () override |
![]() | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 27 of file TopKV2Layer.h.
onert::backend::cpu::ops::TopKV2Layer::TopKV2Layer | ( | ) |
Definition at line 26 of file TopKV2Layer.cc.
void onert::backend::cpu::ops::TopKV2Layer::configure | ( | const IPortableTensor * | input, |
IPortableTensor * | output_value, | ||
IPortableTensor * | output_indices, | ||
const int32_t | k | ||
) |
Definition at line 31 of file TopKV2Layer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 41 of file TopKV2Layer.cc.
References onert::backend::IPortableTensor::data_type(), and onert::backend::cpu::ops::getShape().