|
FFmpeg
|
Data Fields | |
| DNNModel | model |
| DnnContext * | ctx |
| torch::jit::Module * | jit_model |
| SafeQueue * | request_queue |
| Queue * | task_queue |
| Queue * | lltask_queue |
| SafeQueue * | pending_queue |
| requests waiting for inference More... | |
| std::thread * | worker_thread |
| background worker thread More... | |
| std::mutex * | mutex |
| mutex for the condition variable More... | |
| std::condition_variable * | cond |
| condition variable for worker wakeup More... | |
| std::atomic< bool > | worker_stop |
| signal for thread exit More... | |
Definition at line 42 of file dnn_backend_torch.cpp.
| DNNModel THModel::model |
Definition at line 43 of file dnn_backend_torch.cpp.
Referenced by dnn_load_model_th(), fill_model_input_th(), and infer_completion_callback().
| DnnContext* THModel::ctx |
Definition at line 44 of file dnn_backend_torch.cpp.
Referenced by dnn_execute_model_th(), dnn_flush_th(), dnn_load_model_th(), extract_lltask_from_task(), fill_model_input_th(), get_output_th(), infer_completion_callback(), and th_start_inference().
| torch::jit::Module* THModel::jit_model |
Definition at line 45 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), dnn_load_model_th(), and th_start_inference().
| SafeQueue* THModel::request_queue |
Definition at line 46 of file dnn_backend_torch.cpp.
Referenced by dnn_execute_model_th(), dnn_flush_th(), dnn_free_model_th(), dnn_load_model_th(), execute_model_th(), get_output_th(), and infer_completion_callback().
| Queue* THModel::task_queue |
Definition at line 47 of file dnn_backend_torch.cpp.
Referenced by dnn_execute_model_th(), dnn_free_model_th(), dnn_get_result_th(), and dnn_load_model_th().
| Queue* THModel::lltask_queue |
Definition at line 48 of file dnn_backend_torch.cpp.
Referenced by dnn_execute_model_th(), dnn_flush_th(), dnn_free_model_th(), dnn_load_model_th(), fill_model_input_th(), and get_output_th().
| SafeQueue* THModel::pending_queue |
requests waiting for inference
Definition at line 49 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), dnn_load_model_th(), execute_model_th(), and th_worker_thread().
| std::thread* THModel::worker_thread |
background worker thread
Definition at line 50 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), and dnn_load_model_th().
| std::mutex* THModel::mutex |
mutex for the condition variable
Definition at line 51 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), dnn_load_model_th(), execute_model_th(), and th_worker_thread().
| std::condition_variable* THModel::cond |
condition variable for worker wakeup
Definition at line 52 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), dnn_load_model_th(), execute_model_th(), and th_worker_thread().
| std::atomic<bool> THModel::worker_stop |
signal for thread exit
Definition at line 53 of file dnn_backend_torch.cpp.
Referenced by dnn_free_model_th(), dnn_load_model_th(), and th_worker_thread().
1.8.17