[GNA] Moved am_intel_dnn tests (#10294)
* [GNA] am_intel_dnn tests moved from deprecated tests * fixed code style * [GNA]fixed copyright date
This commit is contained in:
parent
e2948a807c
commit
7a24f53b57
@ -3,20 +3,18 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <inference_engine.hpp>
|
#include <inference_engine.hpp>
|
||||||
#include <backend/am_intel_dnn.hpp>
|
#include <backend/am_intel_dnn.hpp>
|
||||||
|
|
||||||
#include "gna_matcher.hpp"
|
|
||||||
|
|
||||||
using namespace testing;
|
using namespace testing;
|
||||||
|
|
||||||
class GNA_AmIntelDnn_test : public GNATest<> {
|
class GNA_AmIntelDnn_test : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
GNAPluginNS::backend::AMIntelDNN amIntelDnn;
|
GNAPluginNS::backend::AMIntelDNN amIntelDnn;
|
||||||
Gna2Model desc = {};
|
Gna2Model desc = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
TEST_F(GNA_AmIntelDnn_test, intel_nnet_type_tSecondInitNotAllowed) {
|
TEST_F(GNA_AmIntelDnn_test, intel_nnet_type_tSecondInitNotAllowed) {
|
||||||
desc.Operations = nullptr;
|
desc.Operations = nullptr;
|
||||||
amIntelDnn.component.resize(1);
|
amIntelDnn.component.resize(1);
|
Loading…
Reference in New Issue
Block a user