Struct tensorflow::ops::DecodeAndCropJpegInst
source · pub struct DecodeAndCropJpegInst {
pub op: Operation,
}
Expand description
An instance of ‘DecodeAndCropJpeg’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built DecodeAndCropJpeg Operation in a Tensorflow graph.
Implementations§
source§impl DecodeAndCropJpegInst
impl DecodeAndCropJpegInst
sourcepub fn image(&self) -> Output
pub fn image(&self) -> Output
Returns the ‘image’ Output of this ‘DecodeAndCropJpeg’ operation.
sourcepub fn contents(&self) -> Input<'_>
pub fn contents(&self) -> Input<'_>
Returns the ‘contents’ Input of this ‘DecodeAndCropJpeg’ operation.
sourcepub fn crop_window(&self) -> Input<'_>
pub fn crop_window(&self) -> Input<'_>
Returns the ‘crop_window’ Input of this ‘DecodeAndCropJpeg’ operation.
Trait Implementations§
source§impl Clone for DecodeAndCropJpegInst
impl Clone for DecodeAndCropJpegInst
source§fn clone(&self) -> DecodeAndCropJpegInst
fn clone(&self) -> DecodeAndCropJpegInst
Returns a copy 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 DecodeAndCropJpegInst
impl Debug for DecodeAndCropJpegInst
source§impl From<DecodeAndCropJpegInst> for Operation
impl From<DecodeAndCropJpegInst> for Operation
source§fn from(inst: DecodeAndCropJpegInst) -> Operation
fn from(inst: DecodeAndCropJpegInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DecodeAndCropJpegInst
impl Send for DecodeAndCropJpegInst
impl Sync for DecodeAndCropJpegInst
impl Unpin for DecodeAndCropJpegInst
impl UnwindSafe for DecodeAndCropJpegInst
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