Trait IMLOperatorKernelCreationContext_Impl
pub trait IMLOperatorKernelCreationContext_Impl: IMLOperatorAttributes_Impl {
// Required methods
fn GetInputCount(&self) -> u32;
fn GetOutputCount(&self) -> u32;
fn IsInputValid(&self, inputindex: u32) -> bool;
fn IsOutputValid(&self, outputindex: u32) -> bool;
fn GetInputEdgeDescription(
&self,
inputindex: u32,
) -> Result<MLOperatorEdgeDescription>;
fn GetOutputEdgeDescription(
&self,
outputindex: u32,
) -> Result<MLOperatorEdgeDescription>;
fn HasTensorShapeDescription(&self) -> bool;
fn GetTensorShapeDescription(
&self,
) -> Result<IMLOperatorTensorShapeDescription>;
fn GetExecutionInterface(&self, executionobject: OutRef<'_, IUnknown>);
}
Required Methods§
fn GetInputCount(&self) -> u32
fn GetOutputCount(&self) -> u32
fn IsInputValid(&self, inputindex: u32) -> bool
fn IsOutputValid(&self, outputindex: u32) -> bool
fn GetInputEdgeDescription( &self, inputindex: u32, ) -> Result<MLOperatorEdgeDescription>
fn GetOutputEdgeDescription( &self, outputindex: u32, ) -> Result<MLOperatorEdgeDescription>
fn HasTensorShapeDescription(&self) -> bool
fn GetTensorShapeDescription(&self) -> Result<IMLOperatorTensorShapeDescription>
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.