TensorFlow Serving C++ API Documentation
Public Attributes | List of all members
tensorflow::serving::LoaderHarness::Options Struct Reference

Options to configure a LoaderHarness. More...

#include <loader_harness.h>

Public Attributes

uint32 max_num_load_retries = 0
 
uint64_t load_retry_interval_micros = 0
 The interval, in microseconds, between each servable load retry.
 
std::function< void(const ServableId &id, const Status &error)> error_callback
 An (optional) function to call upon transitioning to state kError.
 

Detailed Description

Options to configure a LoaderHarness.

Definition at line 97 of file loader_harness.h.

Member Data Documentation

◆ max_num_load_retries

uint32 tensorflow::serving::LoaderHarness::Options::max_num_load_retries = 0

Maximum number of times we retry loading a servable, after the first failure, before we give up.

Definition at line 102 of file loader_harness.h.


The documentation for this struct was generated from the following file: