Struct tensorflow::ops::ConsumeMutexLock
source · [−]pub struct ConsumeMutexLock { /* private fields */ }
Expand description
Builder for the ConsumeMutexLock
operation.
Implementations
sourceimpl ConsumeMutexLock
impl ConsumeMutexLock
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_lock: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
mutex_lock: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the ConsumeMutexLock
operation.
sourcepub fn build_instance(
&self,
mutex_lock: Output,
scope: &mut Scope
) -> Result<ConsumeMutexLockInst>
pub fn build_instance(
&self,
mutex_lock: Output,
scope: &mut Scope
) -> Result<ConsumeMutexLockInst>
Builds a new instance of ‘ConsumeMutexLock’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for ConsumeMutexLock
impl Debug for ConsumeMutexLock
sourceimpl Default for ConsumeMutexLock
impl Default for ConsumeMutexLock
sourcefn default() -> ConsumeMutexLock
fn default() -> ConsumeMutexLock
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConsumeMutexLock
impl Send for ConsumeMutexLock
impl Sync for ConsumeMutexLock
impl Unpin for ConsumeMutexLock
impl UnwindSafe for ConsumeMutexLock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more