Struct tensorflow::eager::raw_ops::DebugIdentity
source · pub struct DebugIdentity { /* private fields */ }
Expand description
DebugIdentity
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DebugIdentity
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 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,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute debug_identity.
Trait Implementations§
source§impl Clone for DebugIdentity
impl Clone for DebugIdentity
source§fn clone(&self) -> DebugIdentity
fn clone(&self) -> DebugIdentity
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 DebugIdentity
impl Debug for DebugIdentity
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