We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468adc3 commit e7dff71Copy full SHA for e7dff71
compiler_opt/rl/compilation_runner.py
@@ -230,11 +230,12 @@ class CompilationRunnerStub(metaclass=abc.ABCMeta):
230
"""The interface of a stub to CompilationRunner, for type checkers."""
231
232
@abc.abstractmethod
233
- def collect_results(self,
234
- module_spec: corpus.ModuleSpec,
235
- tf_policy_path: str,
236
- collect_default_result: bool,
237
- reward_only: bool = False) -> Tuple[Dict, Dict]:
+ def collect_results(
+ self,
+ module_spec: corpus.ModuleSpec,
+ tf_policy_path: str,
+ collect_default_result: bool,
238
+ reward_only: bool = False) -> Tuple[Optional[Dict], Optional[Dict]]:
239
raise NotImplementedError()
240
241
0 commit comments