Struct tensorflow::eager::raw_ops::RandomShuffleQueue
source · pub struct RandomShuffleQueue { /* private fields */ }
Expand description
RandomShuffleQueue
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RandomShuffleQueue
Implementations§
source§impl RandomShuffleQueue
impl RandomShuffleQueue
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 min_after_dequeue<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn min_after_dequeue<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the min_after_dequeue
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute random_shuffle_queue.
Trait Implementations§
source§impl Clone for RandomShuffleQueue
impl Clone for RandomShuffleQueue
source§fn clone(&self) -> RandomShuffleQueue
fn clone(&self) -> RandomShuffleQueue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RandomShuffleQueue
impl Debug for RandomShuffleQueue
Auto Trait Implementations§
impl RefUnwindSafe for RandomShuffleQueue
impl Send for RandomShuffleQueue
impl Sync for RandomShuffleQueue
impl Unpin for RandomShuffleQueue
impl UnwindSafe for RandomShuffleQueue
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