공개 정적 최종 클래스 RPCOptions.Builder
Protobuf 유형 tensorflow.RPCOptions
공개 방법
RPCOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
RPC옵션 | 짓다 () |
RPC옵션 | 빌드부분 () |
RPCOptions.Builder | 분명한 () |
RPCOptions.Builder | 클리어CacheRpc응답 () 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 . |
끈 | getCompression알고리즘 () The compression algorithm to be used. |
com.google.protobuf.ByteString | getCompressionAlgorithmBytes () The compression algorithm to be used. |
정수 | getCompression레벨 () 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.다른 메시지 보내기) |
최종 RPCOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
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.UnknownFieldSet UnknownFields) |
RPCOptions.Builder | setUseRpcForInprocessMaster (부울 값) If true, always use RPC to contact the session target. |
상속된 메서드
공개 방법
공개 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;
공개 RPCOptions.Builder 클리어CompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
공개 RPCOptions.Builder 클리어Compression레벨 ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
공개 RPCOptions.Builder ClearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
공개 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;
공개 부울 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;
공개 com.google.protobuf.ByteString getCompressionAlgorithmBytes ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
공개 int getCompressionLevel ()
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
공개 정적 최종 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 ()
공개 RPCOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 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;
공개 RPCOptions.Builder setCompressionAlgorithm (문자열 값)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
공개 RPCOptions.Builder setCompressionAlgorithmBytes (com.google.protobuf.ByteString 값)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
공개 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;
공개 RPCOptions.Builder setDisableSessionConnectionSharing (부울 값)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
공개 RPCOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 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;