Struct tensorflow::eager::raw_ops::CheckNumerics
source · pub struct CheckNumerics { /* private fields */ }
Expand description
CheckNumerics
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/CheckNumerics
Implementations§
source§impl CheckNumerics
impl CheckNumerics
sourcepub fn message<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn message<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the message
attribute.
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>>(
&self,
ctx: &'a Context,
tensor: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, tensor: &T0 ) -> Result<TensorHandle<'a>>
Execute check_numerics.
Trait Implementations§
source§impl Clone for CheckNumerics
impl Clone for CheckNumerics
source§fn clone(&self) -> CheckNumerics
fn clone(&self) -> CheckNumerics
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 CheckNumerics
impl Debug for CheckNumerics
Auto Trait Implementations§
impl RefUnwindSafe for CheckNumerics
impl Send for CheckNumerics
impl Sync for CheckNumerics
impl Unpin for CheckNumerics
impl UnwindSafe for CheckNumerics
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