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

Element-wise multiplication. More...

#include <Ops.h>

Collaboration diagram for coco::Mul:

Public Member Functions

 Mul ()=default
 
 Mul (const Mul &)=delete
 
 Mul (Mul &&)=delete
 
MulasMul (void) override
 
const MulasMul (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 multiplication.

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

Definition at line 324 of file Ops.h.

Constructor & Destructor Documentation

◆ Mul() [1/3]

coco::Mul::Mul ( )
explicitdefault

◆ Mul() [2/3]

coco::Mul::Mul ( const Mul )
delete

◆ Mul() [3/3]

coco::Mul::Mul ( Mul &&  )
delete

Member Function Documentation

◆ asMul() [1/2]

const Mul * coco::Mul::asMul ( void  ) const
inlineoverride

Definition at line 335 of file Ops.h.

335{ return this; }

◆ asMul() [2/2]

Mul * coco::Mul::asMul ( void  )
inlineoverride

Definition at line 334 of file Ops.h.

334{ return this; }

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