classe finale statica pubblica RPCOptions.Builder
Tipo di protocollo tensorflow.RPCOptions
Metodi pubblici
RPCOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
RPCOptions | costruire () |
RPCOptions | buildPartial () |
RPCOptions.Builder | chiaro () |
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 | clearAlgoritmo di compressione () The compression algorithm to be used. |
RPCOptions.Builder | clearCompressionLevel () 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 (campo 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 | clone () |
booleano | getCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Corda | getAlgoritmo di compressione () The compression algorithm to be used. |
com.google.protobuf.ByteString | getCompressionAlgorithmBytes () The compression algorithm to be used. |
int | getCompressionLevel () If compression_algorithm is set, the compression level to be used. |
RPCOptions | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
booleano | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
booleano finale | |
RPCOptions.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
RPCOptions.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale RPCOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
RPCOptions.Builder | setCacheRpcResponse (valore booleano) 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 (valore stringa) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionAlgorithmBytes (valore com.google.protobuf.ByteString) The compression algorithm to be used. |
RPCOptions.Builder | setCompressionLevel (valore int) If compression_algorithm is set, the compression level to be used. |
RPCOptions.Builder | setDisableSessionConnectionSharing (valore booleano) Disables TCP connection sharing when opening a new RPC channel. |
RPCOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
RPCOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
finale RPCOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
RPCOptions.Builder | setUseRpcForInprocessMaster (valore booleano) If true, always use RPC to contact the session target. |
Metodi ereditati
Metodi pubblici
public RPCOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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 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;
pubblico booleano 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;
pubblico 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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
pubblico booleano getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
booleano pubblico 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 final booleano isInitialized ()
public RPCOptions.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
pubblico RPCOptions.Builder setCacheRpcResponse (valore booleano)
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 (valore stringa)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public RPCOptions.Builder setCompressionAlgorithmBytes (valore com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
public RPCOptions.Builder setCompressionLevel (valore 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 (valore booleano)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
public RPCOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public RPCOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
pubblico finale RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
pubblico RPCOptions.Builder setUseRpcForInprocessMaster (valore booleano)
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;