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