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.

18 lines
323 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef IM2COL_H
  2. #define IM2COL_H
  3. namespace DN{
  4. void im2col_cpu(float* data_im,
  5. int channels, int height, int width,
  6. int ksize, int stride, int pad, float* data_col);
  7. #ifdef GPU
  8. void im2col_gpu(float *im,
  9. int channels, int height, int width,
  10. int ksize, int stride, int pad,float *data_col);
  11. #endif
  12. };
  13. #endif