Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: porcja:: Żądanie do wyświetlenia
#include <manager.h>
Zapytanie o określony załadowany obiekt serwowalny.
Streszczenie
Żądanie może określać konkretny numer wersji lub po prostu wybrać najwcześniejszą lub najnowszą załadowaną wersję.
Publiczne funkcje statyczne |
---|
Earliest (const string & name) | |
FromId (const ServableId & id) | |
Latest (const string & name) | |
Specific (const string & name, const int64 version) | |
Typy publiczne
Zasady automatycznej wersji
tensorflow::serving::ServableRequest::AutoVersionPolicy
Atrybuty publiczne
auto_version_policy
AutoVersionPolicy tensorflow::serving::ServableRequest::auto_version_policy = AutoVersionPolicy::kLatest
Nazwa
string tensorflow::serving::ServableRequest::name
wersja
optional< int64 > tensorflow::serving::ServableRequest::version
Publiczne funkcje statyczne
Najwcześniej
ServableRequest tensorflow::serving::ServableRequest::Earliest(
const string & name
)
OdId
ServableRequest tensorflow::serving::ServableRequest::FromId(
const ServableId & id
)
Najnowszy
ServableRequest tensorflow::serving::ServableRequest::Latest(
const string & name
)
Konkretny
ServableRequest tensorflow::serving::ServableRequest::Specific(
const string & name,
const int64 version
)
Funkcje publiczne
Ciąg debugowania
string tensorflow::serving::ServableRequest::DebugString() const
Żądanie do wyświetlenia
tensorflow::serving::ServableRequest::ServableRequest()=default
Żądanie do wyświetlenia
tensorflow::serving::ServableRequest::ServableRequest(
const string & name_in,
const optional< int64 > & version_in
)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2019-07-10 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2019-07-10 UTC."],[],[]]