Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: fishbell <[email protected]>
  • Loading branch information
songbell committed Jan 2, 2024
1 parent e4f4f62 commit dd0fe59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/plugins/hetero/tests/functional/hetero_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ class MockPluginBase : public ov::IPlugin {
class MockPluginReshape : public MockPluginBase {
public:
MockPluginReshape(const std::string& name)
: MockPluginBase(name, {"Parameter", "Result", "Add", "Constant", "Reshape"}, true) {}
: MockPluginBase(name, {"Parameter", "Result", "Add", "Constant", "Reshape", "Convert"}, true) {}

const ov::Version& get_const_version() override {
static const ov::Version version = {CI_BUILD_NUMBER, "openvino_mock_reshape_plugin"};
Expand Down Expand Up @@ -670,7 +670,7 @@ class MockPluginReshape : public MockPluginBase {
class MockPluginSubtract : public MockPluginBase {
public:
MockPluginSubtract(const std::string& name)
: MockPluginBase(name, {"Parameter", "Result", "Add", "Constant", "Subtract"}) {}
: MockPluginBase(name, {"Parameter", "Result", "Add", "Constant", "Subtract", "Convert"}) {}

const ov::Version& get_const_version() override {
static const ov::Version version = {CI_BUILD_NUMBER, "openvino_mock_subtract_plugin"};
Expand Down
6 changes: 4 additions & 2 deletions src/plugins/proxy/tests/proxy_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,8 @@ void ov::proxy::tests::ProxyTests::register_plugin_support_reshape(ov::Core& cor
const ov::AnyMap& properties) const override {
OPENVINO_ASSERT(model);

std::unordered_set<std::string> supported_ops = {"Parameter", "Result", "Add", "Constant", "Reshape"};
std::unordered_set<std::string> supported_ops =
{"Parameter", "Result", "Add", "Constant", "Reshape", "Convert"};

ov::SupportedOpsMap res;
for (const auto& op : model->get_ordered_ops()) {
Expand Down Expand Up @@ -649,7 +650,8 @@ void ov::proxy::tests::ProxyTests::register_plugin_support_subtract(ov::Core& co
const ov::AnyMap& properties) const override {
OPENVINO_ASSERT(model);

std::unordered_set<std::string> supported_ops = {"Parameter", "Result", "Add", "Constant", "Subtract"};
std::unordered_set<std::string> supported_ops =
{"Parameter", "Result", "Add", "Constant", "Subtract", "Convert"};

ov::SupportedOpsMap res;
for (const auto& op : model->get_ordered_ops()) {
Expand Down

0 comments on commit dd0fe59

Please sign in to comment.