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

2D Max Pooling More...

#include <Ops.h>

Collaboration diagram for coco::MaxPool2D:

Public Member Functions

 MaxPool2D ()=default
 
 MaxPool2D (const MaxPool2D &)=delete
 
 MaxPool2D (MaxPool2D &&)=delete
 
MaxPool2DasMaxPool2D (void) override
 
const MaxPool2DasMaxPool2D (void) const override
 
Window2Dwindow (void)
 
const Window2Dwindow (void) const
 
Stride2Dstride (void)
 
const Stride2Dstride (void) const
 
Padding2Dpad (void)
 
const Padding2Dpad (void) const
 
- 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

2D Max Pooling

Definition at line 141 of file Ops.h.

Constructor & Destructor Documentation

◆ MaxPool2D() [1/3]

coco::MaxPool2D::MaxPool2D ( )
explicitdefault

◆ MaxPool2D() [2/3]

coco::MaxPool2D::MaxPool2D ( const MaxPool2D )
delete

◆ MaxPool2D() [3/3]

coco::MaxPool2D::MaxPool2D ( MaxPool2D &&  )
delete

Member Function Documentation

◆ asMaxPool2D() [1/2]

const MaxPool2D * coco::MaxPool2D::asMaxPool2D ( void  ) const
inlineoverride

Definition at line 152 of file Ops.h.

152{ return this; }

◆ asMaxPool2D() [2/2]

MaxPool2D * coco::MaxPool2D::asMaxPool2D ( void  )
inlineoverride

Definition at line 151 of file Ops.h.

151{ return this; }

◆ pad() [1/2]

Padding2D * coco::MaxPool2D::pad ( void  )
inline

Definition at line 163 of file Ops.h.

163{ return &_pad; }

Referenced by tflimport::MaxPool2DGraphBuilder::build().

◆ pad() [2/2]

const Padding2D * coco::MaxPool2D::pad ( void  ) const
inline

Definition at line 164 of file Ops.h.

164{ return &_pad; }

◆ stride() [1/2]

Stride2D * coco::MaxPool2D::stride ( void  )
inline

Definition at line 159 of file Ops.h.

159{ return &_stride; }

Referenced by tflimport::MaxPool2DGraphBuilder::build().

◆ stride() [2/2]

const Stride2D * coco::MaxPool2D::stride ( void  ) const
inline

Definition at line 160 of file Ops.h.

160{ return &_stride; }

◆ window() [1/2]

Window2D * coco::MaxPool2D::window ( void  )
inline

Definition at line 155 of file Ops.h.

155{ return &_window; }

Referenced by tflimport::MaxPool2DGraphBuilder::build().

◆ window() [2/2]

const Window2D * coco::MaxPool2D::window ( void  ) const
inline

Definition at line 156 of file Ops.h.

156{ return &_window; }

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