WorkerShutdownMode enum akhir publik
Indicates the behavior of the worker when an internal error or shutdown signal is received.
tensorflow.WorkerShutdownMode
Konstanta
ke dalam | DEFAULT_VALUE | DEFAULT = 0; |
ke dalam | NOT_CONFIGURED_VALUE | NOT_CONFIGURED = 1; |
ke dalam | SHUTDOWN_AFTER_TIMEOUT_VALUE | SHUTDOWN_AFTER_TIMEOUT = 3; |
ke dalam | TUNGGU_FOR_COORDINATOR_VALUE | WAIT_FOR_COORDINATOR = 2; |
Metode Warisan
Nilai Enum
WorkerShutdownMode DEFAULT final publik statis
DEFAULT = 0;
WorkerShutdownMode akhir statis publik NOT_CONFIGURED
NOT_CONFIGURED = 1;
WorkerShutdownMode akhir statis publik SHUTDOWN_AFTER_TIMEOUT
SHUTDOWN_AFTER_TIMEOUT = 3;
WorkerShutdownMode final statis publik TIDAK DIAKUI
WorkerShutdownMode final statis publik WAIT_FOR_COORDINATOR
WAIT_FOR_COORDINATOR = 2;
Konstanta
int akhir statis publik DEFAULT_VALUE
DEFAULT = 0;
Nilai Konstan: 0
int final statis publik NOT_CONFIGURED_VALUE
NOT_CONFIGURED = 1;
Nilai Konstan: 1
int akhir statis publik SHUTDOWN_AFTER_TIMEOUT_VALUE
SHUTDOWN_AFTER_TIMEOUT = 3;
Nilai Konstan: 3
int akhir statis publik WAIT_FOR_COORDINATOR_VALUE
WAIT_FOR_COORDINATOR = 2;
Nilai Konstan: 2