ChainerPruningExtension(trial, observation_key, pruner_trigger)¶
Chainer extension to prune unpromising trials.
trial – A
Trialcorresponding to the current evaluation of the objective function.
observation_key – An evaluation metric for pruning, e.g.,
validation/main/accuracy. Please refer to chainer.Reporter reference for further details.
A trigger to execute pruning.
pruner_triggeris an instance of IntervalTrigger or ManualScheduleTrigger. IntervalTrigger can be specified by a tuple of the interval length and its unit like