ONE - On-device Neural Engine
|
#include <Custom.h>
Data Structures | |
struct | Userdata |
Public Member Functions | |
Custom (OperandConstraint input_constr, const OperandIndexSequence &inputs, const OperandIndexSequence &outputs, std::string id, const Userdata &userdata) | |
void | accept (OperationVisitor &v) const override |
const std::string & | id () const |
std::string | name () const override |
OpCode | opcode () const final |
const Userdata & | userdata () const |
![]() | |
Operation (OperandConstraint input_constr, const OperandIndexSequence &inputs, const OperandIndexSequence &outputs, OperandConstraint output_constr=OperandConstraint::createAny()) | |
Operation (OperandConstraint input_constr, OperandConstraint output_constr=OperandConstraint::createAny()) | |
Operation (const Operation &)=default | |
Operation (Operation &&)=default | |
Operation & | operator= (const Operation &)=default |
Operation & | operator= (Operation &&)=default |
virtual | ~Operation () |
void | replaceInputs (const OperandIndex &from, const OperandIndex &to) override |
void | replaceOutputs (const OperandIndex &from, const OperandIndex &to) override |
OperandIndexSequence & | getInputs () |
const OperandIndexSequence & | getInputs () const override |
const OperandIndexSequence & | getOutputs () const override |
void | setInputs (const OperandIndexSequence &indexes) |
void | setOutputs (const OperandIndexSequence &indexes) |
![]() | |
virtual | ~IOperation ()=default |
onert::ir::operation::Custom::Custom | ( | OperandConstraint | input_constr, |
const OperandIndexSequence & | inputs, | ||
const OperandIndexSequence & | outputs, | ||
std::string | id, | ||
const Userdata & | userdata | ||
) |
|
overridevirtual |
const std::string & onert::ir::operation::Custom::id | ( | ) | const |
Definition at line 32 of file Custom.cc.
Referenced by name(), and onert::backend::cpu::KernelGenerator::visit().
|
overridevirtual |
|
inlinefinalvirtual |
Implements onert::ir::IOperation.
Definition at line 56 of file Custom.h.
const Custom::Userdata & onert::ir::operation::Custom::userdata | ( | ) | const |
Definition at line 34 of file Custom.cc.
Referenced by onert::backend::cpu::KernelGenerator::visit().