تينسورفلو :: العمليات :: حفظ
#include <io_ops.h>
يحفظ الموترات بتنسيق V2 checkpoint.
ملخص
بشكل افتراضي ، يحفظ الموترات المسماة بالكامل. إذا رغب المتصل في حفظ شرائح معينة من الموترات الكاملة ، فيجب أن تكون "الشكل والشرائح" سلاسل غير فارغة ومُشكَّلة بشكل جيد.
الحجج:
- النطاق: كائن النطاق
- البادئة: يجب أن تحتوي على عنصر واحد. بادئة نقطة التحقق V2 التي نكتب عليها الموترات.
- tensor_names: شكل {N}. أسماء الموترات المراد حفظها.
- الشكل_الشرائح: الشكل {N}. يتم حفظ مواصفات شريحة الموترات. تشير السلاسل الفارغة إلى أنها موترات غير مقسمة.
- الموترات:
N
موترات للحفظ.
عائدات:
-
Operation
تم إنشاؤها
البنائين والمدمرين | |
---|---|
SaveV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input prefix, :: tensorflow::Input tensor_names, :: tensorflow::Input shape_and_slices, :: tensorflow::InputList tensors) |
السمات العامة | |
---|---|
operation |
الوظائف العامة | |
---|---|
operator::tensorflow::Operation () const |
السمات العامة
عملية
Operation operation
الوظائف العامة
حفظ
SaveV2( const ::tensorflow::Scope & scope, ::tensorflow::Input prefix, ::tensorflow::Input tensor_names, ::tensorflow::Input shape_and_slices, ::tensorflow::InputList tensors )
المشغل :: Tensorflow :: العملية
operator::tensorflow::Operation() const
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"
}]