tensorflow :: servindo :: ServingSessionWrapper
#include <serving_session.h>
A ServingSession que envolve uma determinada sessão, e bloqueia todos os outros do que Run chamadas ().
Resumo
Herança
Herda:
tensorflow :: servindo :: ServingSession Funções públicas |
---|
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 |
Funções públicas
ListDevices
Status ListDevices(
std::vector< DeviceAttributes > *response
) override
Corre
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
Corre
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
Corre
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