Opsi RPCO kelas akhir publik
tensorflow.RPCOptions
tipe protobuf.RPCOptions
Kelas Bersarang
kelas | RPCOptions.Pembangun | tensorflow.RPCOptions tipe protobuf.RPCOptions |
Konstanta
ke dalam | CACHE_RPC_RESPONSE_FIELD_NUMBER | |
ke dalam | COMPRESSION_ALGORITHM_FIELD_NUMBER | |
ke dalam | KOMPRESI_LEVEL_FIELD_NUMBER | |
ke dalam | DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER | |
ke dalam | USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
boolean | dapatkanCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Rangkaian | dapatkan Algoritma Kompresi () The compression algorithm to be used. |
com.google.protobuf.ByteString | dapatkanCompressionAlgorithmBytes () The compression algorithm to be used. |
ke dalam | dapatkanTingkat Kompresi () If compression_algorithm is set, the compression level to be used. |
Opsi RPCO statis | |
Opsi RPCO | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
boolean | dapatkanDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
boolean | dapatkanUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
ke dalam | Kode hash () |
boolean terakhir | |
RPCOptions.Builder statis | |
RPCOptions.Builder statis | newBuilder (prototipe RPCOptions ) |
RPCOptions.Pembangun | |
Opsi RPCO statis | parseDelimitedFrom (masukan Aliran Masukan) |
Opsi RPCO statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi RPCO statis | parseFrom (data ByteBuffer) |
Opsi RPCO statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi RPCO statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi RPCO statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Opsi RPCO statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi RPCO statis | parseFrom (com.google.protobuf.ByteString data) |
Opsi RPCO statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opsi RPCO statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
RPCOptions.Pembangun | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik CACHE_RPC_RESPONSE_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik COMPRESSION_ALGORITHM_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik COMPRESSION_LEVEL_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
boolean publik getCacheRpcResponse ()
Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . This is only necessary when the network fabric is experiencing a significant error rate. Without it we'll fail a step on an network error, while with it we'll be able to complete long steps (like complex initializations) in the face of some network errors during RecvTensor.
bool cache_rpc_response = 4;
String publik getCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
publik com.google.protobuf.ByteString getCompressionAlgorithmBytes ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
publik int getCompressionLevel ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
boolean publik getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik getUseRpcForInprocessMaster ()
If true, always use RPC to contact the session target. If false (the default option), TensorFlow may use an optimized transport for client-master communication that avoids the RPC stack. This option is primarily for used testing the RPC stack.
bool use_rpc_for_inprocess_master = 1;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
RPCOptions statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RPCOptions statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RPCOptions statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom RPCOptions statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
RPCOptions statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom RPCOptions statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom RPCOptions statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RPCOptions statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|