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