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

#include <BroadcastTo.h>

Collaboration diagram for onert::ir::operation::BroadcastTo:

Public Types

enum  Input { INPUT = 0 , SHAPE = 1 }
 

Public Member Functions

 BroadcastTo (const OperandIndexSequence &inputs, const OperandIndexSequence &outputs)
 
void accept (OperationVisitor &v) const override
 
OpCode opcode () const final
 
- 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 31 of file BroadcastTo.h.

Member Enumeration Documentation

◆ Input

Enumerator
INPUT 
SHAPE 

Definition at line 34 of file BroadcastTo.h.

Constructor & Destructor Documentation

◆ BroadcastTo()

onert::ir::operation::BroadcastTo::BroadcastTo ( const OperandIndexSequence inputs,
const OperandIndexSequence outputs 
)

Definition at line 28 of file BroadcastTo.cc.

30{
31}
static OperandConstraint createExact(uint32_t exact)

Member Function Documentation

◆ accept()

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

Implements onert::ir::IOperation.

Definition at line 26 of file BroadcastTo.cc.

26{ v.visit(*this); }

◆ opcode()

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

Implements onert::ir::IOperation.

Definition at line 45 of file BroadcastTo.h.

45{ return OpCode::BroadcastTo; }

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