Struct tensorflow::eager::raw_ops::SnapshotDataset
source · pub struct SnapshotDataset { /* private fields */ }Expand description
SnapshotDataset
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SnapshotDataset
Implementations§
source§impl SnapshotDataset
impl SnapshotDataset
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 compression<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn compression<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the compression attribute.
sourcepub fn reader_path_prefix<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reader_path_prefix<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reader_path_prefix attribute.
sourcepub fn writer_path_prefix<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn writer_path_prefix<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the writer_path_prefix attribute.
sourcepub fn shard_size_bytes<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn shard_size_bytes<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the shard_size_bytes attribute.
sourcepub fn pending_snapshot_expiry_seconds<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn pending_snapshot_expiry_seconds<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the pending_snapshot_expiry_seconds attribute.
sourcepub fn num_reader_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_reader_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_reader_threads attribute.
sourcepub fn reader_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn reader_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the reader_buffer_size attribute.
sourcepub fn num_writer_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_writer_threads<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_writer_threads attribute.
sourcepub fn writer_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn writer_buffer_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the writer_buffer_size attribute.
sourcepub fn shuffle_on_read<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn shuffle_on_read<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the shuffle_on_read attribute.
sourcepub fn snapshot_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn snapshot_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the snapshot_name attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input_dataset: &T0,
path: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_dataset: &T0, path: &T1 ) -> Result<TensorHandle<'a>>
Execute snapshot_dataset.
Trait Implementations§
source§impl Clone for SnapshotDataset
impl Clone for SnapshotDataset
source§fn clone(&self) -> SnapshotDataset
fn clone(&self) -> SnapshotDataset
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 SnapshotDataset
impl Debug for SnapshotDataset
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotDataset
impl Send for SnapshotDataset
impl Sync for SnapshotDataset
impl Unpin for SnapshotDataset
impl UnwindSafe for SnapshotDataset
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