W3cubDocs

/TensorFlow C++

tensorflow::ops::DecodeCSV::Attrs

#include <parsing_ops.h>

Optional attribute setters for DecodeCSV.

Summary

Public attributes
field_delim_ = ","
StringPiece
na_value_ = ""
StringPiece
use_quote_delim_ = true
bool
Public functions
FieldDelim(StringPiece x)
char delimiter to separate fields in a record.
NaValue(StringPiece x)
Additional string to recognize as NA/NaN.
UseQuoteDelim(bool x)
If false, treats double quotation marks as regular characters inside of the string fields (ignoring RFC 4180, Section 2, Bullet 5).

Public attributes

field_delim_

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

na_value_

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

use_quote_delim_

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

Public functions

FieldDelim

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

char delimiter to separate fields in a record.

Defaults to ","

NaValue

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

Additional string to recognize as NA/NaN.

Defaults to ""

UseQuoteDelim

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

© 2017 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