RPCOptions.Builder kelas akhir statis publik
tensorflow.RPCOptions
tipe protobuf.RPCOptions
Metode Publik
RPCOptions.Pembangun | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi RPCO | membangun () |
Opsi RPCO | |
RPCOptions.Pembangun | jernih () |
RPCOptions.Pembangun | clearCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
RPCOptions.Pembangun | hapusAlgoritma Kompresi () The compression algorithm to be used. |
RPCOptions.Pembangun | jelasTingkat Kompresi () If compression_algorithm is set, the compression level to be used. |
RPCOptions.Pembangun | hapusDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Pembangun | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
RPCOptions.Pembangun | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RPCOptions.Pembangun | hapusUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
RPCOptions.Pembangun | klon () |
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 | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | dapatkanDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
boolean | dapatkanUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
boolean terakhir | |
RPCOptions.Pembangun | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions.Pembangun | mergeFrom (com.google.protobuf.Pesan lainnya) |
RPCOptions.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
RPCOptions.Pembangun | setCacheRpcResponse (nilai boolean) Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
RPCOptions.Pembangun | setCompressionAlgorithm (Nilai string) The compression algorithm to be used. |
RPCOptions.Pembangun | setCompressionAlgorithmBytes (nilai com.google.protobuf.ByteString) The compression algorithm to be used. |
RPCOptions.Pembangun | setCompressionLevel (nilai int) If compression_algorithm is set, the compression level to be used. |
RPCOptions.Pembangun | setDisableSessionConnectionSharing (nilai boolean) Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Pembangun | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
RPCOptions.Pembangun | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
RPCOptions.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
RPCOptions.Pembangun | setUseRpcForInprocessMaster (nilai boolean) If true, always use RPC to contact the session target. |
Metode Warisan
Metode Publik
public RPCOptions.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
RPCOptions publik.Builder clearCacheRpcResponse ()
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;
RPCOptions publik.Builder clearCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions publik.Builder clearCompressionLevel ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
RPCOptions publik.Builder clearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
RPCOptions publik.Builder clearUseRpcForInprocessMaster ()
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;
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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
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;
boolean akhir publik diinisialisasi ()
RPCOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
RPCOptions akhir publik. Penggabungan pembangunUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
RPCOptions.Builder publik setCacheRpcResponse (nilai boolean)
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;
RPCOptions publik.Builder setCompressionAlgorithm (Nilai string)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions.Builder setCompressionAlgorithmBytes publik (nilai com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions publik.Builder setCompressionLevel (nilai int)
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
public RPCOptions.Builder setDisableSessionConnectionSharing (nilai boolean)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
RPCOptions.Builder setField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
RPCOptions.Builder setRepeatedField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
RPCOptions akhir publik.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
RPCOptions.Builder publik setUseRpcForInprocessMaster (nilai boolean)
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;