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