جریان تنسور:: خدمت:: ServingSession
#include <serving_session.h>
جلسهای که روشهای تغییر حالت مانند Close() را مسدود میکند، در حالی که به Run() برای دسترسی فقط خواندنی اجازه میدهد (اجباری نشده است).
خلاصه
مفید برای اجرای Session که قصد دارند فقط خواندنی باشند و فقط Run() را پیاده سازی کنند.
وراثت
ارث می برد از: Sessionمستقیم زیرکلاس های شناخته شده: tensorflow :: خدمت :: ServingSessionWrapper
سازندگان و تخریب کنندگان | |
---|---|
ServingSession () | |
~ServingSession () |
توابع عمومی | |
---|---|
Close () final | Status |
Create (const GraphDef & graph) final | Status |
Extend (const GraphDef & graph) final | Status |
توابع عمومی
نزدیک
Status Close() final
ايجاد كردن
Status Create( const GraphDef & graph ) final
توسعه دادن، گسترش
Status Extend( const GraphDef & graph ) final
ServingSession
ServingSession()=default
~ServingSession
~ServingSession() override=default
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 2019-07-10 UTC.
[{
"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":"غیره"
}]