Function tensorflow::eager::raw_ops::mutex_lock
source · pub fn mutex_lock<'a, T0: ToTensorHandle<'a>>(
ctx: &'a Context,
mutex: &T0
) -> Result<TensorHandle<'a>>
Expand description
Shorthand for MutexLock::new().call(&ctx, &mutex)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MutexLock