kelas akhir statis publik ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig Kelas Bersarang
| kelas | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. | |
Konstanta
| ke dalam | DISPATCHER_ADDRESS_FIELD_NUMBER | |
| ke dalam | DISPATCHER_TIMEOUT_MS_FIELD_NUMBER | |
| ke dalam | HEARTBEAT_INTERVAL_MS_FIELD_NUMBER | |
| ke dalam | PORT_FIELD_NUMBER | |
| ke dalam | PROTOCOL_FIELD_NUMBER | |
| ke dalam | WORKER_ADDRESS_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| ServiceConfig.WorkerConfig statis | |
| ServiceConfig.WorkerConfig | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| Rangkaian | dapatkanDispatcherAddress () The address of the dispatcher to register with. |
| com.google.protobuf.ByteString | dapatkanDispatcherAddressBytes () The address of the dispatcher to register with. |
| panjang | dapatkanDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| panjang | dapatkanHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| panjang | dapatkanPort () The port for the worker to bind to. |
| Rangkaian | dapatkanProtokol () The protocol for the worker to use when connecting to the dispatcher. |
| com.google.protobuf.ByteString | dapatkanProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
| ke dalam | |
| final com.google.protobuf.UnknownFieldSet | |
| Rangkaian | dapatkan Alamat Pekerja () The address of the worker server. |
| com.google.protobuf.ByteString | dapatkanWorkerAddressBytes () The address of the worker server. |
| ke dalam | Kode hash () |
| boolean terakhir | |
| ServiceConfig.WorkerConfig.Builder statis | newBuilder ( prototipe ServiceConfig.WorkerConfig ) |
| ServiceConfig.WorkerConfig.Builder statis | |
| ServiceConfig.WorkerConfig.Builder | |
| ServiceConfig.WorkerConfig statis | parseDelimitedFrom (masukan Aliran Masukan) |
| ServiceConfig.WorkerConfig statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig statis | parseFrom (data ByteBuffer) |
| ServiceConfig.WorkerConfig statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| ServiceConfig.WorkerConfig statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig statis | parseFrom (com.google.protobuf.ByteString data) |
| ServiceConfig.WorkerConfig statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| ServiceConfig.WorkerConfig.Builder | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik DISPATCHER_ADDRESS_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik HARTBEAT_INTERVAL_MS_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik PORT_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik PROTOCOL_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik WORKER_ADDRESS_FIELD_NUMBER
Nilai Konstan: 4
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String publik getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; publik com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3; getDispatcherTimeoutMs panjang publik ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; get panjang publikHeartbeatIntervalMs ( )
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; publik dapatkanParserForType ()
getPort panjang publik ()
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; String publik getProtokol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; publik com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
String publik 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; publik 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; kode hash int publik ()
boolean akhir publik diinisialisasi ()
ServiceConfig.WorkerConfig parseDelimitedFrom statis publik (input InputStream)
Melempar
| Pengecualian IO |
|---|
ServiceConfig.WorkerConfig parseDelimitedFrom statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (data ByteBuffer)
Melempar
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (com.google.protobuf.CodedInputStream input)
Melempar
| Pengecualian IO |
|---|
ServiceConfig.WorkerConfig parseFrom (byte[] data statis publik , com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.ByteString data) statis publik
Melempar
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
ServiceConfig.WorkerConfig parseFrom statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| InvalidProtocolBufferException |
|---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
| Pengecualian IO |
|---|