パブリック最終クラスRPCOptions
Protobuf 型tensorflow.RPCOptions
ネストされたクラス
クラス | RPCOptions.Builder | Protobuf 型tensorflow.RPCOptions |
定数
整数 | CACHE_RPC_RESPONSE_FIELD_NUMBER | |
整数 | COMPRESSION_ALGORITHM_FIELD_NUMBER | |
整数 | COMPRESSION_LEVEL_FIELD_NUMBER | |
整数 | DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER | |
整数 | USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
ブール値 | 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. |
静的RPCOptions | |
RPCオプション | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
ブール値 | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
整数 | |
最終的な com.google.protobuf.UnknownFieldSet | |
ブール値 | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
整数 | ハッシュコード() |
最終ブール値 | |
静的RPCOptions.Builder | newBuilder () |
静的RPCOptions.Builder | newBuilder ( RPCOptionsプロトタイプ) |
RPCOptions.Builder | |
静的RPCOptions | parseDelimitedFrom (InputStream 入力) |
静的RPCOptions | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RPCOptions | parseFrom (ByteBuffer データ) |
静的RPCOptions | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RPCOptions | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RPCOptions | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的RPCOptions | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RPCOptions | parseFrom (com.google.protobuf.ByteString データ) |
静的RPCOptions | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RPCOptions | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
RPCOptions.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数CACHE_RPC_RESPONSE_FIELD_NUMBER
定数値: 4
public static Final int COMPRESSION_ALGORITHM_FIELD_NUMBER
定数値: 2
public static Final int COMPRESSION_LEVEL_FIELD_NUMBER
定数値: 3
パブリック静的最終整数DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
定数値: 5
パブリック静的最終整数USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER
定数値: 1
パブリックメソッド
public booleanに等しい(オブジェクト obj)
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 static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public boolean getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
公共 getParserForType ()
public int getSerializedSize ()
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static RPCOptions parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RPCOptions parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RPCOptions parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static RPCOptions parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static RPCOptions parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RPCOptions parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|