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