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