Struct tensorflow::eager::raw_ops::ClipByValue
source · pub struct ClipByValue { /* private fields */ }
Expand description
ClipByValue
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ClipByValue
Implementations§
source§impl ClipByValue
impl ClipByValue
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
t: &T0,
clip_value_min: &T1,
clip_value_max: &T2
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, t: &T0, clip_value_min: &T1, clip_value_max: &T2 ) -> Result<TensorHandle<'a>>
Execute clip_by_value.
Trait Implementations§
source§impl Clone for ClipByValue
impl Clone for ClipByValue
source§fn clone(&self) -> ClipByValue
fn clone(&self) -> ClipByValue
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 ClipByValue
impl Debug for ClipByValue
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