6c22058b10d46efd195fbf8fed09954f0c1cd6a3,horovod/keras/__init__.py,,allreduce,#Any#Any#Any#,104

Before Change


        average: If True, computes the average over all ranks.
                 Otherwise, computes the sum over all ranks.
    
    allreduce_op = hvd.allreduce(tf.constant(value, name=name), average=average)
    return K.get_session().run(allreduce_op)


def allgather(value, name=None):
    

After Change


        average: If True, computes the average over all ranks.
                 Otherwise, computes the sum over all ranks.
    
    return _impl.allreduce(K, value, name, average)


def allgather(value, name=None):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: horovod/horovod
Commit Name: 6c22058b10d46efd195fbf8fed09954f0c1cd6a3
Time: 2018-09-26
Author: tgaddair@gmail.com
File Name: horovod/keras/__init__.py
Class Name:
Method Name: allreduce


Project Name: horovod/horovod
Commit Name: 6c22058b10d46efd195fbf8fed09954f0c1cd6a3
Time: 2018-09-26
Author: tgaddair@gmail.com
File Name: horovod/keras/__init__.py
Class Name:
Method Name: allgather


Project Name: horovod/horovod
Commit Name: 6c22058b10d46efd195fbf8fed09954f0c1cd6a3
Time: 2018-09-26
Author: tgaddair@gmail.com
File Name: horovod/keras/__init__.py
Class Name:
Method Name: broadcast