Type Alias onnxruntime_sys_ng::RegisterCustomOpsFn
source · pub type RegisterCustomOpsFn = Option<unsafe extern "C" fn(options: *mut OrtSessionOptions, api: *const OrtApiBase) -> *mut OrtStatus>;
Aliased Type§
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
.