عمومی استاتیک کلاس نهایی RPCOptions.Builder
نوع Protobuf tensorflow.RPCOptions
روش های عمومی
RPCOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
RPCOptions | ساختن () |
RPCOptions | ساخت جزئی () |
RPCOptions.Builder | روشن () |
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 | الگوریتم 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 (فیلد 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 | کلون () |
بولی | getCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
رشته | الگوریتم getCompression () The compression algorithm to be used. |
com.google.protobuf.ByteString | getCompressionAlgorithmBytes () The compression algorithm to be used. |
بین المللی | getCompressionLevel () If compression_algorithm is set, the compression level to be used. |
RPCOptions | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
بولی | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
بولی | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
بولی نهایی | |
RPCOptions.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
نهایی RPCOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
RPCOptions.Builder | setCacheRpcResponse (مقدار بولی) 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 (مقدار رشته) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionAlgorithmBytes (مقدار com.google.protobuf.ByteString) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionLevel (مقدار int) If compression_algorithm is set, the compression level to be used. |
RPCOptions.Builder | setDisableSessionConnectionSharing (مقدار بولی) Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
RPCOptions.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
نهایی RPCOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
RPCOptions.Builder | setUseRpcForInprocessMaster (مقدار بولی) If true, always use RPC to contact the session target. |
روش های ارثی
روش های عمومی
public RPCOptions.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی 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 . 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 ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
عمومی RPCOptions.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.Builder clearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
عمومی RPCOptions.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;
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;
رشته عمومی getCompression Algorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
عمومی com.google.protobuf.ByteString getCompressionAlgorithmBytes ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
عمومی 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 getDescriptorForType ()
بولی عمومی getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
بولی عمومی 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;
بولین نهایی عمومی isInitialized ()
عمومی RPCOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
public RPCOptions.Builder setCacheRpcResponse (مقدار بولی)
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 (مقدار رشته)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
عمومی RPCOptions.Builder setCompressionAlgorithmBytes (مقدار com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
عمومی RPCOptions.Builder setCompressionLevel (مقدار 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 (مقدار بولی)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
public RPCOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
public RPCOptions.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
عمومی RPCOptions.Builder setUseRpcForInprocessMaster (مقدار بولی)
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;