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