فهرست نهایی عمومی VariableAggregation
Indicates how a distributed variable will be aggregated.
tensorflow.VariableAggregation
ثابت ها
بین المللی | VARIABLE_AGGREGATION_MEAN_VALUE | `MEAN`: Take the arithmetic mean ("average") of the updates across replicas. |
بین المللی | VARIABLE_AGGREGATION_NONE_VALUE | `NONE`: This is the default, giving an error if you use a variable-update operation with multiple replicas. |
بین المللی | VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA_VALUE | `ONLY_FIRST_REPLICA`: This is for when every replica is performing the same update, but we only want to perform the update once. |
بین المللی | VARIABLE_AGGREGATION_SUM_VALUE | `SUM`: Add the updates across replicas. |
روش های ارثی
مقادیر Enum
عمومی استاتیک نهایی VariableAggregation UNREGNIZED
عمومی استاتیک نهایی VariableAggregation VARIABLE_AGGREGATION_MEAN
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
عمومی استاتیک نهایی VariableAggregation VARIABLE_AGGREGATION_NONE
`NONE`: This is the default, giving an error if you use a variable-update operation with multiple replicas.
VARIABLE_AGGREGATION_NONE = 0;
عمومی استاتیک نهایی VariableAggregation VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA
`ONLY_FIRST_REPLICA`: This is for when every replica is performing the same update, but we only want to perform the update once. Used, e.g., for the global step counter.
VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA = 3;
عمومی استاتیک نهایی VariableAggregation VARIABLE_AGGREGATION_SUM
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
ثابت ها
نهایی استاتیک عمومی VARIABLE_AGGREGATION_MEAN_VALUE
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
مقدار ثابت: 2
نهایی استاتیک عمومی VARIABLE_AGGREGATION_NONE_VALUE
`NONE`: This is the default, giving an error if you use a variable-update operation with multiple replicas.
VARIABLE_AGGREGATION_NONE = 0;
مقدار ثابت: 0
نهایی استاتیک عمومی VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA_VALUE
`ONLY_FIRST_REPLICA`: This is for when every replica is performing the same update, but we only want to perform the update once. Used, e.g., for the global step counter.
VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA = 3;
مقدار ثابت: 3
نهایی استاتیک عمومی VARIABLE_AGGREGATION_SUM_VALUE
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
ارزش ثابت: 1