tensorflow::
ops::
DecodePaddedRaw
#include <parsing_ops.h>
Reinterpret the bytes of a string as a vector of numbers.
Summary
Args:
- scope: A Scope object
- input_bytes: Tensor of string to be decoded.
- fixed_length: Length in bytes for each element of the decoded output. Must be a multiple of the size of the output type.
Optional attributes (see
Attrs
):
-
little_endian: Whether the input
input_bytes
is in little-endian order. Ignored forout_type
values 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 ofbytes
divided by the number of bytes to representout_type
.
Constructors and Destructors |
|
---|---|
DecodePaddedRaw
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
input_bytes, ::
tensorflow::Input
fixed_length, DataType out_type)
|
|
DecodePaddedRaw
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
input_bytes, ::
tensorflow::Input
fixed_length, DataType out_type, const
DecodePaddedRaw::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 DecodePaddedRaw . |
Public attributes
Public functions
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const