ONE - On-device Neural Engine
Loading...
Searching...
No Matches
coco::Div Class Referencefinal

Element-wise division. More...

#include <Ops.h>

Collaboration diagram for coco::Div:

Public Member Functions

 Div ()=default
 
 Div (const Div &)=delete
 
 Div (Div &&)=delete
 
DivasDiv (void) override
 
const DivasDiv (void) const override
 
- Public Member Functions inherited from coco::BinaryOp
 BinaryOp ()
 
 BinaryOp (const BinaryOp &)=delete
 
 BinaryOp (BinaryOp &&)=delete
 
virtual ~BinaryOp ()=default
 
uint32_t arity (void) const final
 Return the number of arguments (# of child Ops)
 
Oparg (uint32_t n) const final
 Return N-th argument.
 
std::set< Object * > uses (void) const final
 Return a set of object(s) used during execution.
 
Opleft (void) const
 
void left (Op *op)
 
Opright (void) const
 
void right (Op *op)
 
- Public Member Functions inherited from coco::Op
virtual ~Op ()
 
template<typename T >
accept (IVisitor< T > *v) const
 
template<typename T >
accept (IVisitor< T > &v) const
 
template<typename T >
accept (IVisitor< T > &&v) const
 
void accept (IMutator *m)
 
void accept (IMutator &m)
 
void accept (IMutator &&m)
 
Instrparent (void) const
 
Opup (void) const
 Return a pointer to the parent Op.
 
- Public Member Functions inherited from coco::Entity
virtual ~Entity ()=default
 
Modulemodule (void) const
 

Detailed Description

Element-wise division.

Div(L, R) is valid only when L and R have identical kind/shape/dtype

Definition at line 343 of file Ops.h.

Constructor & Destructor Documentation

◆ Div() [1/3]

coco::Div::Div ( )
explicitdefault

◆ Div() [2/3]

coco::Div::Div ( const Div )
delete

◆ Div() [3/3]

coco::Div::Div ( Div &&  )
delete

Member Function Documentation

◆ asDiv() [1/2]

const Div * coco::Div::asDiv ( void  ) const
inlineoverride

Definition at line 354 of file Ops.h.

354{ return this; }

◆ asDiv() [2/2]

Div * coco::Div::asDiv ( void  )
inlineoverride

Definition at line 353 of file Ops.h.

353{ return this; }

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