tensorflow::ops::DecodeCSV::Attrs
#include <parsing_ops.h>Définiteurs d'attributs optionnels pour DecodeCSV .
Résumé
attributs publics | |
|---|---|
field_delim_ = "," | StringPiece |
na_value_ = "" | StringPiece |
select_cols_ = {} | gtl::ArraySlice< int > |
use_quote_delim_ = true | bool |
fonctions publiques | |
|---|---|
FieldDelim (StringPiece x) | TF_MUST_USE_RESULT Attrs Délimiteur de caractères pour séparer les champs d'un enregistrement. |
NaValue (StringPiece x) | TF_MUST_USE_RESULT Attrs Chaîne supplémentaire à reconnaître comme NA/NaN. |
SelectCols (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs Par défaut, []. |
UseQuoteDelim (bool x) | TF_MUST_USE_RESULT Attrs Si la valeur est fausse, les guillemets doubles sont traités comme des caractères réguliers à l'intérieur des champs de chaîne (en ignorant la RFC 4180, section 2, point 5). |
attributs publics
champ_délimiter_
StringPiece tensorflow::ops::DecodeCSV::Attrs::field_delim_ = ","
valeur_na
StringPiece tensorflow::ops::DecodeCSV::Attrs::na_value_ = ""
sélectionner_colonnes_
gtl::ArraySlice< int > tensorflow::ops::DecodeCSV::Attrs::select_cols_ = {}utiliser_quote_delim_
bool tensorflow::ops::DecodeCSV::Attrs::use_quote_delim_ = true
fonctions publiques
FieldDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::FieldDelim( StringPiece x )
Délimiteur de type char pour séparer les champs d'un enregistrement.
Valeur par défaut : ","
Valeur Na
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::NaValue( StringPiece x )
Chaîne supplémentaire à reconnaître comme NA/NaN.
Par défaut, ""
SélectionnerColonnes
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::SelectCols( const gtl::ArraySlice< int > & x )
Par défaut, [].
UtiliserQuoteDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::UseQuoteDelim( bool x )
Si la valeur est fausse, les guillemets doubles sont traités comme des caractères réguliers à l'intérieur des champs de chaîne (en ignorant la RFC 4180, section 2, point 5).
Par défaut, vrai