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