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