pub enum TchTensorImageShape {
Whc,
Hwc,
Chw,
Cwh,
}Expand description
Describes the image channel order of a Tensor.
Variants§
Trait Implementations§
Source§impl Clone for TchTensorImageShape
impl Clone for TchTensorImageShape
Source§fn clone(&self) -> TchTensorImageShape
fn clone(&self) -> TchTensorImageShape
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 TchTensorImageShape
impl Debug for TchTensorImageShape
impl Copy for TchTensorImageShape
Auto Trait Implementations§
impl Freeze for TchTensorImageShape
impl RefUnwindSafe for TchTensorImageShape
impl Send for TchTensorImageShape
impl Sync for TchTensorImageShape
impl Unpin for TchTensorImageShape
impl UnwindSafe for TchTensorImageShape
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