pub struct ShuffleAndRepeatDataset { /* private fields */ }
Expand description
Builder for the ShuffleAndRepeatDataset
operation.
Implementations§
Source§impl ShuffleAndRepeatDataset
impl ShuffleAndRepeatDataset
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 reshuffle_each_iteration<ArgType: Into<bool>>(
self,
value: ArgType,
) -> Self
pub fn reshuffle_each_iteration<ArgType: Into<bool>>( self, value: ArgType, ) -> Self
Sets the reshuffle_each_iteration
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for ShuffleAndRepeatDataset
impl Debug for ShuffleAndRepeatDataset
Source§impl Default for ShuffleAndRepeatDataset
impl Default for ShuffleAndRepeatDataset
Source§fn default() -> ShuffleAndRepeatDataset
fn default() -> ShuffleAndRepeatDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShuffleAndRepeatDataset
impl RefUnwindSafe for ShuffleAndRepeatDataset
impl Send for ShuffleAndRepeatDataset
impl Sync for ShuffleAndRepeatDataset
impl Unpin for ShuffleAndRepeatDataset
impl UnwindSafe for ShuffleAndRepeatDataset
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