Function executorch_sys::torch::executor::Program_load

source ยท
pub unsafe extern "C" fn Program_load(
    loader: *mut DataLoader,
    verification: Program_Verification,
) -> Result<Program>
Expand description

Loads a Program from the provided loader. The Program will hold a pointer to the loader, which must outlive the returned Program instance.

@param[in] loader The source to load program data from. The Program will hold a pointer to this loader, which must outlive the returned Program instance. @param[in] verification The type of verification to do before returning success.