grenade/cbits/pad.h
2017-02-02 20:27:02 +11:00

14 lines
468 B
C

#include <stdio.h>
#include <stdint.h>
#include <string.h>
void pad_cpu(const double* data_im, const int channels,
const int height, const int width, const int pad_left, const int pad_top,
const int pad_right, const int pad_bottom,
double* data_col);
void crop_cpu(double* data_im, const int channels,
const int height, const int width, const int crop_left, const int crop_top,
const int crop_right, const int crop_bottom,
double* data_col);