e2cf1e4f51b9e10056fb79bdefd3de769131a8cc,hypergan/configurable_component.py,ConfigurableComponent,forward,#ConfigurableComponent#Any#,1263

Before Change


        return net

    def forward(self, x):
        return self.net(x)

After Change



    def forward(self, input):
        adaptive_instance_norm_style = None
        for module, name in zip(self.net, self.parsed_names):
            if isinstance(module, AdaptiveInstanceNorm):
                input = module(input, adaptive_instance_norm_style)
            else:
                input = module(input)
            if name == "w":
                adaptive_instance_norm_style = input
        return input
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: e2cf1e4f51b9e10056fb79bdefd3de769131a8cc
Time: 2020-02-09
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: forward


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 23a204d75f91c85bb542269447dbfa2164c695ce
Time: 2018-01-19
Author: max.lapan@gmail.com
File Name: ch13/wob_click_train.py
Class Name:
Method Name:


Project Name: tensorflow/agents
Commit Name: 9a3e9d21273da7ae40da9f70cb6df1b077b08105
Time: 2019-12-05
Author: kbanoop@google.com
File Name: tf_agents/networks/actor_distribution_network_test.py
Class Name: ActorDistributionNetworkTest
Method Name: testDropoutFCLayersWithConv