a855511d35e70ac1cfe605ab6a9b0eb7c28171da,pixel_cnn_pp/nn.py,,aux_gated_resnet,#Any#Any#Any#Any#Any#,273

Before Change


    if dropout_p>0:
        c1 = tf.nn.dropout(c1, keep_prob=1.-dropout_p)
    c2 = conv(c1, num_filters*2, nonlinearity=None, init_scale=0.1)
    c3 = tf.tanh(c2[:,:,:,:num_filters]) * tf.nn.sigmoid(c2[:,:,:,num_filters:])
    return x+c3

""" utilities for shifting the image around, efficient alternative to masking convolutions """

After Change


    if dropout_p>0:
        c1 = tf.nn.dropout(c1, keep_prob=1.-dropout_p)
    c2 = conv(c1, num_filters*2, nonlinearity=None, init_scale=0.1)
    a, b = tf.split(3, 2, c2)
    c3 = a * tf.nn.sigmoid(b)
    return x+c3

""" utilities for shifting the image around, efficient alternative to masking convolutions """
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: openai/pixel-cnn
Commit Name: a855511d35e70ac1cfe605ab6a9b0eb7c28171da
Time: 2016-11-09
Author: tim@Tims-MacBook-Pro.local
File Name: pixel_cnn_pp/nn.py
Class Name:
Method Name: aux_gated_resnet


Project Name: openai/pixel-cnn
Commit Name: a855511d35e70ac1cfe605ab6a9b0eb7c28171da
Time: 2016-11-09
Author: tim@Tims-MacBook-Pro.local
File Name: pixel_cnn_pp/nn.py
Class Name:
Method Name: gated_resnet


Project Name: rail-berkeley/softlearning
Commit Name: ee235aff686c5ec1048138d799107801df20b819
Time: 2018-05-22
Author: kristian.hartikainen@gmail.com
File Name: sac/algos/sac.py
Class Name: SAC
Method Name: _init_actor_update