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