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)
TF_MUST_USE_RESULT Attrs
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

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

The numeric type to interpret each string in string_tensor as.

Defaults to DT_FLOAT

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/string-to-number/attrs