تينسورفلو :: العمليات :: RestoreSlice
#include <io_ops.h>
يستعيد موتر من ملفات نقاط التفتيش.
ملخص
هذا يشبه Restore
باستثناء أن الموتر المستعاد يمكن إدراجه على أنه يملأ فقط شريحة من موتر أكبر. يحدد الشكل shape_and_slice
شكل موتر أكبر shape_and_slice
التي يغطيها الموتر المستعاد.
المدخلات shape_and_slice
لها نفس تنسيق عناصر مدخلات shapes_and_slices
الخاصة SaveSlices
.
الحجج:
- النطاق: كائن النطاق
- file_pattern: يجب أن يحتوي على عنصر واحد. نمط الملفات التي نقرأ منها الموتر.
- tensor_name: يجب أن يحتوي على عنصر واحد. اسم الموتر المراد استعادته.
- Shape_and_slice: عددي. مواصفات الأشكال والشرائح التي يجب استخدامها عند استعادة الموترات.
- dt: نوع الموتر المراد استعادته.
السمات الاختيارية (انظر Attrs
):
- favourite_shard: فهرس الملف الذي سيتم فتحه أولاً إذا تطابق العديد من الملفات
file_pattern
. انظر وثائقRestore
.
عائدات:
-
Output
: الموتر المستعاد.
البنائين والمدمرين | |
---|---|
RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt) | |
RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt, const RestoreSlice::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
tensor |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
PreferredShard (int64 x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: RestoreSlice :: Attrs | محددات السمات الاختيارية لـ RestoreSlice . |
السمات العامة
عملية
Operation operation
موتر
::tensorflow::Output tensor
الوظائف العامة
RestoreSlice
RestoreSlice( const ::tensorflow::Scope & scope, ::tensorflow::Input file_pattern, ::tensorflow::Input tensor_name, ::tensorflow::Input shape_and_slice, DataType dt )
RestoreSlice
RestoreSlice( const ::tensorflow::Scope & scope, ::tensorflow::Input file_pattern, ::tensorflow::Input tensor_name, ::tensorflow::Input shape_and_slice, DataType dt, const RestoreSlice::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
المفضلشارد
Attrs PreferredShard( int64 x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]