VariableAggregation enum akhir publik
Indicates how a distributed variable will be aggregated.
tensorflow.VariableAggregation
Konstanta
ke dalam | VARIABLE_AGGREGATION_MEAN_VALUE | `MEAN`: Take the arithmetic mean ("average") of the updates across replicas. |
ke dalam | VARIABLE_AGGREGATION_NONE_VALUE | `NONE`: This is the default, giving an error if you use a variable-update operation with multiple replicas. |
ke dalam | 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. |
ke dalam | VARIABLE_AGGREGATION_SUM_VALUE | `SUM`: Add the updates across replicas. |
Metode Warisan
int terakhir | bandingkanTo ( VariableAggregation arg0) |
ke dalam | bandingkanTo (Objek arg0) |
boolean terakhir | sama dengan (Objek arg0) |
Kelas akhir< VariableAggregation > | dapatkanDeklarasiKelas () |
int terakhir | Kode hash () |
String terakhir | nama () |
int terakhir | ordinal () |
Rangkaian | keString () |
statis <T memperluas Enum<T>> T | valueOf (Kelas<T> arg0, String arg1) |
boolean | sama dengan (Objek arg0) |
Kelas terakhir<?> | dapatkan Kelas () |
ke dalam | Kode hash () |
kekosongan terakhir | beri tahu () |
kekosongan terakhir | beri tahuSemua () |
Rangkaian | keString () |
kekosongan terakhir | tunggu (arg0 panjang, int arg1) |
kekosongan terakhir | tunggu (argumen panjang0) |
kekosongan terakhir | Tunggu () |
abstrak ke dalam | bandingkanTo ( VariableAggregation arg0) |
Nilai Enum
VariableAggregation final statis publik TIDAK DIAKUI
VariableAggregation final statis publik VARIABLE_AGGREGATION_MEAN
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
VariableAggregation final statis publik 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 final statis publik 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 final statis publik VARIABLE_AGGREGATION_SUM
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
Konstanta
int akhir statis publik VARIABLE_AGGREGATION_MEAN_VALUE
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
Nilai Konstan: 2
int final statis publik 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;
Nilai Konstan: 0
int final statis publik 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;
Nilai Konstan: 3
int akhir statis publik VARIABLE_AGGREGATION_SUM_VALUE
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
Nilai Konstan: 1