(self)
| 95 | return config_for_cache |
| 96 | |
| 97 | def array(self) -> Union[None, List[int]]: |
| 98 | nshards = getattr(self.config, "nshards", None) |
| 99 | if not nshards: |
| 100 | return None |
| 101 | |
| 102 | return list(range(nshards)) |
| 103 | |
| 104 | def run(self, iteration_value: Optional[Any] = None, iteration_index: int = 0): |
| 105 | logger = logging.getLogger("lcm.evaluation.arun") |
no outgoing calls