tensorflow :: servicio:: ServingSessionWrapper
#include <serving_session.h>
Un ServingSession que envuelve una reunión determinada, y bloquea todas las llamadas que no sean run ().
Resumen
Herencia
Hereda de:
tensorflow :: :: servir ServingSession Funciones publicas |
---|
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 |
Funciones publicas
ListDevices
Status ListDevices(
std::vector< DeviceAttributes > *response
) override
Correr
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
Correr
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
Correr
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