[GNA] Added tests for negative memory layer offset and split - trivial permute -...
[platform/upstream/dldt.git] / inference-engine / tests / functional / plugin / gna / shared_tests_instances / subgraph_tests / negative_memory_layer_offset.cpp
1 // Copyright (C) 2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 #include <vector>
4 #include "subgraph_tests/negative_memory_layer_offset.hpp"
5 #include "common_test_utils/test_constants.hpp"
6 #include "gna/gna_config.hpp"
7
8 using namespace LayerTestsDefinitions;
9
10 namespace {
11     std::vector<InferenceEngine::Precision> netPrecisions = { InferenceEngine::Precision::FP32,
12     };
13
14     std::map<std::string, std::string> config = {
15             {"GNA_COMPACT_MODE", "NO"}
16     };
17
18     std::vector<size_t> inputSizes = {
19         384,
20         128,
21         64,
22         32
23     };
24
25     std::vector<size_t> hiddenSizes = {
26         384,
27         128,
28         64,
29         32,
30         100
31     };
32
33     INSTANTIATE_TEST_CASE_P(smoke_negative_memory_layer_offset, NegativeMemoryOffsetTest,
34         ::testing::Combine(
35             ::testing::ValuesIn(netPrecisions),
36             ::testing::Values(CommonTestUtils::DEVICE_GNA),
37             ::testing::ValuesIn(inputSizes),
38             ::testing::ValuesIn(hiddenSizes),
39             ::testing::Values(config)),
40         NegativeMemoryOffsetTest::getTestCaseName);
41 }  // namespace