aliran tensor:: porsi:: MelayaniSessionWrapper

#include <serving_session.h>

Sebuah ServingSession yang membungkus diberikan Sesi, dan blok semua panggilan selain Run ().

Ringkasan

Warisan

Mewarisi dari: tensorflow :: melayani :: ServingSession

Konstruktor dan Destructor

ServingSessionWrapper (std::unique_ptr< Session > wrapped)
~ServingSessionWrapper ()

Fungsi publik

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

Fungsi publik

DaftarPerangkat

Status ListDevices(
  std::vector< DeviceAttributes > *response
) override

Lari

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

Lari

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

Lari

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

MelayaniSessionWrapper

 ServingSessionWrapper(
  std::unique_ptr< Session > wrapped
)

~ServingSessionWrapper

 ~ServingSessionWrapper() override=default