Added dilation parameter for convolutional, conv_lstm and crnn layers

This commit is contained in:
AlexeyAB
2019-06-08 19:41:44 +03:00
parent 12db38ccbf
commit 88ce9dcca6
15 changed files with 383 additions and 35 deletions

View File

@ -8,10 +8,24 @@ void col2im_cpu(float* data_col,
int channels, int height, int width,
int ksize, int stride, int pad, float* data_im);
void col2im_cpu_ext(const float* data_col, const int channels,
const int height, const int width, const int kernel_h, const int kernel_w,
const int pad_h, const int pad_w,
const int stride_h, const int stride_w,
const int dilation_h, const int dilation_w,
float* data_im);
#ifdef GPU
void col2im_ongpu(float *data_col,
int channels, int height, int width,
int ksize, int stride, int pad, float *data_im);
void col2im_gpu_ext(const float* data_col, const int channels,
const int height, const int width, const int kernel_h, const int kernel_w,
const int pad_h, const int pad_w, const int stride_h,
const int stride_w, const int dilation_h, const int dilation_w,
float* data_im);
#endif
#ifdef __cplusplus
}