clase final estática pública RPCOptions.Builder
Protobuf tipo tensorflow.RPCOptions
Métodos públicos
Opciones RPC.Constructor | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones RPC | construir () |
Opciones RPC | |
Opciones RPC.Constructor | claro () |
Opciones RPC.Constructor | clearCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Opciones RPC.Constructor | borrar algoritmo de compresión () The compression algorithm to be used. |
Opciones RPC.Constructor | borrar nivel de compresión () If compression_algorithm is set, the compression level to be used. |
Opciones RPC.Constructor | clearDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
Opciones RPC.Constructor | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
Opciones RPC.Constructor | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
Opciones RPC.Constructor | clearUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
Opciones RPC.Constructor | clonar () |
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 . |
Cadena | getAlgoritmo de compresión () The compression algorithm to be used. |
com.google.protobuf.ByteString | getCompressionAlgorithmBytes () The compression algorithm to be used. |
entero | obtener nivel de compresión () If compression_algorithm is set, the compression level to be used. |
Opciones RPC | |
com.google.protobuf.Descriptors.Descriptor estático final | |
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 final | |
Opciones RPC.Constructor | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Opciones RPC.Constructor | mergeFrom (com.google.protobuf.Message otro) |
RPCOptions.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Opciones RPC.Constructor | setCacheRpcResponse (valor booleano) Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Opciones RPC.Constructor | setCompressionAlgorithm (valor de cadena) The compression algorithm to be used. |
Opciones RPC.Constructor | setCompressionAlgorithmBytes (valor com.google.protobuf.ByteString) The compression algorithm to be used. |
Opciones RPC.Constructor | setCompressionLevel (valor int) If compression_algorithm is set, the compression level to be used. |
Opciones RPC.Constructor | setDisableSessionConnectionSharing (valor booleano) Disables TCP connection sharing when opening a new RPC channel. |
Opciones RPC.Constructor | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones RPC.Constructor | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
RPCOptions.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Opciones RPC.Constructor | setUseRpcForInprocessMaster (valor booleano) If true, always use RPC to contact the session target. |
Métodos heredados
Métodos públicos
público RPCOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público 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;
público RPCOptions.Builder clearDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
público 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 booleano público ()
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;
Cadena pública getCompressionAlgorithm ()
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
público 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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público booleano getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
getUseRpcForInprocessMaster booleano público ()
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;
público final booleano isInitialized ()
RPCOptions.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
público final RPCOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público RPCOptions.Builder setCacheRpcResponse (valor 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;
público RPCOptions.Builder setCompressionAlgorithm (valor de cadena)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
público RPCOptions.Builder setCompressionAlgorithmBytes (valor com.google.protobuf.ByteString)
The compression algorithm to be used. One of "deflate", "gzip".
string compression_algorithm = 2;
público RPCOptions.Builder setCompressionLevel (valor int)
If compression_algorithm is set, the compression level to be used. From 0 (no compression), up to 3.
int32 compression_level = 3;
público RPCOptions.Builder setDisableSessionConnectionSharing (valor booleano)
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
público RPCOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público RPCOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público final RPCOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público RPCOptions.Builder setUseRpcForInprocessMaster (valor 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;