การแจงนับสุดท้ายสาธารณะ VariableSynchronization
Indicates when a distributed variable will be synced.
tensorflow.VariableSynchronization
แปรผัน ค่าคงที่
ภายใน | VARIABLE_SYNCHRONIZATION_AUTO_VALUE | `AUTO`: Indicates that the synchronization will be determined by the current `DistributionStrategy` (eg. |
ภายใน | 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_ON_READ_VALUE | `ON_READ`: Indicates that the variable will be aggregated across devices when it is read (eg. |
ภายใน | VARIABLE_SYNCHRONIZATION_ON_WRITE_VALUE | `ON_WRITE`: Indicates that the variable will be updated across devices every time it is written. |
วิธีการสืบทอด
int สุดท้าย | เปรียบเทียบถึง ( VariableSynchronization arg0) |
ภายใน | เปรียบเทียบถึง (วัตถุ arg0) |
บูลีนสุดท้าย | เท่ากับ (วัตถุ arg0) |
คลาสสุดท้าย < VariableSynchronization > | getDeclaringClass () |
int สุดท้าย | แฮชโค้ด () |
สตริงสุดท้าย | ชื่อ () |
int สุดท้าย | ลำดับ () |
สตริง | toString () |
คงที่ <T ขยาย Enum <T>> T | valueOf (คลาส <T> arg0, สตริง arg1) |
บูลีน | เท่ากับ (วัตถุ arg0) |
คลาสสุดท้าย<?> | รับคลาส () |
ภายใน | แฮชโค้ด () |
โมฆะสุดท้าย | แจ้ง () |
โมฆะสุดท้าย | แจ้งทั้งหมด () |
สตริง | toString () |
โมฆะสุดท้าย | รอสักครู่ (ยาว arg0, int arg1) |
โมฆะสุดท้าย | รอ (ยาว arg0) |
โมฆะสุดท้าย | รอ () |
บทคัดย่อ | เปรียบเทียบถึง ( VariableSynchronization arg0) |
ค่าแจงนับ
VariableSynchronization สุดท้ายแบบคงที่สาธารณะ ไม่ได้รับการจดจำ
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;
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;
VariableSynchronization สุดท้ายแบบคงที่สาธารณะ 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;
สาธารณะคงสุดท้าย VariableSynchronization 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;
ค่าคงที่
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;
ค่าคงที่: 0
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;
ค่าคงที่: 1
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;
ค่าคงที่: 3
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;
ค่าคงที่: 2