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