#[repr(i32)]pub enum LoopOutput {
kLAST_VALUE = 0,
kCONCATENATE = 1,
kREVERSE = 2,
}Expand description
! ! \enum LoopOutput ! ! \brief Enum that describes kinds of loop outputs. !
Variants§
kLAST_VALUE = 0
! Output value is value of tensor for last iteration.
kCONCATENATE = 1
! Output value is concatenation of values of tensor for each iteration, in forward order.
kREVERSE = 2
! Output value is concatenation of values of tensor for each iteration, in reverse order.
Trait Implementations§
Source§impl Clone for LoopOutput
impl Clone for LoopOutput
Source§fn clone(&self) -> LoopOutput
fn clone(&self) -> LoopOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoopOutput
impl Debug for LoopOutput
Source§impl From<LoopOutput> for LoopOutput
impl From<LoopOutput> for LoopOutput
Source§fn from(value: LoopOutput) -> Self
fn from(value: LoopOutput) -> Self
Converts to this type from the input type.
Source§impl Hash for LoopOutput
impl Hash for LoopOutput
Source§impl Into<LoopOutput> for LoopOutput
impl Into<LoopOutput> for LoopOutput
Source§fn into(self) -> LoopOutput
fn into(self) -> LoopOutput
Converts this type into the (usually inferred) input type.
Source§impl Ord for LoopOutput
impl Ord for LoopOutput
Source§fn cmp(&self, other: &LoopOutput) -> Ordering
fn cmp(&self, other: &LoopOutput) -> Ordering
1.21.0 (const: unstable) · 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 LoopOutput
impl PartialEq for LoopOutput
Source§fn eq(&self, other: &LoopOutput) -> bool
fn eq(&self, other: &LoopOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LoopOutput
impl PartialOrd for LoopOutput
impl Copy for LoopOutput
impl Eq for LoopOutput
impl StructuralPartialEq for LoopOutput
Auto Trait Implementations§
impl Freeze for LoopOutput
impl RefUnwindSafe for LoopOutput
impl Send for LoopOutput
impl Sync for LoopOutput
impl Unpin for LoopOutput
impl UnsafeUnpin for LoopOutput
impl UnwindSafe for LoopOutput
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