worker.coordinator.resource_manager¶
NaiveResourceManager¶
- class ding.worker.coordinator.resource_manager.NaiveResourceManager[source]¶
- Overview:
the naive resource manager
- Interface:
__init__, assign_collector, assign_learner, update
- assign_collector(collector_task: dict) dict [source]¶
- Overview:
assign the collector_task randomly and return the resouce info
- Arguments:
collector_task (
dict
): the collector task to assign