160196137fde3fd57c5051aea75ea9830eb25d62,keras/backend/tensorflow_backend.py,,min,#Any#Any#Any#,105

Before Change




def min(x, axis=None, keepdims=False):
    if axis is not None and axis < 0:
        axis = axis % len(x.get_shape())
    return tf.reduce_min(x, reduction_indices=axis, keep_dims=keepdims)


def sum(x, axis=None, keepdims=False):

After Change




def min(x, axis=None, keepdims=False):
    axis = normalize_axis(axis, ndim(x))
    return tf.reduce_min(x, reduction_indices=axis, keep_dims=keepdims)


def sum(x, axis=None, keepdims=False):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: keras-team/keras
Commit Name: 160196137fde3fd57c5051aea75ea9830eb25d62
Time: 2016-01-17
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: min


Project Name: keras-team/keras
Commit Name: 160196137fde3fd57c5051aea75ea9830eb25d62
Time: 2016-01-17
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: max


Project Name: keras-team/keras
Commit Name: 160196137fde3fd57c5051aea75ea9830eb25d62
Time: 2016-01-17
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: sum


Project Name: keras-team/keras
Commit Name: 160196137fde3fd57c5051aea75ea9830eb25d62
Time: 2016-01-17
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: min