Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::DecodeRaw::Attrs
#include <parsing_ops.h>
Optional attribute setters for DecodeRaw.
Summary
Public functions
|
LittleEndian(bool x)
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::DecodeRaw::Attrs Struct Reference\n\ntensorflow::ops::DecodeRaw::Attrs\n=================================\n\n`#include \u003cparsing_ops.h\u003e`\n\nOptional attribute setters for [DecodeRaw](/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-raw#classtensorflow_1_1ops_1_1_decode_raw).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------|--------|\n| [little_endian_](#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs_1aed7aa1275ffc8c2e6ba4f3eeea8f1e4c)` = true` | `bool` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [LittleEndian](#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs_1a789c8bb2340a650d5d347861774b257a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-raw/attrs#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs) Whether the input `bytes` are in little-endian order. |\n\nPublic attributes\n-----------------\n\n### little_endian_\n\n```scdoc\nbool tensorflow::ops::DecodeRaw::Attrs::little_endian_ = true\n``` \n\nPublic functions\n----------------\n\n### LittleEndian\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeRaw::Attrs::LittleEndian(\n bool x\n)\n``` \nWhether the input `bytes` are in little-endian order.\n\nIgnored for `out_type` values that are stored in a single byte like `uint8`.\n\nDefaults to true"]]