XNNPACK Team | b455b12 | 2019-09-27 18:10:33 -0700 | [diff] [blame] | 1 | // Copyright 2019 Google LLC |
| 2 | // |
| 3 | // This source code is licensed under the BSD-style license found in the |
| 4 | // LICENSE file in the root directory of this source tree. |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <stddef.h> |
| 9 | #include <stdint.h> |
| 10 | |
| 11 | #include <xnnpack.h> |
| 12 | #include <xnnpack/common.h> |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | XNN_INTERNAL void xnn_im2col_conv2d( |
| 19 | size_t output_height, |
| 20 | size_t output_width, |
| 21 | size_t kernel_height, |
| 22 | size_t kernel_width, |
| 23 | size_t subsampling_height, |
| 24 | size_t subsampling_width, |
| 25 | size_t dilation_height, |
| 26 | size_t dilation_width, |
| 27 | size_t input_width, |
| 28 | size_t input_padding_top, |
| 29 | size_t input_padding_left, |
| 30 | size_t group_input_channels_in_bytes, |
| 31 | size_t input_pixel_stride_in_bytes, |
| 32 | const void* input, |
| 33 | void* output); |
| 34 | |
| 35 | #ifdef __cplusplus |
Marat Dukhan | 80fc932 | 2019-09-29 21:06:36 -0700 | [diff] [blame^] | 36 | } // extern "C" |
XNNPACK Team | b455b12 | 2019-09-27 18:10:33 -0700 | [diff] [blame] | 37 | #endif |