1 #ifndef CAFFE_INTERNAL_THREAD_HPP_ 2 #define CAFFE_INTERNAL_THREAD_HPP_ 4 #include "caffe/common.hpp" 10 namespace boost {
class thread; }
29 void StartInternalThread();
32 void StopInternalThread();
34 bool is_started()
const;
39 virtual void InternalThreadEntry() {}
45 void entry(
int device, Caffe::Brew mode,
int rand_seed,
46 int solver_count,
int solver_rank,
bool multiprocess);
48 shared_ptr<boost::thread> thread_;
53 #endif // CAFFE_INTERNAL_THREAD_HPP_ A layer factory that allows one to register layers. During runtime, registered layers can be called b...
Definition: blob.hpp:14
Definition: internal_thread.hpp:10
Definition: internal_thread.hpp:19