clase final estática pública ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig Clases anidadas
| clase | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. | |
Constantes
| entero | DISPATCHER_ADDRESS_FIELD_NUMBER | |
| entero | DISPATCHER_TIMEOUT_MS_FIELD_NUMBER | |
| entero | HEARTBEAT_INTERVAL_MS_FIELD_NUMBER | |
| entero | PORT_FIELD_NUMBER | |
| entero | PROTOCOLO_CAMPO_NÚMERO | |
| entero | TRABAJADOR_DIRECCIÓN_CAMPO_NÚMERO |
Métodos públicos
| booleano | es igual (Objeto obj) |
| ServiceConfig.WorkerConfig estático | |
| ServiceConfig.WorkerConfig | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Cadena | getDispatcherAddress () The address of the dispatcher to register with. |
| com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
| largo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| largo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| largo | obtener puerto () The port for the worker to bind to. |
| Cadena | obtener protocolo () The protocol for the worker to use when connecting to the dispatcher. |
| com.google.protobuf.ByteString | obtenerProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
| entero | |
| com.google.protobuf.UnknownFieldSet final | |
| Cadena | getWorkerAddress () The address of the worker server. |
| com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
| entero | código hash () |
| booleano final | |
| ServiceConfig.WorkerConfig.Builder estático | newBuilder (prototipo ServiceConfig.WorkerConfig ) |
| ServiceConfig.WorkerConfig.Builder estático | |
| ServiceConfig.WorkerConfig.Builder | |
| ServiceConfig.WorkerConfig estático | parseDelimitedFrom (entrada de InputStream) |
| ServiceConfig.WorkerConfig estático | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos de ByteBuffer) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| ServiceConfig.WorkerConfig estático | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos com.google.protobuf.ByteString) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| estático | analizador () |
| ServiceConfig.WorkerConfig.Builder | |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público DISPATCHER_ADDRESS_FIELD_NUMBER
Valor constante: 3
int final estático público DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Valor constante: 6
int final estático público HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
Valor constante: 5
int final estático público PORT_FIELD_NUMBER
Valor constante: 1
int final estático público PROTOCOL_FIELD_NUMBER
Valor constante: 2
int final estático público WORKER_ADDRESS_FIELD_NUMBER
Valor constante: 4
Métodos públicos
público booleano es igual (Objeto obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
cadena pública getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; público com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3; público largo getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; público largo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; público getParserForType ()
getPort público largo ()
The port for the worker to bind to. A value of 0 indicates that the worker may bind to any available port.
int64 port = 1; cadena pública getProtocol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; público com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; público int getSerializedSize ()
público final com.google.protobuf.UnknownFieldSet getUnknownFields ()
cadena pública getWorkerAddress ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; público com.google.protobuf.ByteString getWorkerAddressBytes ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; código hash int público ()
público final booleano isInitialized ()
público estático ServiceConfig.WorkerConfig.Builder newBuilder (prototipo ServiceConfig.WorkerConfig )
ServiceConfig.WorkerConfig estático público parseDelimitedFrom (entrada de InputStream)
Lanza
| IOExcepción |
|---|
público estático ServiceConfig.WorkerConfig parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (datos ByteBuffer)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
público estático ServiceConfig.WorkerConfig parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
público estático ServiceConfig.WorkerConfig parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServiceConfig.WorkerConfig parseFrom estático público (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOExcepción |
|---|
público estático ServiceConfig.WorkerConfig parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ServiceConfig.WorkerConfig parseFrom estático público (datos com.google.protobuf.ByteString)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
público estático ServiceConfig.WorkerConfig parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
público estático ServiceConfig.WorkerConfig parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOExcepción |
|---|