lớp cuối cùng tĩnh công khai RPCOptions.Builder
tensorflow.RPCOptions
loại protobuf.RPCOptions
Phương pháp công khai
RPCOptions.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Tùy chọn RPC | xây dựng () |
Tùy chọn RPC | |
RPCOptions.Builder | thông thoáng () |
RPCOptions.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 . |
RPCOptions.Builder | Thuật toán ClearCompression () The compression algorithm to be used. |
RPCOptions.Builder | ClearCompressionLevel () If compression_algorithm is set, the compression level to be used. |
RPCOptions.Builder | clearDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
RPCOptions.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RPCOptions.Builder | clearUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
RPCOptions.Builder | dòng vô tính () |
boolean | getCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Sợi dây | Thuật toán nén get () The compression algorithm to be used. |
com.google.protobuf.ByteString | getCompressionAlgorithmBytes () The compression algorithm to be used. |
int | getCompressionLevel () If compression_algorithm is set, the compression level to be used. |
Tùy chọn RPC | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
boolean | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
boolean cuối cùng | |
RPCOptions.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
RPCOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
RPCOptions.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
RPCOptions.Builder | setCacheRpcResponse (giá trị 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.Builder | setCompressionAlgorithm (Giá trị chuỗi) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionAlgorithmBytes (giá trị com.google.protobuf.ByteString) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionLevel (giá trị int) If compression_algorithm is set, the compression level to be used. |
RPCOptions.Builder | setDisableSessionConnectionSharing (giá trị boolean) Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
RPCOptions.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
RPCOptions.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
RPCOptions.Builder | setUseRpcForInprocessMaster (giá trị boolean) If true, always use RPC to contact the session target. |
Phương pháp kế thừa
Phương pháp công khai
RPCOptions.Builder công khai addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
RPCOptions.Builder công khai 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.Builder clearCompressionAlgorithm công khai ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions.Builder clearCompressionLevel công khai ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
RPCOptions.Builder công khai clearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
RPCOptions.Builder công khai 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 công khai 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;
Chuỗi công khai getCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
com.google.protobuf.ByteString getCompressionAlgorithmBytes công khai ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
int công khai getCompressionLevel ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
boolean công khai getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
boolean công khai 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 cuối cùng công khai được khởi tạo ()
RPCOptions.Builder mergeFrom công khai (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
RPCOptions.Builder mergeUnknownFields cuối cùng công khai (com.google.protobuf.UnknownFieldSet knownFields)
RPCOptions.Builder setCacheRpcResponse công khai (giá trị 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.Builder setCompressionAlgorithm công khai (Giá trị chuỗi)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions.Builder setCompressionAlgorithmBytes công khai (giá trị com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
RPCOptions.Builder setCompressionLevel công khai (giá trị int)
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
RPCOptions.Builder setDisableSessionConnectionSharing công khai (giá trị boolean)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
RPCOptions.Builder setField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
RPCOptions.Builder setRepeatedField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
RPCOptions.Builder setUnknownFields cuối cùng công khai (com.google.protobuf.UnknownFieldSet knownFields)
RPCOptions.Builder công khai setUseRpcForInprocessMaster (giá trị 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;