tf.VariableAggregation  |  TensorFlow v2.0.0 (original) (raw)

tf.VariableAggregation

Stay organized with collections Save and categorize content based on your preferences.

Indicates how a distributed variable will be aggregated.

tf.distribute.Strategy distributes a model by making multiple copies (called "replicas") acting data-parallel on different elements of the input batch. When performing some variable-update operation, sayvar.assign_add(x), in a model, we need to resolve how to combine the different values for x computed in the different replicas.

Class Variables

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2020-10-01 UTC.