Struct show_image::tch::TensorImage
source · [−]pub struct TensorImage<'a> { /* private fields */ }
Available on crate feature
tch
only.Expand description
Wrapper for tch::Tensor
that implements Into<Image>
.
Trait Implementations
sourceimpl<'a> From<TensorImage<'a>> for Image
impl<'a> From<TensorImage<'a>> for Image
sourcefn from(other: TensorImage<'a>) -> Self
fn from(other: TensorImage<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<'a> RefUnwindSafe for TensorImage<'a>
impl<'a> !Send for TensorImage<'a>
impl<'a> !Sync for TensorImage<'a>
impl<'a> Unpin for TensorImage<'a>
impl<'a> UnwindSafe for TensorImage<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more