def _xor_trial_controller( hparams: Dict[str, Any], workloads: workload.Stream, batches_per_step: int = 1, load_path: Optional[str] = None, ) -> det.TrialController: return utils.make_trial_controller_from_native_implementation( command=request.param, hparams=hparams, workloads=workloads, batches_per_step=batches_per_step, load_path=load_path, trial_seed=325, )
def _xor_trial_controller( hparams: Dict[str, Any], workloads: workload.Stream, scheduling_unit: int = 1, load_path: Optional[str] = None, trial_seed: int = 0, ) -> det.TrialController: return utils.make_trial_controller_from_native_implementation( command=request.param, hparams=hparams, workloads=workloads, scheduling_unit=scheduling_unit, load_path=load_path, trial_seed=trial_seed, )