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