Struct tensorflow::ops::CSVDataset
source · pub struct CSVDataset { /* private fields */ }
Expand description
Builder for the CSVDataset
operation.
Implementations§
source§impl CSVDataset
impl CSVDataset
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 CSVDataset
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<CSVDatasetInst>
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<CSVDatasetInst>
Builds a new instance of ‘CSVDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for CSVDataset
impl Debug for CSVDataset
source§impl Default for CSVDataset
impl Default for CSVDataset
source§fn default() -> CSVDataset
fn default() -> CSVDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CSVDataset
impl Send for CSVDataset
impl Sync for CSVDataset
impl Unpin for CSVDataset
impl UnwindSafe for CSVDataset
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