공개 최종 열거형 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. |
상속된 메서드
열거형 값
공개 정적 최종 VariableAggregation 이 인식되지 않음
공개 정적 최종 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;
상수
공개 정적 최종 int VARIABLE_AGGREGATION_MEAN_VALUE
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
상수값: 2
공개 정적 최종 int 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
공개 정적 최종 int 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
공개 정적 최종 int VARIABLE_AGGREGATION_SUM_VALUE
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
상수값: 1