Struct tensorflow::ops::ExperimentalCSVDataset
source · pub struct ExperimentalCSVDataset { /* private fields */ }
Expand description
Builder for the ExperimentalCSVDataset
operation.
Implementations§
source§impl ExperimentalCSVDataset
impl ExperimentalCSVDataset
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>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>>(
&self,
filenames: O0,
compression_type: O1,
buffer_size: O2,
header: O3,
field_delim: O4,
use_quote_delim: O5,
na_value: O6,
select_cols: O7,
record_defaults: O8,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>>( &self, filenames: O0, compression_type: O1, buffer_size: O2, header: O3, field_delim: O4, use_quote_delim: O5, na_value: O6, select_cols: O7, record_defaults: O8, scope: &mut Scope ) -> Result<Operation>
Builds the ExperimentalCSVDataset
operation.
sourcepub fn build_instance(
&self,
filenames: Output,
compression_type: Output,
buffer_size: Output,
header: Output,
field_delim: Output,
use_quote_delim: Output,
na_value: Output,
select_cols: Output,
record_defaults: Output,
scope: &mut Scope
) -> Result<ExperimentalCSVDatasetInst>
pub fn build_instance( &self, filenames: Output, compression_type: Output, buffer_size: Output, header: Output, field_delim: Output, use_quote_delim: Output, na_value: Output, select_cols: Output, record_defaults: Output, scope: &mut Scope ) -> Result<ExperimentalCSVDatasetInst>
Builds a new instance of ‘ExperimentalCSVDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ExperimentalCSVDataset
impl Debug for ExperimentalCSVDataset
source§impl Default for ExperimentalCSVDataset
impl Default for ExperimentalCSVDataset
source§fn default() -> ExperimentalCSVDataset
fn default() -> ExperimentalCSVDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ExperimentalCSVDataset
impl Send for ExperimentalCSVDataset
impl Sync for ExperimentalCSVDataset
impl Unpin for ExperimentalCSVDataset
impl UnwindSafe for ExperimentalCSVDataset
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