فهرست نهایی عمومی همگام سازی متغیر
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. |
روش های ارثی
بین المللی نهایی | compareTo ( VariableSynchronization arg0) |
بین المللی | مقایسه با (ابجکت arg0) |
بولی نهایی | برابر است (شیء arg0) |
کلاس نهایی< Synchronization متغیر > | getDeclaringClass () |
بین المللی نهایی | هش کد () |
رشته نهایی | نام () |
بین المللی نهایی | ترتیبی () |
رشته | toString () |
استاتیک <T Enum<T>> T را گسترش می دهد | valueOf (Class<T> arg0، رشته arg1) |
بولی | برابر است (شیء arg0) |
کلاس نهایی<?> | getClass () |
بین المللی | هش کد () |
باطل نهایی | اطلاع رسانی () |
باطل نهایی | اطلاع رسانی به همه () |
رشته | toString () |
باطل نهایی | صبر کنید (long arg0، int arg1) |
باطل نهایی | صبر کنید (طولانی arg0) |
باطل نهایی | صبر کن () |
انتزاعی | compareTo ( VariableSynchronization arg0) |
مقادیر Enum
عمومی استاتیک نهایی همگام سازی متغیر ناشناخته
همگام سازی متغیر نهایی استاتیک عمومی 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