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
إذا كانت القيمة خاطئة، فسيتم التعامل مع علامات الاقتباس المزدوجة كأحرف عادية داخل حقول السلسلة (مع تجاهل RFC 4180، القسم 2، النقطة 5).

السمات العامة

field_delim_

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_ = {}

استخدم_علامة_اقتباس_الفاصلة

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.

القيمة الافتراضية هي ""

SelectCols

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
)

إذا كانت القيمة خاطئة، فسيتم التعامل مع علامات الاقتباس المزدوجة كأحرف عادية داخل حقول السلسلة (مع تجاهل RFC 4180، القسم 2، النقطة 5).

القيمة الافتراضية هي صحيح