Struct windows::AI::MachineLearning::TensorKind
#[repr(transparent)]pub struct TensorKind(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl TensorKind
impl TensorKind
pub const Undefined: Self = _
pub const Float: Self = _
pub const UInt8: Self = _
pub const Int8: Self = _
pub const UInt16: Self = _
pub const Int16: Self = _
pub const Int32: Self = _
pub const Int64: Self = _
pub const String: Self = _
pub const Boolean: Self = _
pub const Float16: Self = _
pub const Double: Self = _
pub const UInt32: Self = _
pub const UInt64: Self = _
pub const Complex64: Self = _
pub const Complex128: Self = _
Trait Implementations§
§impl Clone for TensorKind
impl Clone for TensorKind
§fn clone(&self) -> TensorKind
fn clone(&self) -> TensorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for TensorKind
impl Debug for TensorKind
§impl Default for TensorKind
impl Default for TensorKind
§fn default() -> TensorKind
fn default() -> TensorKind
Returns the “default value” for a type. Read more
§impl PartialEq for TensorKind
impl PartialEq for TensorKind
§fn eq(&self, other: &TensorKind) -> bool
fn eq(&self, other: &TensorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TensorKind
impl Eq for TensorKind
impl StructuralPartialEq for TensorKind
Auto Trait Implementations§
impl Freeze for TensorKind
impl RefUnwindSafe for TensorKind
impl Send for TensorKind
impl Sync for TensorKind
impl Unpin for TensorKind
impl UnwindSafe for TensorKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)