此页面由 Cloud Translation API 翻译。
Switch to English

张量流:: 服务:: BasicManager :: 选件

#include <basic_manager.h>

BasicManager将使用的配置选项和可插入对象。

摘要

公共属性

env = Env::Default()
Env *
flush_filesystem_caches = false
bool
load_retry_interval_micros = 1LL * 60 * 1000 * 1000
int64
max_num_load_retries = 5
uint32
num_load_threads = 0
uint32
num_unload_threads = 0
uint32
pre_load_hook
PreLoadHook
resource_tracker
std::unique_ptr< ResourceTracker >
servable_event_bus = nullptr
EventBus< ServableState > *

公共属性

环保

Env * tensorflow::serving::BasicManager::Options::env = Env::Default()

flush_filesystem_caches

bool tensorflow::serving::BasicManager::Options::flush_filesystem_caches = false

load_retry_interval_micros

int64 tensorflow::serving::BasicManager::Options::load_retry_interval_micros = 1LL * 60 * 1000 * 1000

max_num_load_retries

uint32 tensorflow::serving::BasicManager::Options::max_num_load_retries = 5

num_load_threads

uint32 tensorflow::serving::BasicManager::Options::num_load_threads = 0

num_unload_threads

uint32 tensorflow::serving::BasicManager::Options::num_unload_threads = 0

pre_load_hook

PreLoadHook tensorflow::serving::BasicManager::Options::pre_load_hook

resource_tracker

std::unique_ptr< ResourceTracker > tensorflow::serving::BasicManager::Options::resource_tracker

servable_event_bus

EventBus< ServableState > * tensorflow::serving::BasicManager::Options::servable_event_bus = nullptr