The TaskSetting class is used to hold the task settings for the optimizer.
| 18 | |
| 19 | class OptimizerConfig(Config): |
| 20 | class TaskSetting: |
| 21 | """ |
| 22 | The TaskSetting class is used to hold the task settings for the optimizer. |
| 23 | """ |
| 24 | |
| 25 | def __init__(self, **kwargs): |
| 26 | """ |
| 27 | Initializes the TaskSetting object. |
| 28 | |
| 29 | Args: |
| 30 | **kwargs: Arbitrary keyword arguments for initializing the task settings. |
| 31 | """ |
| 32 | self.has_ground_truth = kwargs.get("has_ground_truth", False) |
| 33 | self.has_result = kwargs.get("has_result", False) |
| 34 | |
| 35 | def __init__(self, config_path_or_dict): |
| 36 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected