genel son numaralandırma Değişken Senkronizasyon
Indicates when a distributed variable will be synced.
tensorflow.VariableSynchronization
Sabitler
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. |
Kalıtsal Yöntemler
son int | CompareTo ( Değişken Eşitleme arg0) |
int | karşılaştırma (Nesne arg0) |
son boole değeri | eşittir (Nesne arg0) |
son Sınıf< Değişken Senkronizasyon > | getDeclaringClass () |
son int | hashKodu () |
son Dize | isim () |
son int | sıralı () |
Sicim | toString () |
static <T, Enum<T>> T'yi genişletir | valueOf (Class<T> arg0, String arg1) |
boolean | eşittir (Nesne arg0) |
son Sınıf<?> | getClass () |
int | hashKodu () |
son boşluk | bildir () |
son boşluk | tümünü bildir () |
Sicim | toString () |
son boşluk | bekle (uzun arg0, int arg1) |
son boşluk | bekle (uzun arg0) |
son boşluk | Beklemek () |
soyut int | CompareTo ( Değişken Eşitleme arg0) |
Numaralandırma Değerleri
genel statik final Değişken Senkronizasyon TANIMIYOR
genel statik final VariableSynchronization 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;
genel statik final VariableSynchronization 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;
genel statik final Değişken Senkronizasyon 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;
genel statik final Değişken Senkronizasyon 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;
Sabitler
genel statik final int 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;
Sabit Değer: 0
genel statik final int 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;
Sabit Değer: 1
genel statik final int 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;
Sabit Değer: 3
genel statik final int 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;
Sabit Değer: 2