XNNPACK Team | b455b12 | 2019-09-27 18:10:33 -0700 | [diff] [blame^] | 1 | // Copyright (c) Facebook, Inc. and its affiliates. |
| 2 | // All rights reserved. |
| 3 | // |
| 4 | // Copyright 2019 Google LLC |
| 5 | // |
| 6 | // This source code is licensed under the BSD-style license found in the |
| 7 | // LICENSE file in the root directory of this source tree. |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | #include <stddef.h> |
| 12 | #include <stdint.h> |
| 13 | |
| 14 | #include <xnnpack.h> |
| 15 | #include <xnnpack/common.h> |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | extern "C" { |
| 19 | #endif |
| 20 | |
| 21 | XNN_INTERNAL void xnn_indirection_init_conv2d( |
| 22 | xnn_operator_t op, |
| 23 | size_t output_tile_size, |
| 24 | uint32_t log2_element_size); |
| 25 | |
| 26 | XNN_INTERNAL void xnn_indirection_init_dwconv2d( |
| 27 | xnn_operator_t op, |
| 28 | size_t batch_start, |
| 29 | size_t step_height, |
| 30 | size_t step_width, |
| 31 | uint32_t log2_element_size); |
| 32 | |
| 33 | XNN_INTERNAL void xnn_indirection_init_deconv2d( |
| 34 | xnn_operator_t op, |
| 35 | size_t output_tile_size, |
| 36 | uint32_t log2_element_size); |
| 37 | |
| 38 | XNN_INTERNAL void xnn_indirection_init_subconv2d( |
| 39 | xnn_operator_t op, |
| 40 | size_t output_tile_size, |
| 41 | uint32_t log2_element_size); |
| 42 | |
| 43 | XNN_INTERNAL void xnn_indirection_init_maxpool2d( |
| 44 | xnn_operator_t op, |
| 45 | size_t batch_start, |
| 46 | size_t step_height, |
| 47 | size_t step_width, |
| 48 | uint32_t log2_element_size); |
| 49 | |
| 50 | XNN_INTERNAL void xnn_indirection_init_unpool2d( |
| 51 | xnn_operator_t op, |
| 52 | size_t batch_start, |
| 53 | uint32_t log2_element_size); |
| 54 | |
| 55 | #ifdef __cplusplus |
| 56 | } /* extern "C" */ |
| 57 | #endif |