tensorflow::serving::ServableRequest

#include <manager.h>

A query for a specific loaded servable object.

Summary

The request can either specify a specific version number, or simply opt to use the earliest or latest loaded version.

Constructors and Destructors

ServableRequest()
ServableRequest(const string & name_in, const optional< int64 > & version_in)

Public types

AutoVersionPolicy enum

Public attributes

auto_version_policy = AutoVersionPolicy::kLatest
AutoVersionPolicy
name
string
version
optional< int64 >

Public static functions

Earliest(const string & name)
FromId(const ServableId & id)
Latest(const string & name)
Specific(const string & name, const int64 version)

Public functions

DebugString() const
string

Public types

AutoVersionPolicy

 tensorflow::serving::ServableRequest::AutoVersionPolicy

Public attributes

auto_version_policy

AutoVersionPolicy tensorflow::serving::ServableRequest::auto_version_policy = AutoVersionPolicy::kLatest

name

string tensorflow::serving::ServableRequest::name

version

optional< int64 > tensorflow::serving::ServableRequest::version

Public static functions

Earliest

ServableRequest tensorflow::serving::ServableRequest::Earliest(
  const string & name
)

FromId

ServableRequest tensorflow::serving::ServableRequest::FromId(
  const ServableId & id
)

Latest

ServableRequest tensorflow::serving::ServableRequest::Latest(
  const string & name
)

Specific

ServableRequest tensorflow::serving::ServableRequest::Specific(
  const string & name,
  const int64 version
)

Public functions

DebugString

string tensorflow::serving::ServableRequest::DebugString() const 

ServableRequest

 tensorflow::serving::ServableRequest::ServableRequest()=default

ServableRequest

 tensorflow::serving::ServableRequest::ServableRequest(
  const string & name_in,
  const optional< int64 > & version_in
)