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