Renamed ExecutableNetwork to CompiledModel (#9144)

* Renamed ExecutableNetwork to CompiledModel

* Fixed python

* Fixed comments

* Fixed build

* Fixed code style
This commit is contained in:
Ilya Churaev
2021-12-11 16:11:15 +03:00
committed by GitHub
parent 39db1c1a2a
commit 37b0b6f7c8
40 changed files with 276 additions and 281 deletions

View File

@@ -153,11 +153,11 @@ int main(int argc, char* argv[]) {
// -------- Step 6. Loading model to the device --------
slog::info << "Loading model to the device " << FLAGS_d << slog::endl;
ov::runtime::ExecutableNetwork executable_network = core.compile_model(model, FLAGS_d);
ov::runtime::CompiledModel compiled_model = core.compile_model(model, FLAGS_d);
// -------- Step 6. Create infer request --------
slog::info << "Create infer request" << slog::endl;
ov::runtime::InferRequest infer_request = executable_network.create_infer_request();
ov::runtime::InferRequest infer_request = compiled_model.create_infer_request();
// -------- Step 7. Combine multiple input images as batch --------
ov::runtime::Tensor input_tensor = infer_request.get_input_tensor();