Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Data Fields
c10::ThreadPool::task_element_t Struct Reference

Public Member Functions

 task_element_t (const std::function< void()> &f)
 
 task_element_t (const std::function< void(std::size_t)> &f)
 

Data Fields

bool run_with_id
 
const std::function< void()> no_id
 
const std::function< void(std::size_t)> with_id
 

Detailed Description

Definition at line 43 of file thread_pool.h.


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