Struct tensorflow::eager::raw_ops::MutexV2
source · pub struct MutexV2 { /* private fields */ }
Expand description
Implementations§
source§impl MutexV2
impl MutexV2
sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
attribute.
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>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute mutex_v2.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MutexV2
impl Send for MutexV2
impl Sync for MutexV2
impl Unpin for MutexV2
impl UnwindSafe for MutexV2
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