- }
-
-
- at::Tensor conv1d(
- const Tensor& input, const Tensor& weight, const Tensor& bias,
- IntArrayRef stride, IntArrayRef padding, IntArrayRef dilation, int64_t groups) {
- return at::convolution(input, weight, bias, stride, padding, dilation,
- false, {0}, groups);
- }
-
- at::Tensor conv2d(
- const Tensor& input, const Tensor& weight, const Tensor& bias,
- IntArrayRef stride, IntArrayRef padding, IntArrayRef dilation, int64_t groups) {
- return at::convolution(input, weight, bias, stride, padding, dilation,
- false, {{0, 0}}, groups);
- }
-
- at::Tensor conv3d(
- const Tensor& input, const Tensor& weight, const Tensor& bias,
- IntArrayRef stride, IntArrayRef padding, IntArrayRef dilation, int64_t groups) {
- return at::convolution(input, weight, bias, stride, padding, dilation,