From 4769f328ae89eac2337cf0c3e24c353cda2a2e45 Mon Sep 17 00:00:00 2001 From: yunji Date: Tue, 20 Jul 2021 21:18:32 +0900 Subject: [PATCH] Reduce gpu functional test cases and refactor --- .../single_layer_tests/gather_elements.cpp | 353 +++++++----------- .../gather/gather_elements_kernel_ref.cpp | 16 +- .../gather/gather_elements_kernel_ref.h | 16 +- 3 files changed, 134 insertions(+), 251 deletions(-) diff --git a/inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/gather_elements.cpp b/inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/gather_elements.cpp index be951a0bb5840b..a565eea2e88a0c 100644 --- a/inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/gather_elements.cpp +++ b/inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/gather_elements.cpp @@ -25,296 +25,203 @@ const std::vector idxPrecisions = { }; INSTANTIATE_TEST_CASE_P(smoke_set1, GatherElementsLayerTest, - ::testing::Combine( - ::testing::Values(std::vector({2, 2})), // Data shape - ::testing::Values(std::vector({2, 2})), // Indices shape - ::testing::ValuesIn(std::vector({-1, 0, 1})), // Axis - ::testing::ValuesIn(inputPrecisions), - ::testing::ValuesIn(idxPrecisions), - ::testing::Values(CommonTestUtils::DEVICE_GPU)), - GatherElementsLayerTest::getTestCaseName); + ::testing::Combine( + ::testing::Values(std::vector({2, 2})), + ::testing::Values(std::vector({2, 2})), + ::testing::ValuesIn(std::vector({-1, 0, 1})), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), + GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_set2, GatherElementsLayerTest, - ::testing::Combine( - ::testing::Values(std::vector({2, 2, 1})), // Data shape - ::testing::Values(std::vector({4, 2, 1})), // Indices shape - ::testing::ValuesIn(std::vector({0, -3})), // Axis - ::testing::ValuesIn(inputPrecisions), - ::testing::ValuesIn(idxPrecisions), - ::testing::Values(CommonTestUtils::DEVICE_GPU)), - GatherElementsLayerTest::getTestCaseName); + ::testing::Combine( + ::testing::Values(std::vector({2, 2, 1})), + ::testing::Values(std::vector({4, 2, 1})), + ::testing::ValuesIn(std::vector({0, -3})), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), + GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_set3, GatherElementsLayerTest, - ::testing::Combine( - ::testing::Values(std::vector({2, 2, 3, 5})), // Data shape - ::testing::Values(std::vector({2, 2, 3, 7})), // Indices shape - ::testing::Values(3, -1), // Axis - ::testing::ValuesIn(inputPrecisions), - ::testing::ValuesIn(idxPrecisions), - ::testing::Values(CommonTestUtils::DEVICE_GPU)), - GatherElementsLayerTest::getTestCaseName); + ::testing::Combine( + ::testing::Values(std::vector({2, 2, 3, 5})), + ::testing::Values(std::vector({2, 2, 3, 7})), + ::testing::Values(3, -1), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), + GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_set4, GatherElementsLayerTest, - ::testing::Combine( - ::testing::Values(std::vector({3, 2, 3, 8})), // Data shape - ::testing::Values(std::vector({2, 2, 3, 8})), // Indices shape - ::testing::Values(0, -4), // Axis - ::testing::ValuesIn(inputPrecisions), - ::testing::ValuesIn(idxPrecisions), - ::testing::Values(CommonTestUtils::DEVICE_GPU)), - GatherElementsLayerTest::getTestCaseName); + ::testing::Combine( + ::testing::Values(std::vector({3, 2, 3, 8})), + ::testing::Values(std::vector({2, 2, 3, 8})), + ::testing::Values(0, -4), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), + GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_set5, GatherElementsLayerTest, - ::testing::Combine( - ::testing::Values(std::vector({3, 2, 3, 4, 8})), // Data shape - ::testing::Values(std::vector({3, 2, 3, 5, 8})), // Indices shape - ::testing::Values(3, -2), // Axis - ::testing::ValuesIn(inputPrecisions), - ::testing::ValuesIn(idxPrecisions), - ::testing::Values(CommonTestUtils::DEVICE_GPU)), - GatherElementsLayerTest::getTestCaseName); - -const std::vector> ShapesRank4Axis0 = { - std::vector{1, 7, 8, 4}, - std::vector{2, 7, 8, 4}, - std::vector{7, 7, 8, 4}, - std::vector{9, 7, 8, 4}, -}; -const std::vector> ShapesRank4Axis1 = { - std::vector{6, 1, 8, 4}, - std::vector{6, 5, 8, 4}, - std::vector{6, 8, 8, 4}, - std::vector{6, 9, 8, 4}, -}; -const std::vector> ShapesRank4Axis2 = { - std::vector{6, 7, 2, 4}, - std::vector{6, 7, 4, 4}, - std::vector{6, 7, 5, 4}, - std::vector{6, 7, 7, 4}, -}; -const std::vector> ShapesRank4Axis3 = { - std::vector{6, 5, 8, 1}, - std::vector{6, 5, 8, 4}, - std::vector{6, 5, 8, 7}, - std::vector{6, 5, 8, 9}, -}; + ::testing::Combine( + ::testing::Values(std::vector({3, 2, 3, 4, 8})), + ::testing::Values(std::vector({3, 2, 3, 5, 8})), + ::testing::Values(3, -2), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), + GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank4axis0, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank4Axis0), // Data shapes - ::testing::ValuesIn(ShapesRank4Axis0), // Indices shpae - ::testing::ValuesIn(std::vector({ 0 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{7, 7, 8, 4}), + ::testing::Values(std::vector{2, 7, 8, 4}), + ::testing::Values(0), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank4axis1, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank4Axis1), // Data shapes - ::testing::ValuesIn(ShapesRank4Axis1), // Indices shpae - ::testing::ValuesIn(std::vector({ 1, -3 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{6, 1, 8, 4}), + ::testing::Values(std::vector{6, 8, 8, 4}), + ::testing::Values(1, -3), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank4axis2, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank4Axis2), // Data shapes - ::testing::ValuesIn(ShapesRank4Axis2), // Indices shpae - ::testing::ValuesIn(std::vector({ 2, -2 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{6, 7, 4, 4}), + ::testing::Values(std::vector{6, 7, 2, 4}), + ::testing::Values(2, -2), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank4axis3, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank4Axis3), // Data shapes - ::testing::ValuesIn(ShapesRank4Axis3), // Indices shpae - ::testing::ValuesIn(std::vector({ 3, -1 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{6, 5, 8, 7}), + ::testing::Values(std::vector{6, 5, 8, 7}), + ::testing::Values(3, -1), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); -const std::vector> ShapesRank5Axis0 = { - std::vector{2, 3, 9, 4, 9}, - std::vector{1, 3, 9, 4, 9}, - std::vector{5, 3, 9, 4, 9}, - std::vector{7, 3, 9, 4, 9}, -}; -const std::vector> ShapesRank5Axis1 = { - std::vector{2, 1, 5, 4, 7}, - std::vector{2, 3, 5, 4, 7}, - std::vector{2, 8, 5, 4, 7}, - std::vector{2, 9, 5, 4, 7}, -}; -const std::vector> ShapesRank5Axis2 = { - std::vector{1, 2, 2, 8, 9}, - std::vector{1, 2, 3, 8, 9}, - std::vector{1, 2, 6, 8, 9}, - std::vector{1, 2, 7, 8, 9}, -}; -const std::vector> ShapesRank5Axis3 = { - std::vector{2, 2, 4, 3, 7}, - std::vector{2, 2, 4, 4, 7}, - std::vector{2, 2, 4, 7, 7}, - std::vector{2, 2, 4, 9, 7}, -}; -const std::vector> ShapesRank5Axis4 = { - std::vector{1, 3, 9, 3, 1}, - std::vector{1, 3, 9, 3, 2}, - std::vector{1, 3, 9, 3, 5}, - std::vector{1, 3, 9, 3, 9}, -}; - INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank5axis0, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank5Axis0), // Data shapes - ::testing::ValuesIn(ShapesRank5Axis0), // Indices shpae - ::testing::ValuesIn(std::vector({ 0 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{2, 3, 9, 4, 9}), + ::testing::Values(std::vector{1, 3, 9, 4, 9}), + ::testing::Values(0), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank5axis1, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank5Axis1), // Data shapes - ::testing::ValuesIn(ShapesRank5Axis1), // Indices shpae - ::testing::ValuesIn(std::vector({ 1, -4 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{2, 3, 5, 4, 7}), + ::testing::Values(std::vector{2, 9, 5, 4, 7}), + ::testing::Values(1, -4), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank5axis2, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank5Axis2), // Data shapes - ::testing::ValuesIn(ShapesRank5Axis2), // Indices shpae - ::testing::ValuesIn(std::vector({ 2, -3 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{1, 2, 6, 8, 9}), + ::testing::Values(std::vector{1, 2, 6, 8, 9}), + ::testing::Values(2, -3), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank5axis3, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank5Axis3), // Data shapes - ::testing::ValuesIn(ShapesRank5Axis3), // Indices shpae - ::testing::ValuesIn(std::vector({ 3, -2 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{2, 2, 4, 7, 7}), + ::testing::Values(std::vector{2, 2, 4, 3, 7}), + ::testing::Values(3, -2), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank5axis4, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank5Axis4), // Data shapes - ::testing::ValuesIn(ShapesRank5Axis4), // Indices shpae - ::testing::ValuesIn(std::vector({ 4, -1 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{1, 3, 9, 3, 2}), + ::testing::Values(std::vector{1, 3, 9, 3, 9}), + ::testing::Values(4, -1), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); -const std::vector> ShapesRank6Axis0 = { - std::vector{1, 3, 2, 4, 4, 3}, - std::vector{3, 3, 2, 4, 4, 3}, - std::vector{6, 3, 2, 4, 4, 3}, - std::vector{7, 3, 2, 4, 4, 3}, -}; -const std::vector> ShapesRank6Axis1 = { - std::vector{1, 2, 2, 3, 5, 9}, - std::vector{1, 5, 2, 3, 5, 9}, - std::vector{1, 6, 2, 3, 5, 9}, - std::vector{1, 9, 2, 3, 5, 9}, -}; -const std::vector> ShapesRank6Axis2 = { - std::vector{2, 3, 2, 7, 2, 1}, - std::vector{2, 3, 5, 7, 2, 1}, - std::vector{2, 3, 8, 7, 2, 1}, - std::vector{2, 3, 9, 7, 2, 1}, -}; -const std::vector> ShapesRank6Axis3 = { - std::vector{1, 3, 4, 2, 1, 3}, - std::vector{1, 3, 4, 4, 1, 3}, - std::vector{1, 3, 4, 5, 1, 3}, - std::vector{1, 3, 4, 8, 1, 3}, -}; -const std::vector> ShapesRank6Axis4 = { - std::vector{1, 3, 2, 4, 1, 3}, - std::vector{1, 3, 2, 4, 4, 3}, - std::vector{1, 3, 2, 4, 6, 3}, - std::vector{1, 3, 2, 4, 7, 3}, -}; -const std::vector> ShapesRank6Axis5 = { - std::vector{2, 1, 7, 8, 1, 2}, - std::vector{2, 1, 7, 8, 1, 3}, - std::vector{2, 1, 7, 8, 1, 4}, - std::vector{2, 1, 7, 8, 1, 6}, -}; - INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis0, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis0), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis0), // Indices shpae - ::testing::ValuesIn(std::vector({ 0 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{3, 3, 2, 4, 4, 3}), + ::testing::Values(std::vector{7, 3, 2, 4, 4, 3}), + ::testing::Values(0), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis1, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis1), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis1), // Indices shpae - ::testing::ValuesIn(std::vector({ 1, -5 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{1, 6, 2, 3, 5, 9}), + ::testing::Values(std::vector{1, 6, 2, 3, 5, 9}), + ::testing::Values(1, -5), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis2, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis2), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis2), // Indices shpae - ::testing::ValuesIn(std::vector({ 2, -4 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{2, 3, 9, 7, 2, 1}), + ::testing::Values(std::vector{2, 3, 5, 7, 2, 1}), + ::testing::Values(2, -4), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis3, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis3), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis3), // Indices shpae - ::testing::ValuesIn(std::vector({ 3, -3 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{1, 3, 4, 5, 1, 3}), + ::testing::Values(std::vector{1, 3, 4, 4, 1, 3}), + ::testing::Values(3, -3), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis4, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis4), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis4), // Indices shpae - ::testing::ValuesIn(std::vector({ 4, -2 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{1, 3, 2, 4, 3, 3}), + ::testing::Values(std::vector{1, 3, 2, 4, 6, 3}), + ::testing::Values(4, -2), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); INSTANTIATE_TEST_CASE_P(smoke_GatherElements_rank6axis5, GatherElementsLayerTest, ::testing::Combine( - ::testing::ValuesIn(ShapesRank6Axis5), // Data shapes - ::testing::ValuesIn(ShapesRank6Axis5), // Indices shpae - ::testing::ValuesIn(std::vector({ 5, -1 })), - ::testing::ValuesIn(inputPrecisions), // Data precision - ::testing::ValuesIn(idxPrecisions), // Indices precision - ::testing::Values(CommonTestUtils::DEVICE_GPU)), // Device name + ::testing::Values(std::vector{2, 1, 7, 8, 1, 6}), + ::testing::Values(std::vector{2, 1, 7, 8, 1, 5}), + ::testing::Values(5, -1), + ::testing::ValuesIn(inputPrecisions), + ::testing::ValuesIn(idxPrecisions), + ::testing::Values(CommonTestUtils::DEVICE_GPU)), GatherElementsLayerTest::getTestCaseName); } // namespace diff --git a/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.cpp b/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.cpp index 9959eecfa3df07..2d126530ecadf9 100644 --- a/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.cpp +++ b/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.cpp @@ -1,18 +1,6 @@ -/* -// Copyright (c) 2021 Intel Corporation +// Copyright (C) 2018-2021 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 // -// 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 "gather_elements_kernel_ref.h" #include "kernel_selector_utils.h" diff --git a/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.h b/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.h index 5826671790389e..9e9ee1f3beb112 100644 --- a/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.h +++ b/inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gather/gather_elements_kernel_ref.h @@ -1,18 +1,6 @@ -/* -// Copyright (c) 2021 Intel Corporation +// Copyright (C) 2018-2021 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 // -// 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. -*/ #pragma once