pub trait IMLOperatorKernelContext_Impl: Sized {
    // Required methods
    fn GetInputTensor(&self, inputindex: u32) -> Result<IMLOperatorTensor>;
    fn GetOutputTensor(
        &self,
        outputindex: u32,
        dimensioncount: u32,
        dimensionsizes: *const u32
    ) -> Result<IMLOperatorTensor>;
    fn GetOutputTensor2(&self, outputindex: u32) -> Result<IMLOperatorTensor>;
    fn AllocateTemporaryData(&self, size: usize) -> Result<IUnknown>;
    fn GetExecutionInterface(&self, executionobject: *mut Option<IUnknown>);
}

Required Methods§

fn GetInputTensor(&self, inputindex: u32) -> Result<IMLOperatorTensor>

fn GetOutputTensor( &self, outputindex: u32, dimensioncount: u32, dimensionsizes: *const u32 ) -> Result<IMLOperatorTensor>

fn GetOutputTensor2(&self, outputindex: u32) -> Result<IMLOperatorTensor>

fn AllocateTemporaryData(&self, size: usize) -> Result<IUnknown>

fn GetExecutionInterface(&self, executionobject: *mut Option<IUnknown>)

Object Safety§

This trait is not object safe.

Implementors§