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