ONE - On-device Neural Engine
|
Apply ReLU6 over elements. More...
#include <Ops.h>
Public Member Functions | |
ReLU6 ()=default | |
ReLU6 (const ReLU6 &)=delete | |
ReLU6 (ReLU6 &&)=delete | |
ReLU6 * | asReLU6 (void) override |
const ReLU6 * | asReLU6 (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) | |
Op * | arg (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. | |
Op * | arg (void) const |
void | arg (Op *arg) |
Public Member Functions inherited from coco::Op | |
virtual | ~Op () |
template<typename T > | |
T | accept (IVisitor< T > *v) const |
template<typename T > | |
T | accept (IVisitor< T > &v) const |
template<typename T > | |
T | accept (IVisitor< T > &&v) const |
void | accept (IMutator *m) |
void | accept (IMutator &m) |
void | accept (IMutator &&m) |
Instr * | parent (void) const |
Op * | up (void) const |
Return a pointer to the parent Op. | |
Public Member Functions inherited from coco::Entity | |
virtual | ~Entity ()=default |
Module * | module (void) const |
|
explicitdefault |
|
delete |
|
delete |
|
inlineoverride |
|
inlineoverride |