Trait IMLOperatorKernelContext_Impl
pub trait IMLOperatorKernelContext_Impl: IUnknownImpl {
// 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: OutRef<'_, 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: OutRef<'_, IUnknown>)
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.