windows::Win32::AI::MachineLearning::WinML

Trait IMLOperatorRegistry_Impl

pub trait IMLOperatorRegistry_Impl: IUnknownImpl {
    // Required methods
    fn RegisterOperatorSetSchema(
        &self,
        operatorsetid: *const MLOperatorSetId,
        baselineversion: i32,
        schema: *const *const MLOperatorSchemaDescription,
        schemacount: u32,
        typeinferrer: Ref<'_, IMLOperatorTypeInferrer>,
        shapeinferrer: Ref<'_, IMLOperatorShapeInferrer>,
    ) -> Result<()>;
    fn RegisterOperatorKernel(
        &self,
        operatorkernel: *const MLOperatorKernelDescription,
        operatorkernelfactory: Ref<'_, IMLOperatorKernelFactory>,
        shapeinferrer: Ref<'_, IMLOperatorShapeInferrer>,
    ) -> Result<()>;
}

Required Methods§

fn RegisterOperatorSetSchema( &self, operatorsetid: *const MLOperatorSetId, baselineversion: i32, schema: *const *const MLOperatorSchemaDescription, schemacount: u32, typeinferrer: Ref<'_, IMLOperatorTypeInferrer>, shapeinferrer: Ref<'_, IMLOperatorShapeInferrer>, ) -> Result<()>

fn RegisterOperatorKernel( &self, operatorkernel: *const MLOperatorKernelDescription, operatorkernelfactory: Ref<'_, IMLOperatorKernelFactory>, shapeinferrer: Ref<'_, IMLOperatorShapeInferrer>, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§