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