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