W3cubDocs

/TensorFlow C++

tensorflow::ops::StringSplit::Attrs

#include <string_ops.h>

Optional attribute setters for StringSplit.

Summary

Public attributes
skip_empty_ = true
bool
Public functions
SkipEmpty(bool x)
TF_MUST_USE_RESULT Attrs
A bool.

Public attributes

skip_empty_

bool tensorflow::ops::StringSplit::Attrs::skip_empty_ = true

Public functions

SkipEmpty

TF_MUST_USE_RESULT Attrs tensorflow::ops::StringSplit::Attrs::SkipEmpty(
  bool x
)

A bool.

If True, skip the empty strings from the result.

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/string-split/attrs.html