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