pub enum GranularityArg {
Tensor,
Channel,
Group,
}Expand description
--granularity values.
Variants§
Trait Implementations§
Source§impl Clone for GranularityArg
impl Clone for GranularityArg
Source§fn clone(&self) -> GranularityArg
fn clone(&self) -> GranularityArg
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 GranularityArg
impl Debug for GranularityArg
Source§impl ValueEnum for GranularityArg
impl ValueEnum for GranularityArg
impl Copy for GranularityArg
Auto Trait Implementations§
impl Freeze for GranularityArg
impl RefUnwindSafe for GranularityArg
impl Send for GranularityArg
impl Sync for GranularityArg
impl Unpin for GranularityArg
impl UnsafeUnpin for GranularityArg
impl UnwindSafe for GranularityArg
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