From 224bda1ce2637cd3f0216e211560183bcaf3686c Mon Sep 17 00:00:00 2001 From: valord577 <30427460+valord577@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:23:26 +0800 Subject: [PATCH] =?UTF-8?q?update=20snippets:=20integrate-openvino-with-yo?= =?UTF-8?q?ur-application#step-4-set-=E2=80=A6=20(#25532)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just match context. (refs https://github.com/openvinotoolkit/openvino/pull/25532#discussion_r1697037985) Screenshot 2024-07-30 at 22 06 43 Screenshot 2024-07-30 at 22 08 41 --- docs/snippets/src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/snippets/src/main.c b/docs/snippets/src/main.c index 712f9a20294f4a..a29fc6c654fb74 100644 --- a/docs/snippets/src/main.c +++ b/docs/snippets/src/main.c @@ -61,7 +61,7 @@ void * memory_ptr = NULL; //! [part4] // Get input port for model with one input ov_output_const_port_t* input_port = NULL; -ov_model_const_input(model, &input_port); +ov_compiled_model_input(compiled_model, &input_port); // Get the input shape from input port ov_shape_t input_shape; ov_const_port_get_shape(input_port, &input_shape); @@ -109,4 +109,4 @@ build/ - build directory ... //! [part7] -*/ \ No newline at end of file +*/