Removed ov::runtime namespace (#9781)
* Removed ov::runtime namespace * clang-format * Fixes * template reference * Fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user