tensorflow:: ops:: DecodeCSV:: Attrs

#include <parsing_ops.h>

DecodeCSVのオプション属性設定子。

まとめ

公開属性

field_delim_ = ","
StringPiece
na_value_ = ""
StringPiece
select_cols_ = {}
gtl::ArraySlice< int >
use_quote_delim_ = true
bool

公的機能

FieldDelim (StringPiece x)
TF_MUST_USE_RESULT Attrs
レコード内のフィールドを区切るための文字区切り文字。
NaValue (StringPiece x)
TF_MUST_USE_RESULT Attrs
NA/NaNとして認識するための追加の文字列。
SelectCols (const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
デフォルトは[]です。
UseQuoteDelim (bool x)
TF_MUST_USE_RESULT Attrs
false の場合、文字列フィールド内の二重引用符を通常の文字として扱います (RFC 4180、セクション 2、箇条書き 5 を無視します)。

公開属性

フィールド_デリム_

StringPiece tensorflow::ops::DecodeCSV::Attrs::field_delim_ = ","

na_value_

StringPiece tensorflow::ops::DecodeCSV::Attrs::na_value_ = ""

選択列_

gtl::ArraySlice< int > tensorflow::ops::DecodeCSV::Attrs::select_cols_ = {}

use_quote_delim_

bool tensorflow::ops::DecodeCSV::Attrs::use_quote_delim_ = true

公的機能

フィールド区切り

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::FieldDelim(
  StringPiece x
)

レコード内のフィールドを区切るための文字区切り文字。

デフォルトは「,」

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::NaValue(
  StringPiece x
)

NA/NaNとして認識するための追加の文字列。

デフォルトは ""

列を選択

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::SelectCols(
  const gtl::ArraySlice< int > & x
)

デフォルトは[]です。

UseQuoteDelim

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::UseQuoteDelim(
  bool x
)

false の場合、文字列フィールド内の二重引用符を通常の文字として扱います (RFC 4180、セクション 2、箇条書き 5 を無視します)。

デフォルトはtrue