pub unsafe fn ie_core_read_network(
    core: *mut ie_core_t,
    xml: *const c_char,
    weights_file: *const c_char,
    network: *mut *mut ie_network_t
) -> IEStatusCode
Expand description

@brief Reads the model from the .xml and .bin files of the IR. Use the ie_network_free() method to free memory. @ingroup Core @param core A pointer to the ie_core_t instance. @param xml .xml file’s path of the IR. @param weights_file .bin file’s path of the IR, if path is empty, will try to read bin file with the same name as xml and if bin file with the same name was not found, will load IR without weights. @param network A pointer to the newly created network. @return Status code of the operation: OK(0) for success.