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