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