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