From a323f1a449b2db5fe034a74962094a4e39c10efd Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Thu, 23 Apr 2020 16:27:04 +0800 Subject: [PATCH] feat(dnn/arm): add nchw nchw44 first conv GitOrigin-RevId: 563f57844f058fed0b4efe05508e410904eae8f8 --- dnn/src/fallback/conv_bias/opr_impl.cpp | 4 ++-- dnn/src/fallback/conv_bias/opr_impl.h | 3 ++- dnn/src/fallback/convolution/algos.cpp | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dnn/src/fallback/conv_bias/opr_impl.cpp b/dnn/src/fallback/conv_bias/opr_impl.cpp index bbf8155e5..bb699d47d 100644 --- a/dnn/src/fallback/conv_bias/opr_impl.cpp +++ b/dnn/src/fallback/conv_bias/opr_impl.cpp @@ -57,8 +57,8 @@ public: } for (size_t oc_tile_size : {24, 48}) { refhold.emplace_back(new AlgoConv1x1( - static_cast(algo), - oc_tile_size)); + static_cast(algo), + oc_tile_size)); all_algos.emplace_back(refhold.back().get()); } #if 0 diff --git a/dnn/src/fallback/conv_bias/opr_impl.h b/dnn/src/fallback/conv_bias/opr_impl.h index 76434f56f..b8ecbc4fe 100644 --- a/dnn/src/fallback/conv_bias/opr_impl.h +++ b/dnn/src/fallback/conv_bias/opr_impl.h @@ -6,7 +6,8 @@ * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. */ #pragma once diff --git a/dnn/src/fallback/convolution/algos.cpp b/dnn/src/fallback/convolution/algos.cpp index 340270cee..d781194ed 100644 --- a/dnn/src/fallback/convolution/algos.cpp +++ b/dnn/src/fallback/convolution/algos.cpp @@ -6,7 +6,8 @@ * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. */ #include "src/fallback/convolution/algos.h" -- GitLab