Renamed ExecutableNetwork to CompiledModel (#9144)
* Renamed ExecutableNetwork to CompiledModel * Fixed python * Fixed comments * Fixed build * Fixed code style
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user