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

Apply ReLU6 over elements. More...

#include <Ops.h>

Collaboration diagram for coco::ReLU6:

Public Member Functions

 ReLU6 ()=default
 
 ReLU6 (const ReLU6 &)=delete
 
 ReLU6 (ReLU6 &&)=delete
 
ReLU6asReLU6 (void) override
 
const ReLU6asReLU6 (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 ReLU6 over elements.

Note
ReLU6 is subject to change

Definition at line 267 of file Ops.h.

Constructor & Destructor Documentation

◆ ReLU6() [1/3]

coco::ReLU6::ReLU6 ( )
explicitdefault

◆ ReLU6() [2/3]

coco::ReLU6::ReLU6 ( const ReLU6 )
delete

◆ ReLU6() [3/3]

coco::ReLU6::ReLU6 ( ReLU6 &&  )
delete

Member Function Documentation

◆ asReLU6() [1/2]

const ReLU6 * coco::ReLU6::asReLU6 ( void  ) const
inlineoverride

Definition at line 278 of file Ops.h.

278{ return this; }

◆ asReLU6() [2/2]

ReLU6 * coco::ReLU6::asReLU6 ( void  )
inlineoverride

Definition at line 277 of file Ops.h.

277{ return this; }

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