מחלקה סופית סטטית ציבורית RPCOptions.Builder
סוג Protobuf tensorflow.RPCOptions
שיטות ציבוריות
RPCOptions.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
RPCOptions | לבנות () |
RPCOptions | buildPartial () |
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 | clearCompressionAlgorithm () 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 . |
חוּט | getCompressionAlgorithm () 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. |
RPCOptions | |
final 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 אחר) |
final RPCOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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, ערך אובייקט) |
RPCOptions.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
final RPCOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
RPCOptions.Builder | setUseRpcForInprocessMaster (ערך בוליאני) If true, always use RPC to contact the session target. |
שיטות בירושה
שיטות ציבוריות
public RPCOptions.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public 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;
public RPCOptions.Builder clearCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public 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;
public RPCOptions.Builder clearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
public 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;
מחרוזת ציבורית getCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public com.google.protobuf.ByteString getCompressionAlgorithmBytes ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public 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 ()
public 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;
בוליאני הסופי הציבורי הוא אתחול ()
public RPCOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public final RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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;
public RPCOptions.Builder setCompressionAlgorithm (ערך מחרוזת)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public RPCOptions.Builder setCompressionAlgorithmBytes (ערך com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public 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;
public 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, ערך אובייקט)
public RPCOptions.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)
public final RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public 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;