ONE - On-device Neural Engine
|
#include <Operation.h>
Definition at line 33 of file Operation.h.
Operation::Operation | ( | OperandConstraint | input_constr, |
const OperandIndexSequence & | inputs, | ||
const OperandIndexSequence & | outputs, | ||
OperandConstraint | output_constr = OperandConstraint::createAny() |
||
) |
Definition at line 26 of file Operation.cc.
References setInputs(), and setOutputs().
|
explicit |
Definition at line 34 of file Operation.cc.
|
default |
|
default |
|
virtualdefault |
|
inline |
Definition at line 53 of file Operation.h.
Referenced by onert::backend::acl_common::AclConstantInitializer::copyInputInitialize(), onert::backend::acl_common::kernelGenFullyConnected(), onert::backend::acl_common::kernelGenLSTM(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::acl_common::AclConstantInitializer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::acl_common::AclSubTensorAnalyzer::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::acl_cl::ConstantInitializer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::acl_cl::ConstantInitializer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::acl_neon::ConstantInitializer::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), and onert::ir::train::UseDefGenerator::visit().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements onert::ir::IOperation.
Definition at line 55 of file Operation.h.
Referenced by onert::backend::acl_common::kernelGenFullyConnected(), onert::backend::acl_common::kernelGenLSTM(), onert::ir::operation::LSTM::name(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::acl_common::AclSubTensorAnalyzer::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::compiler::ShapeValidator::visit(), onert::backend::cpu::KernelGenerator::visit(), onert::exec::DynamicShapeInferer::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), onert::ir::train::UseDefGenerator::visit(), and onert::ir::train::UseDefGenerator::visit().
|
overridevirtual |
Implements onert::ir::IOperation.
Definition at line 55 of file Operation.cc.
References onert::ir::OperandIndexSequence::replace().
|
overridevirtual |
Implements onert::ir::IOperation.
Definition at line 60 of file Operation.cc.
References onert::ir::OperandIndexSequence::replace().
void Operation::setInputs | ( | const OperandIndexSequence & | indexes | ) |
Definition at line 41 of file Operation.cc.
References onert::ir::OperandConstraint::check(), and onert::ir::OperandIndexSequence::size().
Referenced by Operation(), onert::ir::operation::Permute::Permute(), and onert_test::ir::SimpleMock::SimpleMock().
void Operation::setOutputs | ( | const OperandIndexSequence & | indexes | ) |
Definition at line 48 of file Operation.cc.
References onert::ir::OperandConstraint::check(), and onert::ir::OperandIndexSequence::size().
Referenced by Operation(), onert::ir::operation::Permute::Permute(), and onert_test::ir::SimpleMock::SimpleMock().