جریان تنسور:: عملیات:: DecodeRaw:: Attrs
#include <parsing_ops.h>
تنظیم کننده های ویژگی اختیاری برای DecodeRaw .
خلاصه
صفات عمومی | |
---|---|
little_endian_ = true | bool |
توابع عمومی | |
---|---|
LittleEndian (bool x) | TF_MUST_USE_RESULT Attrs آیا bytes ورودی به ترتیب اندکی هستند. |
صفات عمومی
کوچک_اندیان_
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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی."],[],[],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"]]