Struct tensorflow::ops::DecodeCSV
source · pub struct DecodeCSV { /* private fields */ }
Expand description
Builder for the DecodeCSV
operation.
Implementations§
source§impl DecodeCSV
impl DecodeCSV
sourcepub fn OUT_TYPE<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn OUT_TYPE<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the OUT_TYPE
attribute.
sourcepub fn field_delim<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn field_delim<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the field_delim
attribute.
sourcepub fn use_quote_delim<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_quote_delim<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_quote_delim
attribute.
sourcepub fn na_value<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn na_value<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the na_value
attribute.
sourcepub fn select_cols<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn select_cols<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the select_cols
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>>(
&self,
records: O0,
record_defaults: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, records: O0, record_defaults: O1, scope: &mut Scope ) -> Result<Operation>
Builds the DecodeCSV
operation.
sourcepub fn build_instance(
&self,
records: Output,
record_defaults: Output,
scope: &mut Scope
) -> Result<DecodeCSVInst>
pub fn build_instance( &self, records: Output, record_defaults: Output, scope: &mut Scope ) -> Result<DecodeCSVInst>
Builds a new instance of ‘DecodeCSV’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DecodeCSV
impl Send for DecodeCSV
impl Sync for DecodeCSV
impl Unpin for DecodeCSV
impl UnwindSafe for DecodeCSV
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