ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::ir::operation::Pack Class Reference

#include <Pack.h>

Collaboration diagram for onert::ir::operation::Pack:

Data Structures

struct  Param
 

Public Member Functions

 Pack (const OperandIndexSequence &inputs, const OperandIndexSequence &outputs, const Param &param)
 
void accept (OperationVisitor &v) const override
 
OpCode opcode () const final
 
const Paramparam () const
 
- Public Member Functions inherited from onert::ir::Operation
 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
 
Operationoperator= (const Operation &)=default
 
Operationoperator= (Operation &&)=default
 
virtual ~Operation ()
 
void replaceInputs (const OperandIndex &from, const OperandIndex &to) override
 
void replaceOutputs (const OperandIndex &from, const OperandIndex &to) override
 
OperandIndexSequencegetInputs ()
 
const OperandIndexSequencegetInputs () const override
 
const OperandIndexSequencegetOutputs () const override
 
void setInputs (const OperandIndexSequence &indexes)
 
void setOutputs (const OperandIndexSequence &indexes)
 
- Public Member Functions inherited from onert::ir::IOperation
virtual ~IOperation ()=default
 
virtual std::string name () const
 

Detailed Description

Definition at line 27 of file Pack.h.

Constructor & Destructor Documentation

◆ Pack()

onert::ir::operation::Pack::Pack ( const OperandIndexSequence inputs,
const OperandIndexSequence outputs,
const Param param 
)

Definition at line 26 of file Pack.cc.

29{
30}
static OperandConstraint createAtLeast(uint32_t begin)
const Param & param() const
Definition Pack.h:44

Member Function Documentation

◆ accept()

void onert::ir::operation::Pack::accept ( OperationVisitor v) const
overridevirtual

Implements onert::ir::IOperation.

Definition at line 25 of file Pack.cc.

25{ v.visit(*this); }

◆ opcode()

OpCode onert::ir::operation::Pack::opcode ( ) const
inlinefinalvirtual

Implements onert::ir::IOperation.

Definition at line 41 of file Pack.h.

41{ return OpCode::Pack; }

◆ param()

const Param & onert::ir::operation::Pack::param ( ) const
inline

The documentation for this class was generated from the following files: