1 // Copyright 2022 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 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 void xnn_normalize_transpose_permutation( 15 const size_t num_dims, 16 const size_t element_size, 17 const size_t* perm, 18 const size_t* shape, 19 const size_t* input_stride, 20 const size_t* output_stride, 21 size_t* normalized_num_dims, 22 size_t* normalized_element_size, 23 size_t* normalized_perm, 24 size_t* normalized_shape, 25 size_t* normalized_input_stride, 26 size_t* normalized_output_stride); 27 28 #ifdef __cplusplus 29 } // extern "C" 30 #endif 31