[IE Samples] Update docs for C++ samples (#9937)
* update hello classification readme * update hello classification readme * update classification async readme * replace `network` with `model` * update example section with openvino-dev * update hello query device readme * Update hello reshape readme * Update ngraph func creation readme * update speech sample readme * update hello nv12 readme * Apply suggestions from code review review comments accepted Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com> * Replace `Inference Engine` with `OpenVINO` * fix model ref * Replace `Inference Engine` by `OpenVINO™ Runtime` * Fix IR mentions Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com> Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
This commit is contained in:
@@ -104,8 +104,8 @@ int main(int argc, char* argv[]) {
|
||||
std::shared_ptr<ov::Model> model = core.read_model(model_path);
|
||||
printInputAndOutputsInfo(*model);
|
||||
|
||||
OPENVINO_ASSERT(model->get_parameters().size() == 1, "Sample supports models with 1 input only");
|
||||
OPENVINO_ASSERT(model->get_results().size() == 1, "Sample supports models with 1 output only");
|
||||
OPENVINO_ASSERT(model->inputs().size() == 1, "Sample supports models with 1 input only");
|
||||
OPENVINO_ASSERT(model->outputs().size() == 1, "Sample supports models with 1 output only");
|
||||
|
||||
std::string input_tensor_name = model->input().get_any_name();
|
||||
std::string output_tensor_name = model->output().get_any_name();
|
||||
|
||||
Reference in New Issue
Block a user