тензорный поток :: сервировка :: ServingSessionWrapper
#include <serving_session.h>
ServingSession , который оборачивает данную сессию, и блокирует все , кроме Run вызовов ().
Резюме
Наследование
Наследуется от:
tensorflow :: выступающей :: ServingSession Публичные функции |
---|
ListDevices (std::vector< DeviceAttributes > *response) override | 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
Status ListDevices(
std::vector< DeviceAttributes > *response
) override
Бегать
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
ServingSessionWrapper
ServingSessionWrapper(
std::unique_ptr< Session > wrapped
)
~ ServingSessionWrapper
~ServingSessionWrapper() override=default