tensorflow::
ops::
DecodeRaw
#include <parsing_ops.h>
Reinterpret the bytes of a string as a vector of numbers.
Summary
Args:
Optional attributes (see
Attrs
):
-
little_endian: Whether the input
bytesare in little-endian order. Ignored forout_typevalues that are stored in a single byte likeuint8.
Returns:
-
Output: A Tensor with one more dimension than the inputbytes. The added dimension will have size equal to the length of the elements ofbytesdivided by the number of bytes to representout_type.
Constructors and Destructors |
|
|---|---|
DecodeRaw
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
bytes, DataType out_type)
|
|
DecodeRaw
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
bytes, DataType out_type, const
DecodeRaw::Attrs
& attrs)
|
Public attributes |
|
|---|---|
operation
|
|
output
|
|
Public functions |
|
|---|---|
node
() const
|
::tensorflow::Node *
|
operator::tensorflow::Input
() const
|
|
operator::tensorflow::Output
() const
|
|
Public static functions |
|
|---|---|
LittleEndian
(bool x)
|
|
Structs |
|
|---|---|
|
tensorflow::
|
Optional attribute setters for DecodeRaw . |
Public attributes
Public functions
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const