Struct tensorflow::ops::ShuffleDatasetInst
source · pub struct ShuffleDatasetInst {
pub op: Operation,
}
Expand description
An instance of ‘ShuffleDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built ShuffleDataset Operation in a Tensorflow graph.
Implementations§
source§impl ShuffleDatasetInst
impl ShuffleDatasetInst
sourcepub fn input_dataset(&self) -> Input<'_>
pub fn input_dataset(&self) -> Input<'_>
Returns the ‘input_dataset’ Input of this ‘ShuffleDataset’ operation.
sourcepub fn buffer_size(&self) -> Input<'_>
pub fn buffer_size(&self) -> Input<'_>
Returns the ‘buffer_size’ Input of this ‘ShuffleDataset’ operation.
Trait Implementations§
source§impl Clone for ShuffleDatasetInst
impl Clone for ShuffleDatasetInst
source§fn clone(&self) -> ShuffleDatasetInst
fn clone(&self) -> ShuffleDatasetInst
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 ShuffleDatasetInst
impl Debug for ShuffleDatasetInst
source§impl From<ShuffleDatasetInst> for Operation
impl From<ShuffleDatasetInst> for Operation
source§fn from(inst: ShuffleDatasetInst) -> Operation
fn from(inst: ShuffleDatasetInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ShuffleDatasetInst
impl Send for ShuffleDatasetInst
impl Sync for ShuffleDatasetInst
impl Unpin for ShuffleDatasetInst
impl UnwindSafe for ShuffleDatasetInst
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