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

Apply ReLU over elements. More...

#include <Ops.h>

Collaboration diagram for coco::ReLU:

Public Member Functions

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

Definition at line 249 of file Ops.h.

Constructor & Destructor Documentation

◆ ReLU() [1/3]

coco::ReLU::ReLU ( )
explicitdefault

◆ ReLU() [2/3]

coco::ReLU::ReLU ( const ReLU )
delete

◆ ReLU() [3/3]

coco::ReLU::ReLU ( ReLU &&  )
delete

Member Function Documentation

◆ asReLU() [1/2]

const ReLU * coco::ReLU::asReLU ( void  ) const
inlineoverride

Definition at line 260 of file Ops.h.

260{ return this; }

◆ asReLU() [2/2]

ReLU * coco::ReLU::asReLU ( void  )
inlineoverride

Definition at line 259 of file Ops.h.

259{ return this; }

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