Struct tensorflow::ops::MutexLock
source · pub struct MutexLock { /* private fields */ }
Expand description
Builder for the MutexLock
operation.
Implementations§
source§impl MutexLock
impl MutexLock
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,
mutex: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, mutex: O0, scope: &mut Scope ) -> Result<Operation>
Builds the MutexLock
operation.
sourcepub fn build_instance(
&self,
mutex: Output,
scope: &mut Scope
) -> Result<MutexLockInst>
pub fn build_instance( &self, mutex: Output, scope: &mut Scope ) -> Result<MutexLockInst>
Builds a new instance of ‘MutexLock’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MutexLock
impl Send for MutexLock
impl Sync for MutexLock
impl Unpin for MutexLock
impl UnwindSafe for MutexLock
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