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