DecodeRaw
tensorflow C++ API
Reinterpret the bytes of a string as a vector of numbers.
Summary
Arguments:
Optional attributes (seeAttrs
):
- little_endian: Whether the input
bytes
are 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
.
DecodeRaw block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_parsing_op.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input bytes: connect Input node.
- DataType out_type: input DataType in value.
- DecodeRaw::Attrs attrs: input Attrs in value.
Return:
- Output output : Output object of DecodeRaw class object.
Result:
- std::vector(Tensor) _result__output : Returned object of executed result by calling session.