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