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