diff --git a/src/operators/math/gemm_int8.cpp b/src/operators/math/gemm_int8.cpp index ba7d076915e1172ff922cebe86f2ce88fae0b0f6..19a5b88cbe28c79d3faa91202cb1cf69eac83ee4 100644 --- a/src/operators/math/gemm_int8.cpp +++ b/src/operators/math/gemm_int8.cpp @@ -12,6 +12,20 @@ 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. */ +// Copyright 2015 The Gemmlowp Authors. 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. + #include #include "common/log.h" #include "operators/math/gemm.h" @@ -242,8 +256,8 @@ void Gemm::AddDot4x8(int32_t k, const int8_t *a, const int8_t *b, int32_t *c, #endif // __ARM_NEON } -// The core idea of AddDot4x2 function is borrowed from the Google's gemmlowp -// open source library. The address of gemmlowp is +// The core idea of AddDot4x2 and AddDot4x4 function is borrowed from the +// Google's gemmlowp open source library. The address of gemmlowp is // https://github.com/google/gemmlowp. void Gemm::AddDot4x2(int32_t k, const int8_t *a, const int8_t *b, int32_t *c, int32_t ldc) {