tensorflow::serving::ServingSession

#include <serving_session.h>

A Session that blocks state-changing methods such as Close(), while allowing Run() for read-only access (not enforced).

Summary

Useful for Session implementations that intend to be read-only and only implement Run().

Inheritance

Inherits from: Session
Direct Known Subclasses:tensorflow::serving::ServingSessionWrapper

Constructors and Destructors

ServingSession()
~ServingSession()

Public functions

Close() final
Status
Create(const GraphDef & graph) final
Status
Extend(const GraphDef & graph) final
Status

Public functions

Close

Status Close() final

Create

Status Create(
  const GraphDef & graph
) final

Extend

Status Extend(
  const GraphDef & graph
) final

ServingSession

 ServingSession()=default

~ServingSession

 ~ServingSession() override=default