/// Construct a new OpenVINO [Core]--this is the primary entrypoint for constructing and using
/// inference networks.
Construct a new OpenVINO [Core]--this is the primary entrypoint for constructing and using
inference networks.
Construct a new OpenVINO [ Core ] -- this is the primary entrypoint for constructing and using inference networks .
pub fn new(xml_config_file: Option<&str>) -> Result<Core> {
        let file = match xml_config_file {
            None => format!("{}/plugins.xml", openvino_sys::LIBRARY_PATH),
            Some(f) => f.to_string(),
        };
        let mut instance = std::ptr::null_mut();
        try_unsafe!(ie_core_create(cstr!(file), &mut instance as *mut *mut _))?;
        Ok(Core { instance })
    }
pub fn new ( xml_config_file : Option < & str > ) -> Result < Core > { let file = match xml_config_file { None => format ! ( " " openvino_sys LIBRARY_PATH ) , Some ( f ) => f . to_string ( ) , } ; let mut instance = std :: ptr :: null_mut ( ) ; try_unsafe ! ( ie_core_create ( cstr ( file ) mut instance as mut mut ) ) ? ; Ok ( Core { instance } ) }
Construct a new OpenVINO [Core]--this is the primary entrypoint for constructing and using
inference networks.
Construct a new OpenVINO [ Core ] -- this is the primary entrypoint for constructing and using inference networks .
xml_config_file
Option<&str>