TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::ServingSessionWrapper Class Reference

#include <serving_session.h>

Inheritance diagram for tensorflow::serving::ServingSessionWrapper:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::ServingSessionWrapper:
Collaboration graph
[legend]

Public Member Functions

 ServingSessionWrapper (std::unique_ptr< Session > wrapped)
 
Status Run (const std::vector< std::pair< string, Tensor >> &inputs, const std::vector< string > &output_tensor_names, const std::vector< string > &target_node_names, std::vector< Tensor > *outputs) override
 
Status Run (const RunOptions &run_options, const std::vector< std::pair< string, Tensor >> &inputs, const std::vector< string > &output_tensor_names, const std::vector< string > &target_node_names, std::vector< Tensor > *outputs, RunMetadata *run_metadata) override
 
Status Run (const RunOptions &run_options, const std::vector< std::pair< string, Tensor >> &inputs, const std::vector< string > &output_tensor_names, const std::vector< string > &target_node_names, std::vector< Tensor > *outputs, RunMetadata *run_metadata, const thread::ThreadPoolOptions &thread_pool_options) override
 
Status ListDevices (std::vector< DeviceAttributes > *response) override
 
- Public Member Functions inherited from tensorflow::serving::ServingSession
Status Create (const GraphDef &graph) final
 
Status Extend (const GraphDef &graph) final
 
Status Close () final
 

Detailed Description

A ServingSession that wraps a given Session, and blocks all calls other than Run().

Definition at line 49 of file serving_session.h.


The documentation for this class was generated from the following file: