b106ef05680def54ba3ea46d45f49d649ee21205,innvestigate/utils/tests/networks/base.py,,mlp_2dense,#Any#Any#Any#Any#Any#,124

Before Change


                                 activation=activation,
                                 kernel_initializer="glorot_uniform")
    net["dense_1_dropout"] = dropout_layer(net["dense_1"], dropout_rate)
    net["dense_2"] = dense_layer(net["dense_1_dropout"], units=dense_units,
                                 activation=activation,
                                 kernel_initializer="glorot_uniform")
    net["dense_2_dropout"] = dropout_layer(net["dense_2"], dropout_rate)
    net["out"] = dense_layer(net["dense_2_dropout"], units=output_n,
                             activation="softmax",
                             kernel_initializer="glorot_uniform")

After Change


                                 activation=activation,
                                 kernel_initializer="glorot_uniform")
    net["dense_1_dropout"] = dropout_layer(net["dense_1"], dropout_rate)
    net["out"] = dense_layer(net["dense_1_dropout"], units=output_n,
                             activation="softmax",
                             kernel_initializer="glorot_uniform")

    net.update({
        "input_shape": input_shape,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: albermax/innvestigate
Commit Name: b106ef05680def54ba3ea46d45f49d649ee21205
Time: 2017-12-18
Author: alber.maximilian@gmail.com
File Name: innvestigate/utils/tests/networks/base.py
Class Name:
Method Name: mlp_2dense


Project Name: albermax/innvestigate
Commit Name: b106ef05680def54ba3ea46d45f49d649ee21205
Time: 2017-12-18
Author: alber.maximilian@gmail.com
File Name: innvestigate/utils/tests/networks/base.py
Class Name:
Method Name: cnn_2convb_2dense


Project Name: google-research/google-research
Commit Name: 010489fde45657adae64a7daf8b5bc7709b274ef
Time: 2020-12-28
Author: barron@google.com
File Name: jaxnerf/nerf/model_utils.py
Class Name: MLP
Method Name: apply