Struct tensorflow::ops::SaveDataset
source · pub struct SaveDataset { /* private fields */ }
Expand description
Builder for the SaveDataset
operation.
Implementations§
source§impl SaveDataset
impl SaveDataset
sourcepub fn compression<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn compression<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the compression
attribute.
sourcepub fn shard_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn shard_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the shard_func
attribute.
sourcepub fn use_shard_func<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_shard_func<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_shard_func
attribute.
sourcepub fn Tshard_func_args<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn Tshard_func_args<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the Tshard_func_args
attribute.
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,
input_dataset: O0,
path: O1,
shard_func_other_args: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, input_dataset: O0, path: O1, shard_func_other_args: O2, scope: &mut Scope ) -> Result<Operation>
Builds the SaveDataset
operation.
sourcepub fn build_instance(
&self,
input_dataset: Output,
path: Output,
shard_func_other_args: Output,
scope: &mut Scope
) -> Result<SaveDatasetInst>
pub fn build_instance( &self, input_dataset: Output, path: Output, shard_func_other_args: Output, scope: &mut Scope ) -> Result<SaveDatasetInst>
Builds a new instance of ‘SaveDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SaveDataset
impl Debug for SaveDataset
source§impl Default for SaveDataset
impl Default for SaveDataset
source§fn default() -> SaveDataset
fn default() -> SaveDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SaveDataset
impl Send for SaveDataset
impl Sync for SaveDataset
impl Unpin for SaveDataset
impl UnwindSafe for SaveDataset
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