DecodeRaw


tensorflow C++ API

tensorflow::ops::DecodeRaw

Reinterpret the bytes of a string as a vector of numbers.


Summary

Arguments:

  • scope: A Scope object
  • bytes:All the elements must have the same length.

Optional attributes (seeAttrs):

  • little_endian: Whether the input bytesare in little-endian order. Ignored for out_typevalues that are stored in a single byte likeuint8.

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 bytesdivided by the number of bytes to represent out_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.

Using Method

results matching ""

    No results matching ""