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