#include <parsing_ops.h>
Reinterpret the bytes of a string as a vector of numbers.
Arguments:
Optional attributes (see Attrs
):
input_bytes
is in little-endian order. Ignored for out_type
values that are stored in a single byte, like uint8
Returns:
Output
: A Tensor with one more dimension than the input bytes
. The added dimension will have size equal to the length of the elements of bytes
divided by the number of bytes to represent out_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::ops::DecodePaddedRaw::Attrs | Optional attribute setters for DecodePaddedRaw. |
Operation operation
::tensorflow::Output output
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 )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs LittleEndian( bool x )
© 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/class/tensorflow/ops/decode-padded-raw