ONE - On-device Neural Engine
|
#include <BatchMatMulLayer.h>
Public Member Functions | |
BatchMatMulLayer () | |
~BatchMatMulLayer () | |
void | batchMatMulFloat32 () |
void | configure (const IPortableTensor *lhs, const IPortableTensor *rhs, bool adj_x, bool adj_y, IPortableTensor *output) |
void | run () override |
![]() | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 33 of file BatchMatMulLayer.h.
onert::backend::cpu::ops::BatchMatMulLayer::BatchMatMulLayer | ( | ) |
Definition at line 24 of file BatchMatMulLayer.cc.
|
default |
void onert::backend::cpu::ops::BatchMatMulLayer::batchMatMulFloat32 | ( | ) |
Definition at line 33 of file BatchMatMulLayer.cc.
References onert::backend::cpu::ops::getShape(), onert::backend::IPortableTensor::is_constant(), output_shape, and nnfw::cker::BatchMatMul::prepare().
Referenced by run().
void onert::backend::cpu::ops::BatchMatMulLayer::configure | ( | const IPortableTensor * | lhs, |
const IPortableTensor * | rhs, | ||
bool | adj_x, | ||
bool | adj_y, | ||
IPortableTensor * | output | ||
) |
Definition at line 47 of file BatchMatMulLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 61 of file BatchMatMulLayer.cc.
References batchMatMulFloat32(), and onert::backend::IPortableTensor::data_type().