Removed ov::runtime namespace (#9781)

* Removed ov::runtime namespace

* clang-format

* Fixes

* template reference

* Fixes
This commit is contained in:
Ilya Lavrenov
2022-01-20 16:17:57 +03:00
committed by GitHub
parent 29c3b8e201
commit 8f3d030d79
362 changed files with 4231 additions and 4262 deletions

View File

@@ -25,11 +25,11 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
data += net_size + sizeof(kSplitSequence);
// isolate weights data
ov::runtime::Tensor weights(ov::element::u8, {static_cast<size_t>(size)}, (void*)data);
ov::Tensor weights(ov::element::u8, {static_cast<size_t>(size)}, (void*)data);
// read xml and set weights
try {
ov::runtime::Core core;
ov::Core core;
auto model = core.read_model(net, weights);
} catch (const std::exception&) {
return 0; // fail gracefully on expected exceptions