RPCOptions.Builder

パブリック静的最終クラスRPCOptions.Builder

Protobuf 型tensorflow.RPCOptions

パブリックメソッド

RPCOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
RPCオプション
建てる()
RPCオプション
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 .
getCompressionAlgorithm ()
 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.
RPCオプション
最終的な静的 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.UnknownFieldSet 不明フィールド)
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 フィールド、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 フィールド、オブジェクト値)

public RPCOptions build ()

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 (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クローン()

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

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 static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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

public boolean getDisableSessionConnectionSharing ()

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

public boolean 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 other)

public Final RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

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 knownFields)

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;