tensorflow:: ops:: DecodeCSV:: Attrs
#include <parsing_ops.h>Definidores de atributos opcionais para DecodeCSV .
Resumo
Atributos públicos | |
|---|---|
field_delim_ = "," | StringPiece |
na_value_ = "" | StringPiece |
select_cols_ = {} | gtl::ArraySlice< int > |
use_quote_delim_ = true | bool |
Funções públicas | |
|---|---|
FieldDelim (StringPiece x) | TF_MUST_USE_RESULT Attrs Caractere delimitador para separar campos em um registro. |
NaValue (StringPiece x) | TF_MUST_USE_RESULT Attrs String adicional a ser reconhecida como NA/NaN. |
SelectCols (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs O valor padrão é []. |
UseQuoteDelim (bool x) | TF_MUST_USE_RESULT Attrs Se definido como falso, trata as aspas duplas como caracteres regulares dentro dos campos de string (ignorando o RFC 4180, Seção 2, Item 5). |
Atributos públicos
limite_campo_
StringPiece tensorflow::ops::DecodeCSV::Attrs::field_delim_ = ","
na_value_
StringPiece tensorflow::ops::DecodeCSV::Attrs::na_value_ = ""
selecionar_colunas_
gtl::ArraySlice< int > tensorflow::ops::DecodeCSV::Attrs::select_cols_ = {}use_quote_delim_
bool tensorflow::ops::DecodeCSV::Attrs::use_quote_delim_ = true
Funções públicas
FieldDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::FieldDelim( StringPiece x )
Caractere delimitador para separar campos em um registro.
O padrão é ","
NaValue
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::NaValue( StringPiece x )
String adicional a ser reconhecida como NA/NaN.
O valor padrão é ""
Selecionar colunas
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::SelectCols( const gtl::ArraySlice< int > & x )
O valor padrão é [].
UseQuoteDelim
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::UseQuoteDelim( bool x )
Se definido como falso, trata as aspas duplas como caracteres regulares dentro dos campos de string (ignorando o RFC 4180, Seção 2, Item 5).
O valor padrão é verdadeiro.