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