enum cuối cùng công khai Biến đồng bộ hóa
Indicates when a distributed variable will be synced.
tensorflow.VariableSynchronization
Hằng số
int | VARIABLE_SYNCHRONIZATION_AUTO_VALUE | `AUTO`: Indicates that the synchronization will be determined by the current `DistributionStrategy` (eg. |
int | VARIABLE_SYNCHRONIZATION_NONE_VALUE | `NONE`: Indicates that there will only be one copy of the variable, so there is no need to sync. |
int | VARIABLE_SYNCHRONIZATION_ON_READ_VALUE | `ON_READ`: Indicates that the variable will be aggregated across devices when it is read (eg. |
int | VARIABLE_SYNCHRONIZATION_ON_WRITE_VALUE | `ON_WRITE`: Indicates that the variable will be updated across devices every time it is written. |
Phương pháp kế thừa
int cuối cùng | so sánh ( VariableSynchronization 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< Đồng bộ hóa 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ánh ( VariableSynchronization arg0) |
Giá trị liệt kê
biến cuối cùng tĩnh công khai KHÔNG ĐƯỢC NHẬN ĐƯỢC
Đồng bộ hóa biến tĩnh cuối cùng VARIABLE_SYNCHRONIZATION_AUTO
`AUTO`: Indicates that the synchronization will be determined by the current `DistributionStrategy` (eg. With `MirroredStrategy` this would be `ON_WRITE`).
VARIABLE_SYNCHRONIZATION_AUTO = 0;
Đồng bộ hóa biến tĩnh cuối cùng công khai VARIABLE_SYNCHRONIZATION_NONE
`NONE`: Indicates that there will only be one copy of the variable, so there is no need to sync.
VARIABLE_SYNCHRONIZATION_NONE = 1;
Biến đồng bộ hóa cuối cùng tĩnh công khai VARIABLE_SYNCHRONIZATION_ON_READ
`ON_READ`: Indicates that the variable will be aggregated across devices when it is read (eg. when checkpointing or when evaluating an op that uses the variable).
VARIABLE_SYNCHRONIZATION_ON_READ = 3;
Đồng bộ hóa biến tĩnh cuối cùng VARIABLE_SYNCHRONIZATION_ON_WRITE
`ON_WRITE`: Indicates that the variable will be updated across devices every time it is written.
VARIABLE_SYNCHRONIZATION_ON_WRITE = 2;
Hằng số
int cuối cùng tĩnh công khai VARIABLE_SYNCHRONIZATION_AUTO_VALUE
`AUTO`: Indicates that the synchronization will be determined by the current `DistributionStrategy` (eg. With `MirroredStrategy` this would be `ON_WRITE`).
VARIABLE_SYNCHRONIZATION_AUTO = 0;
Giá trị không đổi: 0
int tĩnh công khai VARIABLE_SYNCHRONIZATION_NONE_VALUE
`NONE`: Indicates that there will only be one copy of the variable, so there is no need to sync.
VARIABLE_SYNCHRONIZATION_NONE = 1;
Giá trị không đổi: 1
int cuối cùng tĩnh công khai VARIABLE_SYNCHRONIZATION_ON_READ_VALUE
`ON_READ`: Indicates that the variable will be aggregated across devices when it is read (eg. when checkpointing or when evaluating an op that uses the variable).
VARIABLE_SYNCHRONIZATION_ON_READ = 3;
Giá trị không đổi: 3
int cuối cùng tĩnh công khai VARIABLE_SYNCHRONIZATION_ON_WRITE_VALUE
`ON_WRITE`: Indicates that the variable will be updated across devices every time it is written.
VARIABLE_SYNCHRONIZATION_ON_WRITE = 2;
Giá trị không đổi: 2