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