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