tensorflow::ops::DecodeCSV::Attrs
#include <parsing_ops.h>Impostatori di attributi opzionali per DecodeCSV .
Riepilogo
attributi pubblici | |
|---|---|
field_delim_ = "," | StringPiece |
na_value_ = "" | StringPiece |
select_cols_ = {} | gtl::ArraySlice< int > |
use_quote_delim_ = true | bool |
Funzioni pubbliche | |
|---|---|
FieldDelim (StringPiece x) | TF_MUST_USE_RESULT Attrs Carattere delimitatore utilizzato per separare i campi in un record. |
NaValue (StringPiece x) | TF_MUST_USE_RESULT Attrs Stringa aggiuntiva da riconoscere come NA/NaN. |
SelectCols (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs Il valore predefinito è []. |
UseQuoteDelim (bool x) | TF_MUST_USE_RESULT Attrs Se impostato su false, tratta le virgolette doppie come caratteri normali all'interno dei campi stringa (ignorando RFC 4180, Sezione 2, Punto 5). |
attributi pubblici
delim_campo
StringPiece tensorflow::ops::DecodeCSV::Attrs::field_delim_ = ","
na_value_
StringPiece tensorflow::ops::DecodeCSV::Attrs::na_value_ = ""
select_cols_
gtl::ArraySlice< int > tensorflow::ops::DecodeCSV::Attrs::select_cols_ = {}use_quote_delim_
bool tensorflow::ops::DecodeCSV::Attrs::use_quote_delim_ = true
Funzioni pubbliche
FieldDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::FieldDelim( StringPiece x )
Carattere delimitatore utilizzato per separare i campi in un record.
Valore predefinito: ","
NaValue
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::NaValue( StringPiece x )
Stringa aggiuntiva da riconoscere come NA/NaN.
Predefinito ""
SelectCols
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::SelectCols( const gtl::ArraySlice< int > & x )
Il valore predefinito è [].
UseQuoteDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::UseQuoteDelim( bool x )
Se impostato su false, tratta le virgolette doppie come caratteri normali all'interno dei campi stringa (ignorando RFC 4180, Sezione 2, Punto 5).
Il valore predefinito è true