công khai enum cuối cùng Biến tổng hợp
Indicates how a distributed variable will be aggregated.
tensorflow.VariableAggregation
Hằng số
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. |
Phương pháp kế thừa
int cuối cùng | so sánhTo ( VariableAggregation arg0) |
int | so sánh (Đối tượng arg0) |
boolean cuối cùng | bằng (Đối tượng arg0) |
Lớp cuối cùng< Tập hợp biến > | getDeclaringClass () |
int cuối cùng | mã băm () |
chuỗi cuối cùng | tên () |
int cuối cùng | thứ tự () |
Sợi dây | toString () |
tĩnh <T mở rộng Enum<T>> T | valueOf (Lớp<T> arg0, Chuỗi arg1) |
boolean | bằng (Đối tượng arg0) |
Lớp cuối cùng<?> | getClass () |
int | mã băm () |
khoảng trống cuối cùng | thông báo () |
khoảng trống cuối cùng | thông báoTất cả () |
Sợi dây | toString () |
khoảng trống cuối cùng | chờ đã (arg0 dài, int arg1) |
khoảng trống cuối cùng | chờ đã (arg0 dài) |
khoảng trống cuối cùng | Chờ đợi () |
int trừu tượng | so sánhTo ( VariableAggregation arg0) |
Giá trị liệt kê
công khai tĩnh cuối cùng Biến tổng hợp KHÔNG ĐƯỢC CÔNG NHẬN
Biến tập hợp tĩnh cuối cùng công khai VARIABLE_AGGREGATION_MEAN
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
Tập hợp biến tĩnh cuối cùng 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;
Tập hợp biến tĩnh cuối cùng công khai 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;
Biến tổng hợp tĩnh cuối cùng VARIABLE_AGGREGATION_SUM
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
Hằng số
int tĩnh công khai VARIABLE_AGGREGATION_MEAN_VALUE
`MEAN`: Take the arithmetic mean ("average") of the updates across replicas.
VARIABLE_AGGREGATION_MEAN = 2;
Giá trị không đổi: 2
int tĩnh công khai 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;
Giá trị không đổi: 0
int cuối cùng tĩnh công khai 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;
Giá trị không đổi: 3
int cuối cùng tĩnh công khai VARIABLE_AGGREGATION_SUM_VALUE
`SUM`: Add the updates across replicas.
VARIABLE_AGGREGATION_SUM = 1;
Giá trị không đổi: 1