#[repr(C)]pub struct IMLOperatorShapeInferenceContext_Vtbl {
pub base__: IMLOperatorAttributes_Vtbl,
pub GetInputCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetOutputCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub IsInputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool,
pub IsOutputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool,
pub GetInputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT,
pub GetInputTensorDimensionCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT,
pub GetInputTensorShape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut u32) -> HRESULT,
pub SetOutputTensorShape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const u32) -> HRESULT,
}
Fields§
§base__: IMLOperatorAttributes_Vtbl
§GetInputCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetOutputCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§IsInputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool
§IsOutputValid: unsafe extern "system" fn(_: *mut c_void, _: u32) -> bool
§GetInputEdgeDescription: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MLOperatorEdgeDescription) -> HRESULT
§GetInputTensorDimensionCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT
§GetInputTensorShape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut u32) -> HRESULT
§SetOutputTensorShape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const u32) -> HRESULT
Implementations§
§impl IMLOperatorShapeInferenceContext_Vtbl
impl IMLOperatorShapeInferenceContext_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMLOperatorShapeInferenceContext_Vtblwhere
Identity: IMLOperatorShapeInferenceContext_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMLOperatorShapeInferenceContext_Vtbl
impl RefUnwindSafe for IMLOperatorShapeInferenceContext_Vtbl
impl Send for IMLOperatorShapeInferenceContext_Vtbl
impl Sync for IMLOperatorShapeInferenceContext_Vtbl
impl Unpin for IMLOperatorShapeInferenceContext_Vtbl
impl UnwindSafe for IMLOperatorShapeInferenceContext_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more