Struct tensorflow::ops::FIFOQueue
source · pub struct FIFOQueue { /* private fields */ }
Expand description
Builder for the FIFOQueue
operation.
Implementations§
source§impl FIFOQueue
impl FIFOQueue
sourcepub fn component_types<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn component_types<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the component_types
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 container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
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_instance(&self, scope: &mut Scope) -> Result<FIFOQueueInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<FIFOQueueInst>
Builds a new instance of ‘FIFOQueue’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FIFOQueue
impl Send for FIFOQueue
impl Sync for FIFOQueue
impl Unpin for FIFOQueue
impl UnwindSafe for FIFOQueue
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