ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
coco::Sqrt Class Referencefinal

Apply Sqrt over elements. More...

#include <Ops.h>

Collaboration diagram for coco::Sqrt:

Public Member Functions

 Sqrt ()=default
 
 Sqrt (const Sqrt &)=delete
 
 Sqrt (Sqrt &&)=delete
 
SqrtasSqrt (void) override
 
const SqrtasSqrt (void) const override
 
- Public Member Functions inherited from coco::UnaryOp
 UnaryOp ()
 
 UnaryOp (const UnaryOp &)=delete
 
 UnaryOp (UnaryOp &&)=delete
 
virtual ~UnaryOp ()=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.
 
Oparg (void) const
 
void arg (Op *arg)
 
- 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

Apply Sqrt over elements.

Definition at line 396 of file Ops.h.

Constructor & Destructor Documentation

◆ Sqrt() [1/3]

coco::Sqrt::Sqrt ( )
explicitdefault

◆ Sqrt() [2/3]

coco::Sqrt::Sqrt ( const Sqrt )
delete

◆ Sqrt() [3/3]

coco::Sqrt::Sqrt ( Sqrt &&  )
delete

Member Function Documentation

◆ asSqrt() [1/2]

const Sqrt * coco::Sqrt::asSqrt ( void  ) const
inlineoverride

Definition at line 407 of file Ops.h.

407{ return this; }

◆ asSqrt() [2/2]

Sqrt * coco::Sqrt::asSqrt ( void  )
inlineoverride

Definition at line 406 of file Ops.h.

406{ return this; }

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