تدفق التوتر:: العمليات:: DecodePaddedRaw
#include <parsing_ops.h>
إعادة تفسير بايتات السلسلة كمتجه للأرقام.
ملخص
الحجج:
- النطاق: كائن النطاق
- input_bytes: موتر السلسلة المراد فك تشفيرها.
- Fixed_length: الطول بالبايتات لكل عنصر من عناصر الإخراج التي تم فك تشفيرها. يجب أن يكون مضاعفًا لحجم نوع الإخراج.
السمات الاختيارية (انظر Attrs
):
- little_endian: ما إذا كانت وحدات الإدخال
input_bytes
بترتيب النهاية الصغيرة. يتم تجاهله بالنسبة لقيمout_type
المخزنة في بايت واحد، مثلuint8
العوائد:
-
Output
: موتر ذو بعد واحد أكثر منbytes
الإدخال. سيكون للبعد المضاف حجم يساوي طول عناصرbytes
مقسومًا على عدد البايتات لتمثيلout_type
.
البنائين والمدمرين | |
---|---|
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type) | |
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs) |
الصفات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
LittleEndian (bool x) |
الهياكل | |
---|---|
Tensorflow:: ops:: DecodePaddedRaw:: Attrs | محددات السمات الاختيارية لـ DecodePaddedRaw . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
LittleEndian
Attrs LittleEndian( bool x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::DecodePaddedRaw Class Reference\n\ntensorflow::ops::DecodePaddedRaw\n================================\n\n`#include \u003cparsing_ops.h\u003e`\n\nReinterpret the bytes of a string as a vector of numbers.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input_bytes: [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of string to be decoded.\n- fixed_length: Length in bytes for each element of the decoded output. Must be a multiple of the size of the output type.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs)):\n\n- little_endian: Whether the input `input_bytes` is in little-endian order. Ignored for `out_type` values that are stored in a single byte, like `uint8`\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with one more dimension than the input `bytes`. The added dimension will have size equal to the length of the elements of `bytes` divided by the number of bytes to represent `out_type`.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [DecodePaddedRaw](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a94183df5bdaedc1b310e9ea130b6307e)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_bytes, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` fixed_length, DataType out_type)` ||\n| [DecodePaddedRaw](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a66932ca392b545de06ef001a96c15905)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_bytes, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` fixed_length, DataType out_type, const `[DecodePaddedRaw::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a29f4a01fa9cc61a7e4df40f8a22ca1bb) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a9c2c7dbf7b377847e5a78d67e0cec014) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a12c5000831086d93709e38a378183832)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a6ec3864a3eefba01c1aa3675343e5fd5)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_decode_padded_raw_1a6bbda4013c115a1adf52cdfda9610dc7)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [LittleEndian](#classtensorflow_1_1ops_1_1_decode_padded_raw_1ab9637f01ff5433b8d35f31d306d7b91c)`(bool x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::DecodePaddedRaw::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs) | Optional attribute setters for [DecodePaddedRaw](/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### DecodePaddedRaw\n\n```gdscript\n DecodePaddedRaw(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input_bytes,\n ::tensorflow::Input fixed_length,\n DataType out_type\n)\n``` \n\n### DecodePaddedRaw\n\n```gdscript\n DecodePaddedRaw(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input_bytes,\n ::tensorflow::Input fixed_length,\n DataType out_type,\n const DecodePaddedRaw::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### LittleEndian\n\n```text\nAttrs LittleEndian(\n bool x\n)\n```"]]