Skip to content

Commit

Permalink
update snippets: integrate-openvino-with-your-application#step-4-set-… (
Browse files Browse the repository at this point in the history
#25532)

Just match context. (refs
#25532 (comment))

<img width="1693" alt="Screenshot 2024-07-30 at 22 06 43"
src="https://github.com/user-attachments/assets/45d35a0e-d18c-47fe-afb0-6d90d9bd4874">
<img width="1693" alt="Screenshot 2024-07-30 at 22 08 41"
src="https://github.com/user-attachments/assets/4994aea0-e6ca-4a79-a8b4-ae7c7de646aa">
  • Loading branch information
valord577 authored Jul 31, 2024
1 parent b4871e5 commit 224bda1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/snippets/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -109,4 +109,4 @@ build/ - build directory
...
//! [part7]
*/
*/

0 comments on commit 224bda1

Please sign in to comment.