pub trait IMLOperatorTensor_Impl: Sized {
    // Required methods
    fn GetDimensionCount(&self) -> u32;
    fn GetShape(&self, dimensioncount: u32, dimensions: *mut u32) -> Result<()>;
    fn GetTensorDataType(&self) -> MLOperatorTensorDataType;
    fn IsCpuData(&self) -> bool;
    fn IsDataInterface(&self) -> bool;
    fn GetData(&self) -> *mut c_void;
    fn GetDataInterface(&self, datainterface: *mut Option<IUnknown>);
}

Required Methods§

fn GetDimensionCount(&self) -> u32

fn GetShape(&self, dimensioncount: u32, dimensions: *mut u32) -> Result<()>

fn GetTensorDataType(&self) -> MLOperatorTensorDataType

fn IsCpuData(&self) -> bool

fn IsDataInterface(&self) -> bool

fn GetData(&self) -> *mut c_void

fn GetDataInterface(&self, datainterface: *mut Option<IUnknown>)

Object Safety§

This trait is not object safe.

Implementors§