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