تينسورفلو :: العمليات :: 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 )
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]