#include <serving_session.h>
Session שחוסם שיטות שינוי מצב כגון Close(), תוך מתן אפשרות Run() לגישה לקריאה בלבד (לא נאכף).
שימושי עבור יישומי Session שמתכוונים להיות לקריאה בלבד ולהטמיע רק Run().
כוון subclasses מוכרת: 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()=default
~ServingSession() override=default
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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":"סיבה אחרת"
}]