Struct windows::AI::MachineLearning::TensorUInt32Bit
#[repr(transparent)]pub struct TensorUInt32Bit(_);
Expand description
Required features: "AI_MachineLearning"
Implementations§
§impl TensorUInt32Bit
impl TensorUInt32Bit
pub fn Kind(&self) -> Result<LearningModelFeatureKind>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
Required features: "Foundation"
pub fn TensorKind(&self) -> Result<TensorKind>
pub fn Shape(&self) -> Result<IVectorView<i64>>
pub fn Shape(&self) -> Result<IVectorView<i64>>
Required features: "Foundation_Collections"
pub fn GetAsVectorView(&self) -> Result<IVectorView<u32>>
pub fn GetAsVectorView(&self) -> Result<IVectorView<u32>>
Required features: "Foundation_Collections"
pub fn Create() -> Result<TensorUInt32Bit>
pub fn Create2<P0>(shape: P0) -> Result<TensorUInt32Bit>where
P0: TryIntoParam<IIterable<i64>>,
pub fn Create2<P0>(shape: P0) -> Result<TensorUInt32Bit>where P0: TryIntoParam<IIterable<i64>>,
Required features: "Foundation_Collections"
pub fn CreateFromArray<P0>(shape: P0, data: &[u32]) -> Result<TensorUInt32Bit>where
P0: TryIntoParam<IIterable<i64>>,
pub fn CreateFromArray<P0>(shape: P0, data: &[u32]) -> Result<TensorUInt32Bit>where P0: TryIntoParam<IIterable<i64>>,
Required features: "Foundation_Collections"
pub fn CreateFromIterable<P0, P1>(
shape: P0,
data: P1
) -> Result<TensorUInt32Bit>where
P0: TryIntoParam<IIterable<i64>>,
P1: TryIntoParam<IIterable<u32>>,
pub fn CreateFromIterable<P0, P1>( shape: P0, data: P1 ) -> Result<TensorUInt32Bit>where P0: TryIntoParam<IIterable<i64>>, P1: TryIntoParam<IIterable<u32>>,
Required features: "Foundation_Collections"
pub fn CreateFromShapeArrayAndDataArray( shape: &[i64], data: &[u32] ) -> Result<TensorUInt32Bit>
pub fn CreateFromBuffer<P0>(
shape: &[i64],
buffer: P0
) -> Result<TensorUInt32Bit>where
P0: TryIntoParam<IBuffer>,
pub fn CreateFromBuffer<P0>( shape: &[i64], buffer: P0 ) -> Result<TensorUInt32Bit>where P0: TryIntoParam<IBuffer>,
Required features: "Storage_Streams"
Trait Implementations§
§impl Clone for TensorUInt32Bit
impl Clone for TensorUInt32Bit
§impl ComInterface for TensorUInt32Bit
impl ComInterface for TensorUInt32Bit
§const IID: GUID = <ITensorUInt32Bit as ::windows_core::ComInterface>::IID
const IID: GUID = <ITensorUInt32Bit as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for TensorUInt32Bit
impl Debug for TensorUInt32Bit
§impl Interface for TensorUInt32Bit
impl Interface for TensorUInt32Bit
type Vtable = ITensorUInt32Bit_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§impl PartialEq<TensorUInt32Bit> for TensorUInt32Bit
impl PartialEq<TensorUInt32Bit> for TensorUInt32Bit
impl Eq for TensorUInt32Bit
impl Send for TensorUInt32Bit
impl Sync for TensorUInt32Bit
Auto Trait Implementations§
impl RefUnwindSafe for TensorUInt32Bit
impl Unpin for TensorUInt32Bit
impl UnwindSafe for TensorUInt32Bit
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