Struct tensorflow::ops::BarrierTakeMany
source · pub struct BarrierTakeMany { /* private fields */ }
Expand description
Builder for the BarrierTakeMany
operation.
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 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>, O1: Into<Output>>(
&self,
handle: O0,
num_elements: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, handle: O0, num_elements: O1, scope: &mut Scope ) -> Result<Operation>
Builds the BarrierTakeMany
operation.
sourcepub fn build_instance(
&self,
handle: Output,
num_elements: Output,
scope: &mut Scope
) -> Result<BarrierTakeManyInst>
pub fn build_instance( &self, handle: Output, num_elements: Output, scope: &mut Scope ) -> Result<BarrierTakeManyInst>
Builds a new instance of ‘BarrierTakeMany’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for BarrierTakeMany
impl Debug for BarrierTakeMany
source§impl Default for BarrierTakeMany
impl Default for BarrierTakeMany
source§fn default() -> BarrierTakeMany
fn default() -> BarrierTakeMany
Returns the “default value” for a type. Read more
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