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