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