Skip to content

Commit

Permalink
Removed call to private method _set_device(), whose behavior may (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdhoffman committed Oct 4, 2017
1 parent 4fafb0f commit 7c2806d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions edward/util/random_variables.py
Expand Up @@ -362,8 +362,6 @@ def copy(org_instance, dict_swap=None, scope="copied",
"Ignoring colocation property.",
name, colocation_op.name, new_op.device,
colocation_op.device)
else:
new_op._set_device(colocation_op.device)

all_colocation_groups = sorted(set(all_colocation_groups))
new_op.node_def.attr["_class"].CopyFrom(attr_value_pb2.AttrValue(
Expand Down

0 comments on commit 7c2806d

Please sign in to comment.