You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
579 B
21 lines
579 B
#ifndef __CORTEX_MAX_POOL_LAYER_HEADER__
|
|
#define __CORTEX_MAX_POOL_LAYER_HEADER__
|
|
|
|
#include "../base/basicLayer.h"
|
|
|
|
|
|
class maxpoolLayer: public cortexLayer{
|
|
public:
|
|
explicit maxpoolLayer(bool AA);
|
|
~maxpoolLayer();
|
|
bool create(uint32_t batch, uint32_t h, uint32_t w, uint32_t c, uint32_t size, uint32_t stride, uint32_t padding);
|
|
virtual bool resize(uint32_t w, uint32_t h);
|
|
cortexImage * getImage(void);
|
|
cortexImage * getDeltaImage(void);
|
|
friend class gpuCUDA;
|
|
friend class cpuHOST;
|
|
friend class cortexLayersFactory;
|
|
};
|
|
|
|
|
|
#endif
|