f2b39a120ae29bfb0b7c95e2659c2a1845f83a37,tests/integration_tests/test_chainermn.py,Func,__call__,#Func#Any#Any#,48

Before Change


        self.suggested_values[trial.trial_id]["y"] = y
        self.suggested_values[trial.trial_id]["z"] = z

        return (x - 2) ** 2 + (y - 25) ** 2 + z


class MultiNodeStorageSupplier(StorageSupplier):

After Change


        self.suggested_values[trial.trial_id]["y"] = y
        self.suggested_values[trial.trial_id]["z"] = z

        v = (x - 2) ** 2 + (y - 25) ** 2 + z
        trial.report(v, 0)
        if trial.should_prune(0):
            raise TrialPruned()

        return v
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: f2b39a120ae29bfb0b7c95e2659c2a1845f83a37
Time: 2019-01-08
Author: phjgt308@gmail.com
File Name: tests/integration_tests/test_chainermn.py
Class Name: Func
Method Name: __call__


Project Name: pfnet/optuna
Commit Name: 7c0c86b0f92aab80c043133d2a249f250b78d167
Time: 2020-09-11
Author: k_nzw@klis.tsukuba.ac.jp
File Name: optuna/integration/pytorch_lightning.py
Class Name: PyTorchLightningPruningCallback
Method Name: on_validation_end


Project Name: dpressel/mead-baseline
Commit Name: 6aad1de658a933d3fa376f7fe9abf419da8a8bd2
Time: 2018-11-26
Author: blester125@users.noreply.github.com
File Name: python/baseline/tf/seq2seq/train.py
Class Name: Seq2SeqTrainerTf
Method Name: test