Struct tfrecord::protobuf_ext::TchTensorAsImage
source · [−]pub struct TchTensorAsImage { /* private fields */ }
Implementations
sourceimpl TchTensorAsImage
impl TchTensorAsImage
pub fn new(
color_space: ColorSpace,
order: TchChannelOrder,
tensor: Tensor
) -> Result<Self, Error>
Trait Implementations
sourceimpl Debug for TchTensorAsImage
impl Debug for TchTensorAsImage
sourceimpl PartialEq<TchTensorAsImage> for TchTensorAsImage
impl PartialEq<TchTensorAsImage> for TchTensorAsImage
sourcefn eq(&self, other: &TchTensorAsImage) -> bool
fn eq(&self, other: &TchTensorAsImage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TchTensorAsImage) -> bool
fn ne(&self, other: &TchTensorAsImage) -> bool
This method tests for !=
.
sourceimpl TryFrom<TchTensorAsImage> for Image
impl TryFrom<TchTensorAsImage> for Image
impl StructuralPartialEq for TchTensorAsImage
Auto Trait Implementations
impl RefUnwindSafe for TchTensorAsImage
impl Send for TchTensorAsImage
impl !Sync for TchTensorAsImage
impl Unpin for TchTensorAsImage
impl UnwindSafe for TchTensorAsImage
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