tensorflow:: אופס:: DecodeRaw:: Attrs
#include <parsing_ops.h>
קובעי תכונות אופציונליים עבור DecodeRaw .
תַקצִיר
תכונות ציבוריות | |
---|---|
little_endian_ = true | bool |
תפקידים ציבוריים | |
---|---|
LittleEndian (bool x) | TF_MUST_USE_RESULT Attrs האם bytes הקלט נמצאים בסדר קטן-אנדיאן. |
תכונות ציבוריות
little_endian_
bool tensorflow::ops::DecodeRaw::Attrs::little_endian_ = true
תפקידים ציבוריים
ליטל אנדיאן
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeRaw::Attrs::LittleEndian( bool x )
האם bytes
הקלט נמצאים בסדר קטן-אנדיאן.
התעלמה עבור ערכי out_type
המאוחסנים בבייט בודד כמו uint8
.
ברירת המחדל לאמת
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון 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/r2.3/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/r2.3/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"]]