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