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