Trait windows::Win32::AI::MachineLearning::WinML::IMLOperatorRegistry_Impl
pub trait IMLOperatorRegistry_Impl: Sized {
// Required methods
fn RegisterOperatorSetSchema(
&self,
operatorsetid: *const MLOperatorSetId,
baselineversion: i32,
schema: *const *const MLOperatorSchemaDescription,
schemacount: u32,
typeinferrer: Option<&IMLOperatorTypeInferrer>,
shapeinferrer: Option<&IMLOperatorShapeInferrer>
) -> Result<()>;
fn RegisterOperatorKernel(
&self,
operatorkernel: *const MLOperatorKernelDescription,
operatorkernelfactory: Option<&IMLOperatorKernelFactory>,
shapeinferrer: Option<&IMLOperatorShapeInferrer>
) -> Result<()>;
}
Required Methods§
fn RegisterOperatorSetSchema( &self, operatorsetid: *const MLOperatorSetId, baselineversion: i32, schema: *const *const MLOperatorSchemaDescription, schemacount: u32, typeinferrer: Option<&IMLOperatorTypeInferrer>, shapeinferrer: Option<&IMLOperatorShapeInferrer> ) -> Result<()>
fn RegisterOperatorKernel( &self, operatorkernel: *const MLOperatorKernelDescription, operatorkernelfactory: Option<&IMLOperatorKernelFactory>, shapeinferrer: Option<&IMLOperatorShapeInferrer> ) -> Result<()>
Object Safety§
This trait is not object safe.