SHL
2.2.x
Loading...
Searching...
No Matches
shl_asp.h
1
/*
2
* Copyright (C) 2016-2023 T-Head Semiconductor Co., Ltd. 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
/* SHL version 2.2.x */
20
21
#ifndef INCLUDE_SHL_ASP_H_
22
#define INCLUDE_SHL_ASP_H_
23
24
#include "
csi_nn.h
"
25
#include "shl_ref.h"
26
27
int
shl_asp_avgpool2d(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
28
struct
csinn_pool_params
*params);
29
int
shl_asp_conv2d(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
30
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
31
struct
csinn_conv2d_params
*params);
32
int
shl_asp_depthwise_conv2d(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
33
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
34
struct
csinn_conv2d_params
*params);
35
int
shl_asp_fullyconnected(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
36
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
37
struct
csinn_fc_params
*params);
38
int
shl_asp_maxpool2d(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
39
struct
csinn_pool_params
*params);
40
int
shl_asp_avgpool2d_est(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
41
struct
csinn_pool_params
*params);
42
int
shl_asp_conv2d_est(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
43
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
44
struct
csinn_conv2d_params
*params);
45
int
shl_asp_depthwise_conv2d_est(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
46
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
47
struct
csinn_conv2d_params
*params);
48
int
shl_asp_fullyconnected_est(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
49
struct
csinn_tensor
*kernel,
struct
csinn_tensor
*bias,
50
struct
csinn_fc_params
*params);
51
int
shl_asp_maxpool2d_est(
struct
csinn_tensor
*input,
struct
csinn_tensor
*output,
52
struct
csinn_pool_params
*params);
53
#endif
// INCLUDE_SHL_ASP_H_
csi_nn.h
csinn_conv2d_params
Definition:
csinn_data_structure.h:553
csinn_fc_params
Definition:
csinn_data_structure.h:596
csinn_pool_params
Definition:
csinn_data_structure.h:605
csinn_tensor
Definition:
csinn_data_structure.h:475
include
shl_asp.h
Generated by
1.9.5