RPCOptions.Builder

публичный статический конечный класс RPCOptions.Builder

Тип protobuf tensorflow.RPCOptions

Публичные методы

RPCOptions.Builder
addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
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
Очиститьалгоритм сжатия ()
 The compression algorithm to be used.
RPCOptions.Builder
ОчиститьКомпрессионЛевел ()
 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 .
Нить
получитьалгоритм сжатия ()
 The compression algorithm to be used.
com.google.protobuf.ByteString
getCompressionAlgorithmBytes ()
 The compression algorithm to be used.
интервал
получить уровень сжатия ()
 If compression_algorithm is set, the compression level to be used.
RPCOptions
окончательный статический 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 другое)
окончательный 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 (целое значение)
 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, индекс int, значение объекта)
окончательный 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, значение объекта)

общедоступная сборка RPCOptions ()

общедоступные RPCOptions buildPartial ()

общедоступный RPCOptions.Builder очистить ()

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 (поле 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;

общедоступный клон 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 . 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 RPCOptions getDefaultInstanceForType ()

общедоступный статический окончательный 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 ()

public RPCOptions.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

public RPCOptions.Builder mergeFrom (com.google.protobuf.Message другое)

общедоступный финальный RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

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 (целое значение)

 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, значение объекта)

общедоступный финальный RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

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;