ONE - On-device Neural Engine
|
#include <BinaryArithmetic.h>
Data Structures | |
struct | Param |
Public Types | |
enum | Input { LHS = 0 , RHS } |
enum class | ArithmeticType { ADD , SUB , MUL , DIV } |
Definition at line 30 of file BinaryArithmetic.h.
|
strong |
onert::ir::operation::BinaryArithmetic::BinaryArithmetic | ( | const OperandIndexSequence & | inputs, |
const OperandIndexSequence & | outputs, | ||
const Param & | param | ||
) |
Definition at line 31 of file BinaryArithmetic.cc.
|
overridevirtual |
Implements onert::ir::IOperation.
Reimplemented in onert::ir::train::operation::BinaryArithmetic.
Definition at line 29 of file BinaryArithmetic.cc.
|
overridevirtual |
Reimplemented from onert::ir::IOperation.
Definition at line 37 of file BinaryArithmetic.cc.
References ADD, onert::ir::operation::BinaryArithmetic::Param::arithmetic_type, DIV, MUL, and SUB.
|
inlinefinalvirtual |
Implements onert::ir::IOperation.
Definition at line 60 of file BinaryArithmetic.h.
|
inline |
Definition at line 63 of file BinaryArithmetic.h.
Referenced by onert::backend::cpu::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), and onert::ir::train::UseDefGenerator::visit().