TensorFlow Serving C++ API Documentation
|
Public Member Functions | |
ThreadPoolExecutor (Env *env, const string &thread_pool_name, int num_threads) | |
void | Schedule (std::function< void()> fn) override |
Definition at line 29 of file threadpool_executor.h.
|
overridevirtual |
Schedule the specified 'fn' for execution in this executor. Depending on the subclass implementation, this may block in some situations.
Implements tensorflow::serving::Executor.
Definition at line 29 of file threadpool_executor.cc.