pub fn read_network_from_file(
        &mut self,
        model_path: &str,
        weights_path: &str,
    ) -> Result<CNNNetwork> {
        let mut instance = std::ptr::null_mut();
        try_unsafe!(ie_core_read_network(
            self.instance,
            cstr!(model_path),
            cstr!(weights_path),
            &mut instance as *mut *mut _,
        ))?;
        Ok(CNNNetwork { instance })
    }
/// Read a [CNNNetwork] from a pair of files: `model_path` points to an XML file containing the
/// OpenVINO network IR and `weights_path` points to the binary weights file.
Read a [CNNNetwork] from a pair of files: `model_path` points to an XML file containing the
OpenVINO network IR and `weights_path` points to the binary weights file.
Read a [ CNNNetwork ] from a pair of files : ` model_path ` points to an XML file containing the OpenVINO network IR and ` weights_path ` points to the binary weights file .
pub fn read_network_from_file(
        &mut self,
        model_path: &str,
        weights_path: &str,
    ) -> Result<CNNNetwork> {
        let mut instance = std::ptr::null_mut();
        try_unsafe!(ie_core_read_network(
            self.instance,
            cstr!(model_path),
            cstr!(weights_path),
            &mut instance as *mut *mut _,
        ))?;
        Ok(CNNNetwork { instance })
    }
pub fn read_network_from_file ( & mut self , model_path : & str , weights_path : & str , ) -> Result < CNNNetwork > { let mut instance = std :: ptr :: null_mut ( ) ; try_unsafe ! ( ie_core_read_network ( self instance cstr ( model_path ) cstr ( weights_path ) mut instance as mut mut ) ) ? ; Ok ( CNNNetwork { instance } ) }
Read a [CNNNetwork] from a pair of files: `model_path` points to an XML file containing the
OpenVINO network IR and `weights_path` points to the binary weights file.
Read a [ CNNNetwork ] from a pair of files : ` model_path ` points to an XML file containing the OpenVINO network IR and ` weights_path ` points to the binary weights file .
&mut self
model_path
&str
weights_path
&str
&mut self
model_path
&str
weights_path
&str