pub trait IMLOperatorKernelCreationContext_Impl: Sized + 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: *mut Option<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: *mut Option<IUnknown>)
Object Safety§
This trait is not object safe.