#[repr(i32)]pub enum TensorIOMode {
kNONE = 0,
kINPUT = 1,
kOUTPUT = 2,
}Expand description
! ! \enum TensorIOMode ! ! \brief Definition of tensor IO Mode. !
Variants§
kNONE = 0
! Tensor is not an input or output.
kINPUT = 1
! Tensor is input to the engine.
kOUTPUT = 2
! Tensor is output by the engine.
Trait Implementations§
Source§impl Clone for TensorIOMode
impl Clone for TensorIOMode
Source§fn clone(&self) -> TensorIOMode
fn clone(&self) -> TensorIOMode
Returns a duplicate 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 moreSource§impl Debug for TensorIOMode
impl Debug for TensorIOMode
Source§impl From<TensorIOMode> for TensorIOMode
impl From<TensorIOMode> for TensorIOMode
Source§fn from(value: TensorIOMode) -> Self
fn from(value: TensorIOMode) -> Self
Converts to this type from the input type.
Source§impl Hash for TensorIOMode
impl Hash for TensorIOMode
Source§impl Into<TensorIOMode> for TensorIOMode
impl Into<TensorIOMode> for TensorIOMode
Source§fn into(self) -> TensorIOMode
fn into(self) -> TensorIOMode
Converts this type into the (usually inferred) input type.
Source§impl Ord for TensorIOMode
impl Ord for TensorIOMode
Source§fn cmp(&self, other: &TensorIOMode) -> Ordering
fn cmp(&self, other: &TensorIOMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TensorIOMode
impl PartialEq for TensorIOMode
Source§impl PartialOrd for TensorIOMode
impl PartialOrd for TensorIOMode
impl Copy for TensorIOMode
impl Eq for TensorIOMode
impl StructuralPartialEq for TensorIOMode
Auto Trait Implementations§
impl Freeze for TensorIOMode
impl RefUnwindSafe for TensorIOMode
impl Send for TensorIOMode
impl Sync for TensorIOMode
impl Unpin for TensorIOMode
impl UnsafeUnpin for TensorIOMode
impl UnwindSafe for TensorIOMode
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