8df6b252447e160c2433f2f5e0f5343f7451876b,models/utils.py,,conv_layer,#,174
Before Change
weight_decay = tf.multiply(tf.nn.l2_loss(W), wd, name="weight_loss")
tf.add_to_collection(LOSSES_COLLECTION, weight_decay)
result = tf.nn.bias_add(
tf.nn.conv2d(input_x, W, [1, stride, stride, 1], padding), b)
// apply nonlinearity
out = activation(result)
After Change
Rerturns the conv2d op
W = weight("W", shape, wd=wd)
result = tf.nn.conv2d(input_x, W, [1, stride, stride, 1], padding)
if bias_term:
b = bias("b", [shape[3]])
result = tf.nn.bias_add(result, b)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: galeone/dynamic-training-bench
Commit Name: 8df6b252447e160c2433f2f5e0f5343f7451876b
Time: 2017-02-14
Author: nessuno@nerdz.eu
File Name: models/utils.py
Class Name:
Method Name: conv_layer
Project Name: jakeret/tf_unet
Commit Name: 02727e233543e6b742dec0c1c9933007b68249dd
Time: 2018-06-14
Author: wkv@vanmain.com
File Name: tf_unet/layers.py
Class Name:
Method Name: conv2d
Project Name: brightmart/text_classification
Commit Name: 82f73d86efa56ff3316328b3f75bd3516a88a49a
Time: 2018-10-15
Author: jannis.born@gmx.de
File Name: a07_Transformer/a2_poistion_wise_feed_forward.py
Class Name: PositionWiseFeedFoward
Method Name: position_wise_feed_forward_fn
Project Name: jakeret/tf_unet
Commit Name: f5febfdc5a587eaf6a79a953fa3a36cf5bea8612
Time: 2018-06-12
Author: wkv@vanmain.com
File Name: tf_unet/layers.py
Class Name:
Method Name: conv2d