pub type RegisterCustomOpsFn = Option<unsafe extern "C" fn(options: *mut OrtSessionOptions, api: *const OrtApiBase) -> *mut OrtStatus>;Aliased Type§
pub enum RegisterCustomOpsFn {
None,
Some(unsafe extern "C" fn(*mut OrtSessionOptions, *const OrtApiBase) -> *mut OrtStatus),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut OrtSessionOptions, *const OrtApiBase) -> *mut OrtStatus)
Some value of type T.