tensör akışı:: hizmet veren:: SunumSessionWrapper

#include <serving_session.h>

Bir ServingSession Verilen Oturumu ve bloklar Run dışındaki tüm aramaları () sarar.

Özet

Miras

Dan devralır: tensorflow :: hizmet :: ServingSession

Yapıcılar ve Yıkıcılar

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

Kamu işlevleri

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

Kamu işlevleri

Liste Cihazlar

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

Çalıştırmak

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

Çalıştırmak

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

Çalıştırmak

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

SunumSessionWrapper

 ServingSessionWrapper(
  std::unique_ptr< Session > wrapped
)

~ServingSessionWrapper

 ~ServingSessionWrapper() override=default