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