RPCOptions.Builder

publiczna statyczna klasa końcowa RPCOptions.Builder

Protobuf typu tensorflow.RPCOptions

Metody publiczne

Konstruktor RPCOptions.Builder
addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
Opcje RPC
Opcje RPC
Konstruktor RPCOptions.Builder
jasne ()
Konstruktor RPCOptions.Builder
wyczyśćCacheRpcResponse ()
 Setting cache_rpc_response to true will enable sender side caching of
 response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
 requests .
Konstruktor RPCOptions.Builder
clearCompressionAlgorithm ()
 The compression algorithm to be used.
Konstruktor RPCOptions.Builder
wyczyśćPoziomkompresji ()
 If compression_algorithm is set, the compression level to be used.
Konstruktor RPCOptions.Builder
clearDisableSessionConnectionSharing ()
 Disables TCP connection sharing when opening a new RPC channel.
Konstruktor RPCOptions.Builder
clearField (pole com.google.protobuf.Descriptors.FieldDescriptor)
Konstruktor RPCOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
Konstruktor RPCOptions.Builder
clearUseRpcForInprocessMaster ()
 If true, always use RPC to contact the session target.
Konstruktor RPCOptions.Builder
klon ()
wartość logiczna
getCacheRpcResponse ()
 Setting cache_rpc_response to true will enable sender side caching of
 response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
 requests .
Smyczkowy
getCompressionAlgorithm ()
 The compression algorithm to be used.
com.google.protobuf.ByteString
getCompressionAlgorithmBytes ()
 The compression algorithm to be used.
wew
uzyskaj poziom kompresji ()
 If compression_algorithm is set, the compression level to be used.
Opcje RPC
końcowy statyczny com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
wartość logiczna
getDisableSessionConnectionSharing ()
 Disables TCP connection sharing when opening a new RPC channel.
wartość logiczna
getUseRpcForInprocessMaster ()
 If true, always use RPC to contact the session target.
końcowa wartość logiczna
Konstruktor RPCOptions.Builder
mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Konstruktor RPCOptions.Builder
mergeFrom (com.google.protobuf.Wiadomość inna)
końcowy plik RPCOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)
Konstruktor RPCOptions.Builder
setCacheRpcResponse (wartość logiczna)
 Setting cache_rpc_response to true will enable sender side caching of
 response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
 requests .
Konstruktor RPCOptions.Builder
setCompressionAlgorithm (wartość ciągu)
 The compression algorithm to be used.
Konstruktor RPCOptions.Builder
setCompressionAlgorithmBytes (wartość com.google.protobuf.ByteString)
 The compression algorithm to be used.
Konstruktor RPCOptions.Builder
setCompressionLevel (wartość int)
 If compression_algorithm is set, the compression level to be used.
Konstruktor RPCOptions.Builder
setDisableSessionConnectionSharing (wartość logiczna)
 Disables TCP connection sharing when opening a new RPC channel.
Konstruktor RPCOptions.Builder
setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
Konstruktor RPCOptions.Builder
setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
końcowy plik RPCOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)
Konstruktor RPCOptions.Builder
setUseRpcForInprocessMaster (wartość logiczna)
 If true, always use RPC to contact the session target.

Metody dziedziczone

Metody publiczne

public RPCOptions.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)

publiczna kompilacja RPCOptions ()

publiczne RPCOptions buildPartial ()

public RPCOptions.Builder wyczyść ()

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;

publiczne RPCOptions.Builder clearField (pole 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;

publiczny klon RPCOptions.Builder ()

publiczna wartość logiczna 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;

public String 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;

publiczny int getCompressionLevel ()

 If compression_algorithm is set, the compression level to be used.
 From 0 (no compression), up to 3.
 
int32 compression_level = 3;

publiczne RPCOptions getDefaultInstanceForType ()

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

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

publiczna wartość logiczna getDisableSessionConnectionSharing ()

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

publiczna wartość logiczna 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;

publiczna końcowa wartość logiczna isInitialized ()

publiczne RPCOptions.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)

Rzuca
Wyjątek IO

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

publiczny końcowy RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public RPCOptions.Builder setCacheRpcResponse (wartość logiczna)

 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 (wartość ciągu)

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

public RPCOptions.Builder setCompressionAlgorithmBytes (wartość com.google.protobuf.ByteString)

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

public RPCOptions.Builder setCompressionLevel (wartość 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 (wartość logiczna)

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

public RPCOptions.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)

public RPCOptions.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)

publiczny końcowy RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public RPCOptions.Builder setUseRpcForInprocessMaster (wartość logiczna)

 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;