c8503b852d72a6777bc51c7d50e8351a1a023e40,tflearn/layers/conv.py,,global_avg_pool,#Any#Any#,844

Before Change


    assert len(input_shape) == 4, "Incoming Tensor shape must be 4-D"

    with tf.name_scope(name):
        return tf.reduce_mean(incoming, [1, 2])


def residual_block(incoming, nb_blocks, out_channels, downsample=False,
                   downsample_strides=2, activation="relu", batch_norm=True,

After Change


        inference = tf.reduce_mean(incoming, [1, 2])

    // Track output tensor.
    tf.add_to_collection(tf.GraphKeys.LAYER_TENSOR + "/" + name, inference)

    return inference


def residual_block(incoming, nb_blocks, out_channels, downsample=False,
                   downsample_strides=2, activation="relu", batch_norm=True,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: tflearn/tflearn
Commit Name: c8503b852d72a6777bc51c7d50e8351a1a023e40
Time: 2016-07-12
Author: aymeric.damien@gmail.com
File Name: tflearn/layers/conv.py
Class Name:
Method Name: global_avg_pool


Project Name: tflearn/tflearn
Commit Name: c8503b852d72a6777bc51c7d50e8351a1a023e40
Time: 2016-07-12
Author: aymeric.damien@gmail.com
File Name: tflearn/layers/conv.py
Class Name:
Method Name: global_avg_pool


Project Name: tflearn/tflearn
Commit Name: c8503b852d72a6777bc51c7d50e8351a1a023e40
Time: 2016-07-12
Author: aymeric.damien@gmail.com
File Name: tflearn/layers/merge_ops.py
Class Name:
Method Name: merge_outputs


Project Name: tflearn/tflearn
Commit Name: c8503b852d72a6777bc51c7d50e8351a1a023e40
Time: 2016-07-12
Author: aymeric.damien@gmail.com
File Name: tflearn/layers/core.py
Class Name:
Method Name: flatten