diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/DeconvMatMulAvx.c b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/DeconvMatMulAvx.c index 23c2c0dd36ae50b95993d758ccd3122adeb8f777..a0ca009206851f5b737048a887312704dd5b8c1b 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/DeconvMatMulAvx.c +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/DeconvMatMulAvx.c @@ -1,11 +1,11 @@ /** * Copyright 2021 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/WinogradTransAvx.c b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/WinogradTransAvx.c index af9e54dabc496407ae5cf589c2a2bb8c1b12b302..820f415c4c2f31d5c6853584711de8bce93b9af5 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/WinogradTransAvx.c +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/WinogradTransAvx.c @@ -1,11 +1,11 @@ /** * Copyright 2020 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h index 77c42e3d6676ea187b0168ad1fa6e559bb8007d6..84ac7df87d6893af0d2a683d12c25338662a65e3 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h @@ -1,11 +1,11 @@ /** * Copyright 2021 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h index 45f2e48e26474403ed2fa7da4a1c08232e634c1a..da2cd8da925ee61dfb640f8faadc9e01abe56d07 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h @@ -1,11 +1,11 @@ /** * Copyright 2021 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_neon_instructions.h b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_neon_instructions.h index 47029ab9c53a86f2b13070889cb6f886ccbc1ce7..a30443bb8a7faefdd0793b6e0d0a04fda2bbbe35 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_neon_instructions.h +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_neon_instructions.h @@ -1,11 +1,11 @@ /** * Copyright 2021 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h index 4942692587575e82677545da8bbc05a6039da601..0a57ffb69ba9cb5ce0eca282a7df75f46d8e2e48 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h +++ b/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h @@ -1,11 +1,11 @@ /** * Copyright 2021 Huawei Technologies Co., Ltd * - * Licensed under the Apache License, Version C2NUM.0 (the "License"); + * 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-C2NUM.0 + * 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, diff --git a/mindspore/lite/minddata/example/testlenet.cpp b/mindspore/lite/minddata/example/testlenet.cpp index 7b9ce56b365976b562820578485c5f67475ffba6..a26f92a025489aa808b1ceee5cc69929fd07bdb1 100644 --- a/mindspore/lite/minddata/example/testlenet.cpp +++ b/mindspore/lite/minddata/example/testlenet.cpp @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,9 +50,7 @@ int main(int argc, char **argv) { std::unordered_map row; iter->GetNextRow(&row); - uint64_t i = 0; while (row.size() != 0) { - i++; iter->GetNextRow(&row); } diff --git a/mindspore/lite/minddata/example/testlitecv.cpp b/mindspore/lite/minddata/example/testlitecv.cpp index 129f91890cffc50d9181b029f5f1817135ce9e72..04a649dac064ed7d0310eb3012925b209425fab8 100644 --- a/mindspore/lite/minddata/example/testlitecv.cpp +++ b/mindspore/lite/minddata/example/testlitecv.cpp @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/lite/minddata/example/testresize.cpp b/mindspore/lite/minddata/example/testresize.cpp index a751340f6f988d0a362e0d09bdd6434b607ab5b8..907ccc88a018d8f1f00d10b01920dc965ee6d61c 100644 --- a/mindspore/lite/minddata/example/testresize.cpp +++ b/mindspore/lite/minddata/example/testresize.cpp @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,9 +58,7 @@ int main(int argc, char **argv) { std::unordered_map row; iter->GetNextRow(&row); - uint64_t i = 0; while (row.size() != 0) { - i++; iter->GetNextRow(&row); } diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/fullconnection.cc b/mindspore/lite/src/runtime/kernel/opencl/kernel/fullconnection.cc index 9d7727f72dcb76d15768d366c9cfcde71b41ecab..63d3cbd036294d22bbe82a586860f90271894369 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/fullconnection.cc +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/fullconnection.cc @@ -1,5 +1,5 @@ /** - * Copyright 2019 Huawei Technologies n., Ltd + * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.cc b/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.cc index 6705bf8210adbf85899cebc40913352f66f6de03..547f0716fbd131d4bebc512a0380a107d7cc4e09 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.cc +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.cc @@ -1,5 +1,5 @@ /** - * Copyright 2019 Huawei Technologies n., Ltd + * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/lite/src/runtime/kernel/opencl/kernel/strassen.cc b/mindspore/lite/src/runtime/kernel/opencl/kernel/strassen.cc index 7a7ab00d2cd271c899cbc0dae4895f76c55125c1..8d26f138c1e65b5098298033e9e1839fe8c0c14b 100644 --- a/mindspore/lite/src/runtime/kernel/opencl/kernel/strassen.cc +++ b/mindspore/lite/src/runtime/kernel/opencl/kernel/strassen.cc @@ -1,5 +1,5 @@ /** - * Copyright 2019 Huawei Technologies n., Ltd + * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.