diff options
Diffstat (limited to 'compute/ncnn/include/ncnn/layer/instance_norm.h')
-rw-r--r-- | compute/ncnn/include/ncnn/layer/instance_norm.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/compute/ncnn/include/ncnn/layer/instance_norm.h b/compute/ncnn/include/ncnn/layer/instance_norm.h deleted file mode 100644 index b7d89281d..000000000 --- a/compute/ncnn/include/ncnn/layer/instance_norm.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Tencent is pleased to support the open source community by making ncnn available. -// -// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. -// -// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except -// in compliance with the License. You may obtain a copy of the License at -// -// https://opensource.org/licenses/BSD-3-Clause -// -// Unless required by applicable law or agreed to in writing, software distributed -// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -// CONDITIONS OF ANY KIND, either express or implied. See the License for the -// specific language governing permissions and limitations under the License. - -#ifndef __NNFW_LAYER_INSTANCE_NORM_H_ -#define __NNFW_LAYER_INSTANCE_NORM_H_ - -#include "ncnn/mat.h" -#ifdef __ARM_NEON -#include <arm_neon.h> -#endif // __ARM_NEON - -namespace nnfw -{ -namespace ncnn -{ - -void ncnn_instance_norm_rowmajor(Mat &in_mat, Mat &out_mat, Mat &gamma_mat, Mat &beta_mat, - int channels, float eps); - -void ncnn_instance_norm_colmajor(Mat &in_mat, Mat &out_mat, Mat &gamma_mat, Mat &beta_mat, - int channels, float eps); - -void ncnn_instance_norm_with_relu_rowmajor(Mat &in_mat, Mat &out_mat, Mat &gamma_mat, Mat &beta_mat, - int channels, float eps, float slope); - -void ncnn_instance_norm_with_relu_colmajor(Mat &in_mat, Mat &out_mat, Mat &gamma_mat, Mat &beta_mat, - int channels, float eps, float slope); - -} // namespace ncnn - -} // namespace nnfw - -#endif // __NNFW_LAYER_INSTANCE_NORM_H_ |