#include <parsing_ops.h>
Optional attribute setters for DecodeCSV.
Public attributes | |
---|---|
field_delim_ = "," | StringPiece |
na_value_ = "" | StringPiece |
use_quote_delim_ = true | bool |
Public functions | |
---|---|
FieldDelim(StringPiece x) | TF_MUST_USE_RESULT Attrs char delimiter to separate fields in a record. |
NaValue(StringPiece x) | TF_MUST_USE_RESULT Attrs Additional string to recognize as NA/NaN. |
UseQuoteDelim(bool x) | TF_MUST_USE_RESULT Attrs If false, treats double quotation marks as regular characters inside of the string fields (ignoring RFC 4180, Section 2, Bullet 5). |
StringPiece tensorflow::ops::DecodeCSV::Attrs::field_delim_ = ","
StringPiece tensorflow::ops::DecodeCSV::Attrs::na_value_ = ""
bool tensorflow::ops::DecodeCSV::Attrs::use_quote_delim_ = true
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::FieldDelim( StringPiece x )
char delimiter to separate fields in a record.
Defaults to ","
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::NaValue( StringPiece x )
Additional string to recognize as NA/NaN.
Defaults to ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCSV::Attrs::UseQuoteDelim( bool x )
If false, treats double quotation marks as regular characters inside of the string fields (ignoring RFC 4180, Section 2, Bullet 5).
Defaults to true
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/decode-c-s-v/attrs.html