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