tensorflow::ops::DecodeRaw::Attrs

#include <parsing_ops.h>

Optional attribute setters for DecodeRaw.

Summary

Public attributes
little_endian_ = true
bool
Public functions
LittleEndian(bool x)
TF_MUST_USE_RESULT Attrs
Whether the input bytes are in little-endian order.

Public attributes

little_endian_

bool tensorflow::ops::DecodeRaw::Attrs::little_endian_ = true

Public functions

LittleEndian

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeRaw::Attrs::LittleEndian(
  bool x
)

Whether the input bytes are in little-endian order.

Ignored for out_type values that are stored in a single byte like uint8.

Defaults to true

© 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/struct/tensorflow/ops/decode-raw/attrs