1 /*
2 * Copyright (C) 2010-2019 Arm Limited or its affiliates. All rights reserved.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Licensed under the Apache License, Version 2.0 (the License); you may
7 * not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 /* ----------------------------------------------------------------------
20 * Project: CMSIS NN Library
21 * Title: arm_reshape_s8.c
22 * Description: Reshape a s8 vector
23 *
24 * $Date: September 2019
25 * $Revision: V.1.0.0
26 *
27 * Target Processor: Cortex-M cores
28 *
29 * -------------------------------------------------------------------- */
30
31 #include "arm_nnfunctions.h"
32
33 /**
34 * @ingroup groupNN
35 */
36
37 /**
38 * @addtogroup Reshape
39 * @{
40 */
41
42 /**
43 * Basic s8 reshape function.
44 *
45 * Refer header file for details.
46 *
47 */
48
arm_reshape_s8(const int8_t * input,int8_t * output,const uint32_t total_size)49 void arm_reshape_s8(const int8_t *input, int8_t *output, const uint32_t total_size)
50 {
51 memcpy(output, input, total_size);
52 }
53
54 /**
55 * @} end of Reshape group
56 */