RPCOptions.Builder

classe finale statique publique RPCOptions.Builder

tensorflow.RPCOptions de type Protobuf.RPCOptions

Méthodes publiques

RPCOptions.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
Options RPC
Options RPC
RPCOptions.Builder
clair ()
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 (champ 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
cloner ()
booléen
getCacheRpcResponse ()
 Setting cache_rpc_response to true will enable sender side caching of
 response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
 requests .
Chaîne
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.
Options RPC
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
booléen
getDisableSessionConnectionSharing ()
 Disables TCP connection sharing when opening a new RPC channel.
booléen
getUseRpcForInprocessMaster ()
 If true, always use RPC to contact the session target.
booléen final
RPCOptions.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RPCOptions.Builder
mergeFrom (com.google.protobuf.Message autre)
RPCOptions.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
RPCOptions.Builder
setCacheRpcResponse (valeur booléenne)
 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 (valeur de chaîne)
 The compression algorithm to be used.
RPCOptions.Builder
setCompressionAlgorithmBytes (valeur com.google.protobuf.ByteString)
 The compression algorithm to be used.
RPCOptions.Builder
setCompressionLevel (valeur entière)
 If compression_algorithm is set, the compression level to be used.
RPCOptions.Builder
setDisableSessionConnectionSharing (valeur booléenne)
 Disables TCP connection sharing when opening a new RPC channel.
RPCOptions.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
RPCOptions.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
RPCOptions.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
RPCOptions.Builder
setUseRpcForInprocessMaster (valeur booléenne)
 If true, always use RPC to contact the session target.

Méthodes héritées

Méthodes publiques

public RPCOptions.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public RPCOptions ()

public RPCOptions buildPartial ()

public RPCOptions.Builder clear ()

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 clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public RPCOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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;

clone public RPCOptions.Builder ()

public booléen 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;

chaîne publique 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 RPCOptions getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public booléen getDisableSessionConnectionSharing ()

 Disables TCP connection sharing when opening a new RPC channel.
 
bool disable_session_connection_sharing = 5;

public booléen 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 final booléen isInitialized ()

public RPCOptions.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public RPCOptions.Builder mergeFrom (com.google.protobuf.Message autre)

public final RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public RPCOptions.Builder setCacheRpcResponse (valeur booléenne)

 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 (valeur de chaîne)

 The compression algorithm to be used. One of "deflate", "gzip".
 
string compression_algorithm = 2;

public RPCOptions.Builder setCompressionAlgorithmBytes (valeur com.google.protobuf.ByteString)

 The compression algorithm to be used. One of "deflate", "gzip".
 
string compression_algorithm = 2;

public RPCOptions.Builder setCompressionLevel (valeur 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 (valeur booléenne)

 Disables TCP connection sharing when opening a new RPC channel.
 
bool disable_session_connection_sharing = 5;

public RPCOptions.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public RPCOptions.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public final RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public RPCOptions.Builder setUseRpcForInprocessMaster (valeur booléenne)

 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;