W3cubDocs

/TensorFlow C++

tensorflow::ops::StringToNumber::Attrs

#include <parsing_ops.h>

Optional attribute setters for StringToNumber.

Summary

Public attributes
out_type_ = DT_FLOAT
DataType
Public functions
OutType(DataType x)
The numeric type to interpret each string in string_tensor as.

Public attributes

out_type_

DataType tensorflow::ops::StringToNumber::Attrs::out_type_ = DT_FLOAT

Public functions

OutType

Attrs tensorflow::ops::StringToNumber::Attrs::OutType(
  DataType x
)

The numeric type to interpret each string in string_tensor as.

Defaults to DT_FLOAT

© 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/string-to-number/attrs.html