5dc4b6686e5885df7d53c6162773ece336994feb,rllib/agents/dqn/dqn_torch_model.py,DQNTorchModel,__init__,#DQNTorchModel#,13

Before Change


                value_module.add_module("dueling_V_act_{}".format(i),
                                        nn.ReLU())
            elif dueling_activation == "tanh":
                advantage_module.add_module("dueling_A_act_{}".format(i),
                                            nn.Tanh())
                value_module.add_module("dueling_V_act_{}".format(i),
                                        nn.Tanh())

            // Add LayerNorm after each Dense.

After Change


                        activation=dueling_activation))
            else:
                advantage_module.add_module(
                    "dueling_A_{}".format(i),
                    SlimFC(ins, n, activation_fn=dueling_activation))
                value_module.add_module(
                    "dueling_V_{}".format(i),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 5dc4b6686e5885df7d53c6162773ece336994feb
Time: 2020-07-25
Author: sven@anyscale.io
File Name: rllib/agents/dqn/dqn_torch_model.py
Class Name: DQNTorchModel
Method Name: __init__


Project Name: ray-project/ray
Commit Name: 5dc4b6686e5885df7d53c6162773ece336994feb
Time: 2020-07-25
Author: sven@anyscale.io
File Name: rllib/agents/dqn/dqn_torch_model.py
Class Name: DQNTorchModel
Method Name: __init__


Project Name: NifTK/NiftyNet
Commit Name: 2562b8547fce15f995bc36cadba34d3fd95acf58
Time: 2017-08-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/histogram_normalisation.py
Class Name: HistogramNormalisationLayer
Method Name: train


Project Name: chainer/chainercv
Commit Name: 1b0348a9b65fabfb5d45534cfde25c504890a56f
Time: 2017-06-06
Author: yuyuniitani@gmail.com
File Name: chainercv/extensions/semantic_segmentation/semantic_segmentation_evaluator.py
Class Name: SemanticSegmentationEvaluator
Method Name: evaluate