#[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 ExternType for TensorIOMode
impl ExternType for TensorIOMode
Source§impl Hash for TensorIOMode
impl Hash for TensorIOMode
Source§impl PartialEq for TensorIOMode
impl PartialEq for TensorIOMode
impl Eq for TensorIOMode
impl StructuralPartialEq for TensorIOMode
impl UniquePtrTarget for TensorIOMode
impl VectorElement for TensorIOMode
impl WeakPtrTarget 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 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