pub struct ExperimentalIgnoreErrorsDataset { /* private fields */ }
Expand description
Builder for the ExperimentalIgnoreErrorsDataset
operation.
Implementations§
Source§impl ExperimentalIgnoreErrorsDataset
impl ExperimentalIgnoreErrorsDataset
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 log_warning<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn log_warning<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the log_warning
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>>(
&self,
input_dataset: O0,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input_dataset: O0, scope: &mut Scope, ) -> Result<Operation>
Builds the ExperimentalIgnoreErrorsDataset
operation.
Sourcepub fn build_instance(
&self,
input_dataset: Output,
scope: &mut Scope,
) -> Result<ExperimentalIgnoreErrorsDatasetInst>
pub fn build_instance( &self, input_dataset: Output, scope: &mut Scope, ) -> Result<ExperimentalIgnoreErrorsDatasetInst>
Builds a new instance of ‘ExperimentalIgnoreErrorsDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Source§impl Default for ExperimentalIgnoreErrorsDataset
impl Default for ExperimentalIgnoreErrorsDataset
Source§fn default() -> ExperimentalIgnoreErrorsDataset
fn default() -> ExperimentalIgnoreErrorsDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExperimentalIgnoreErrorsDataset
impl RefUnwindSafe for ExperimentalIgnoreErrorsDataset
impl Send for ExperimentalIgnoreErrorsDataset
impl Sync for ExperimentalIgnoreErrorsDataset
impl Unpin for ExperimentalIgnoreErrorsDataset
impl UnwindSafe for ExperimentalIgnoreErrorsDataset
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