693cf20fad2fdd6649c962c66d570a2f78d3d8ca,src/sdk/pynni/nni/tuner.py,Tuner,generate_multiple_parameters,#Tuner#Any#,39

Before Change


        User code must override either this function or "generate_parameters()".
        parameter_id_list: list of int
        
        return [self.generate_parameters(parameter_id) for parameter_id in parameter_id_list]

    def receive_trial_result(self, parameter_id, parameters, reward):
        Invoked when a trial reports its final result. Must override.
        parameter_id: int

After Change


        User code must override either this function or "generate_parameters()".
        parameter_id_list: list of int
        
        result = []
        for parameter_id in parameter_id_list:
            temp = self.generate_parameters(parameter_id)
            if temp:
                result.append(temp)
        return result

    def receive_trial_result(self, parameter_id, parameters, reward):
        Invoked when a trial reports its final result. Must override.
        parameter_id: int
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: microsoft/nni
Commit Name: 693cf20fad2fdd6649c962c66d570a2f78d3d8ca
Time: 2018-09-14
Author: xuehui@microsoft.com
File Name: src/sdk/pynni/nni/tuner.py
Class Name: Tuner
Method Name: generate_multiple_parameters


Project Name: google/deepvariant
Commit Name: 698f96a89c6f384c2ff11d67f44ec51d2c4a15a7
Time: 2020-08-11
Author: pichuan@google.com
File Name: deepvariant/pileup_image.py
Class Name: PileupImageCreator
Method Name: create_pileup_images


Project Name: NervanaSystems/nlp-architect
Commit Name: 9c7c69fe2769fc536db267694055e1514d6e53b9
Time: 2018-10-31
Author: jonathan.mamou@intel.com
File Name: solutions/set_expansion/set_expand.py
Class Name: SetExpand
Method Name: get_vocab