[go: nahoru, domu]

Skip to content

Commit

Permalink
Make primary property on DistributedValue private.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 295829087
Change-Id: I5c0bf035780f92de197578c979301ac900dc7afc
  • Loading branch information
kenfranko authored and sonnet-copybara committed Feb 18, 2020
1 parent 4bbbcbc commit b6152b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonnet/src/distribute/replicator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_variable_synchronization_default(self, replicator_fn, create_var):
self.skipTest("No replicator supplied.")
v = create_var(replicator)
self.assertEqual(tf.VariableSynchronization.ON_READ,
v.primary.synchronization)
v.values[0].synchronization)

@test_utils.combined_named_parameters(replicator_utils.named_replicators(),
all_variable_creators())
Expand Down

0 comments on commit b6152b7

Please sign in to comment.