TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::ThreadPoolExecutor Class Reference
Inheritance diagram for tensorflow::serving::ThreadPoolExecutor:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::ThreadPoolExecutor:
Collaboration graph
[legend]

Public Member Functions

 ThreadPoolExecutor (Env *env, const string &thread_pool_name, int num_threads)
 
void Schedule (std::function< void()> fn) override
 

Detailed Description

Definition at line 29 of file threadpool_executor.h.

Member Function Documentation

◆ Schedule()

void tensorflow::serving::ThreadPoolExecutor::Schedule ( std::function< void()>  fn)
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.


The documentation for this class was generated from the following files: