Struct tensorflow::eager::raw_ops::BarrierTakeMany
source · pub struct BarrierTakeMany { /* private fields */ }
Expand description
BarrierTakeMany
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BarrierTakeMany
Implementations§
source§impl BarrierTakeMany
impl BarrierTakeMany
sourcepub fn component_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn component_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the component_types
attribute.
sourcepub fn allow_small_batch<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn allow_small_batch<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the allow_small_batch
attribute.
sourcepub fn wait_for_incomplete<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn wait_for_incomplete<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the wait_for_incomplete
attribute.
sourcepub fn timeout_ms<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn timeout_ms<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the timeout_ms
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, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
handle: &T0,
num_elements: &T1
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, handle: &T0, num_elements: &T1 ) -> Result<[TensorHandle<'a>; 3]>
Execute barrier_take_many.
Trait Implementations§
source§impl Clone for BarrierTakeMany
impl Clone for BarrierTakeMany
source§fn clone(&self) -> BarrierTakeMany
fn clone(&self) -> BarrierTakeMany
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BarrierTakeMany
impl Debug for BarrierTakeMany
Auto Trait Implementations§
impl RefUnwindSafe for BarrierTakeMany
impl Send for BarrierTakeMany
impl Sync for BarrierTakeMany
impl Unpin for BarrierTakeMany
impl UnwindSafe for BarrierTakeMany
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