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