threedb.scheduling.policy_controller¶
-
class
threedb.scheduling.policy_controller.
JobDescriptor
(order, id, environment, model, render_args, control_order)¶ Bases:
tuple
-
control_order
¶ Alias for field number 5
-
environment
¶ Alias for field number 2
-
id
¶ Alias for field number 1
-
model
¶ Alias for field number 3
-
order
¶ Alias for field number 0
-
render_args
¶ Alias for field number 4
-
-
class
threedb.scheduling.policy_controller.
PolicyController
(search_space: threedb.scheduling.search_space.SearchSpace, env_file: str, model_name: str, policy_args: Dict[str, Any], logger_manager: threedb.result_logging.logger_manager.LoggerManager, result_buffer: threedb.utils.CyclicBuffer)¶ Bases:
multiprocessing.context.Process
-
__init__
(search_space: threedb.scheduling.search_space.SearchSpace, env_file: str, model_name: str, policy_args: Dict[str, Any], logger_manager: threedb.result_logging.logger_manager.LoggerManager, result_buffer: threedb.utils.CyclicBuffer)¶ Initialize self. See help(type(self)) for accurate signature.
-
pull_work
()¶
-
push_result
(descriptor, result)¶
-
run
()¶ Method to be run in sub-process; can be overridden in sub-class
-