Struct tensorflow::ops::ShardedFilename
source · pub struct ShardedFilename { /* private fields */ }
Expand description
Builder for the ShardedFilename
operation.
Implementations§
source§impl ShardedFilename
impl ShardedFilename
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
basename: O0,
shard: O1,
num_shards: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, basename: O0, shard: O1, num_shards: O2, scope: &mut Scope ) -> Result<Operation>
Builds the ShardedFilename
operation.
sourcepub fn build_instance(
&self,
basename: Output,
shard: Output,
num_shards: Output,
scope: &mut Scope
) -> Result<ShardedFilenameInst>
pub fn build_instance( &self, basename: Output, shard: Output, num_shards: Output, scope: &mut Scope ) -> Result<ShardedFilenameInst>
Builds a new instance of ‘ShardedFilename’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ShardedFilename
impl Debug for ShardedFilename
source§impl Default for ShardedFilename
impl Default for ShardedFilename
source§fn default() -> ShardedFilename
fn default() -> ShardedFilename
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ShardedFilename
impl Send for ShardedFilename
impl Sync for ShardedFilename
impl Unpin for ShardedFilename
impl UnwindSafe for ShardedFilename
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