Replaces variadic args ... with property_key: *const ::std::os::raw::c_char, property_value: *const ::std::os::raw::c_char for 2 functions, ov_compiled_model_set_property and ov_core_set_property
This is needed because variadic args do not yet work with runtime linking (link macro in runtime.rs)
Other functions like ov_core_compile_model also have ..., but these are not replaced as above since. The only place where they are replaced are functions which expect 1 or more pairs of property_key/property_value, but not in functions which expect 0 or more.
The optional properties passed in ov_core_compile_model set properties just for that compiled model, while properties set in ov_core_set_property are for all models compiled with that core. Similarly, some subtle differences seem to exist between properties set for ov_compiled_model_set_property and those in ov_core_compile_model. This is the reason why, for example, ov_compiled_model_set_property is not called from within ov_core_compile_model at this time.
Regenerated function bindings with cargo xtask codegen
...
withproperty_key: *const ::std::os::raw::c_char, property_value: *const ::std::os::raw::c_char
for 2 functions,ov_compiled_model_set_property
andov_core_set_property
runtime.rs
)ov_core_compile_model
also have...
, but these are not replaced as above since. The only place where they are replaced are functions which expect 1 or more pairs of property_key/property_value, but not in functions which expect 0 or more.ov_core_compile_model
set properties just for that compiled model, while properties set inov_core_set_property
are for all models compiled with that core. Similarly, some subtle differences seem to exist between properties set forov_compiled_model_set_property
and those inov_core_compile_model
. This is the reason why, for example,ov_compiled_model_set_property
is not called from withinov_core_compile_model
at this time.cargo xtask codegen