flusso tensoriale:: servendo:: ServireSessionWrapper
#include <serving_session.h>
Un ServingSession che avvolge una determinata sessione, e blocca tutte le chiamate diversi run ().
Riepilogo
Eredità
Eredita da:
tensorflow :: :: servire ServingSession Funzioni pubbliche |
---|
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 |
Funzioni pubbliche
ElencoDispositivi
Status ListDevices(
std::vector< DeviceAttributes > *response
) override
Correre
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
Correre
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
Correre
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
ServireSessionWrapper
ServingSessionWrapper(
std::unique_ptr< Session > wrapped
)
~ServingSessionWrapper
~ServingSessionWrapper() override=default
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2020-08-12 UTC.
[null,null,["Ultimo aggiornamento 2020-08-12 UTC."],[],[]]