Enum סופי ציבורי VariableSynchronization
Indicates when a distributed variable will be synced.
tensorflow.VariableSynchronization
קבועים
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. |
שיטות בירושה
int סופי | compareTo ( VariableSynchronization arg0) |
int | compareTo (Object arg0) |
בוליאנית סופית | שווה (Object arg0) |
מחלקה סופית< VariableSynchronization > | getDeclaringClass () |
int סופי | hashcode () |
מחרוזת סופית | שם () |
int סופי | סידורי () |
חוּט | toString () |
סטטי <T מרחיב את Enum<T>> T | valueOf (Class<T> arg0, מחרוזת arg1) |
בוליאני | שווה (Object arg0) |
כיתה אחרונה<?> | getClass () |
int | hashcode () |
ריק סופי | להודיע () |
ריק סופי | הודע הכל () |
חוּט | toString () |
ריק סופי | המתן (ארג0 ארוך, אינט arg1) |
ריק סופי | המתן (ארג0 ארוך) |
ריק סופי | חכה () |
מופשט int | compareTo ( VariableSynchronization arg0) |
ערכים מנויים
Public static final VariableSynchronization UNCOGNIZED
סופי סטטי ציבורי משתנה סינכרון 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;
סופי סטטי ציבורי משתנה סינכרון 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;
ציבורי סטטי סופי משתנה סינכרון 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;
ציבורי סטטי סופי משתנה סינכרון 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;
קבועים
אינט סופי סטטי ציבורי 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
אינט סופי סטטי ציבורי 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
אינט סופי סטטי ציבורי 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
אינט סופי סטטי ציבורי 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