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.
 
 
 
 
 
 

20 lines
519 B

#ifndef __CORTEX_CROP_LAYER_HEADER__
#define __CORTEX_CROP_LAYER_HEADER__
#include "../base/basicLayer.h"
class cropLayer: public cortexLayer{
private:
public:
explicit cropLayer(bool useGPU = true);
virtual ~cropLayer();
bool create(uint32_t batch, uint32_t h, uint32_t w, uint32_t c, uint32_t crop_height, uint32_t crop_width, bool flip, float angle, float saturation, float exposure);
friend class gpuCUDA;
friend class cpuHOST;
friend class cortexLayersFactory;
};
#endif