コード例 #1
0
 def setup(
     self,
     config: DictConfig,
     config_loader: ConfigLoader,
     task_function: TaskFunction,
 ) -> None:
     self.config = config
     self.launcher = Plugins.instantiate_launcher(
         config=config,
         config_loader=config_loader,
         task_function=task_function)
コード例 #2
0
 def setup(self, config, config_loader, task_function):
     self.config = config
     self.launcher = Plugins.instantiate_launcher(
         config=config, config_loader=config_loader, task_function=task_function
     )