7template <
typename U,
typename V,
typename OutType>
8void cpuConv1d(
const U* input,
const V* kernel, OutType* output,
size_t stride,
size_t padding,
9 size_t dilation,
const size_t* input_shape,
const size_t* kernel_shape,
const size_t* output_shape);
11template <
typename U,
typename V,
typename OutType>
12void cpuConv2d(
const U* input,
const V* kernel, OutType* output,
size_t stride,
size_t padding,
13 size_t dilation,
const size_t* input_shape,
const size_t* kernel_shape,
const size_t* output_shape);
15template <
typename U,
typename V,
typename OutType>
16void cpuConv3d(
const U* input,
const V* kernel, OutType* output,
size_t stride,
size_t padding,
17 size_t dilation,
const size_t* input_shape,
const size_t* kernel_shape,
const size_t* output_shape);