Struct tensorflow::ops::AdjustContrast
source · pub struct AdjustContrast { /* private fields */ }
Expand description
Builder for the AdjustContrast
operation.
Implementations§
source§impl AdjustContrast
impl AdjustContrast
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
images: O0,
contrast_factor: O1,
min_value: O2,
max_value: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, images: O0, contrast_factor: O1, min_value: O2, max_value: O3, scope: &mut Scope ) -> Result<Operation>
Builds the AdjustContrast
operation.
sourcepub fn build_instance(
&self,
images: Output,
contrast_factor: Output,
min_value: Output,
max_value: Output,
scope: &mut Scope
) -> Result<AdjustContrastInst>
pub fn build_instance( &self, images: Output, contrast_factor: Output, min_value: Output, max_value: Output, scope: &mut Scope ) -> Result<AdjustContrastInst>
Builds a new instance of ‘AdjustContrast’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for AdjustContrast
impl Debug for AdjustContrast
source§impl Default for AdjustContrast
impl Default for AdjustContrast
source§fn default() -> AdjustContrast
fn default() -> AdjustContrast
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AdjustContrast
impl Send for AdjustContrast
impl Sync for AdjustContrast
impl Unpin for AdjustContrast
impl UnwindSafe for AdjustContrast
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