optuna.integration.ChainerMNStudy
- class optuna.integration.ChainerMNStudy(study, comm)[源代码]
A wrapper of
Studyto incorporate Optuna with ChainerMN.参见
ChainerMNStudyprovides the same interface asStudy. Please refer tooptuna.study.Studyfor further details.See the example if you want to optimize an objective function that trains neural network written with ChainerMN.
- 参数
study (optuna.study.Study) – A
Studyobject.comm (CommunicatorBase) – A ChainerMN communicator.
- 返回类型
None
Methods
optimize(func[, n_trials, timeout, catch])Optimize an objective function.
- optimize(func, n_trials=None, timeout=None, catch=())[源代码]
Optimize an objective function.
This method provides the same interface as
optuna.study.Study.optimize()except the absence ofn_jobsargument.