5e6905309a6935e2356845c0873fb0f3ebec9aa5,horovod/_keras/__init__.py,,broadcast,#Any#Any#Any#Any#,88
Before Change
def broadcast(backend, value, root_rank, name):
bcast_op = hvd.broadcast(tf.constant(value, name=name), root_rank)
return backend.get_session().run(bcast_op)
def load_model(keras, wrap_optimizer, filepath, custom_optimizers, custom_objects):
horovod_objects = {
After Change
def broadcast(backend, value, root_rank, name):
return _eval(backend, hvd.broadcast(tf.constant(value, name=name), root_rank))
def load_model(keras, wrap_optimizer, filepath, custom_optimizers, custom_objects):
horovod_objects = {
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: horovod/horovod
Commit Name: 5e6905309a6935e2356845c0873fb0f3ebec9aa5
Time: 2019-07-20
Author: alexander.sergeev@live.com
File Name: horovod/_keras/__init__.py
Class Name:
Method Name: broadcast
Project Name: horovod/horovod
Commit Name: 5e6905309a6935e2356845c0873fb0f3ebec9aa5
Time: 2019-07-20
Author: alexander.sergeev@live.com
File Name: horovod/_keras/__init__.py
Class Name:
Method Name: allgather
Project Name: horovod/horovod
Commit Name: 5e6905309a6935e2356845c0873fb0f3ebec9aa5
Time: 2019-07-20
Author: alexander.sergeev@live.com
File Name: horovod/_keras/__init__.py
Class Name:
Method Name: allreduce