Enum סופי ציבורי Variable Aggregation
Indicates how a distributed variable will be aggregated.
tensorflow.VariableAggregation
קבועים
int | VARIABLE_AGGREGATION_MEAN_VALUE | `MEAN`: Take the arithmetic mean ("average") of the updates across replicas. |
int | VARIABLE_AGGREGATION_NONE_VALUE | `NONE`: This is the default, giving an error if you use a variable-update operation with multiple replicas. |
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. |
int | VARIABLE_AGGREGATION_SUM_VALUE | `SUM`: Add the updates across replicas. |
שיטות בירושה
int סופי | compareTo ( VariableAggregation arg0) |
int | compareTo (Object arg0) |
בוליאנית סופית | שווה (Object arg0) |
מחלקה סופית< VariableAggregation > | getDeclaringClass () |
int סופי | hashcode () |
מחרוזת סופית | שם () |
int סופי | סידורי () |
חוּט | toString () |
סטטי <T מרחיב את Enum<T>> T | valueOf (Class<T> arg0, מחרוזת arg1) |
בוליאני | שווה (Object arg0) |
כיתה אחרונה<?> | getClass () |
int | hashcode () |
ריק סופי | להודיע () |
ריק סופי | הודע הכל () |
חוּט | toString () |
ריק סופי | המתן (ארג0 ארוך, int arg1) |
ריק סופי | המתן (ארג0 ארוך) |
ריק סופי | חכה () |
מופשט int | compareTo ( VariableAggregation arg0) |
ערכים מנויים
Public static final Variable Aggregation UNRECOGNIZED
ציבורי סטטי סופית Variable Aggregation VARIABLE_AGGREGATION_MEAN
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
Public static final Variable Aggregation 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;
Public static final Variable Aggregation 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;
ציבורי סטטי סופית Variable Aggregation 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