RPCOptions della classe finale pubblica
Tipo di protocollo tensorflow.RPCOptions
Classi nidificate
classe | RPCOptions.Builder | Tipo di protocollo tensorflow.RPCOptions |
Costanti
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
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. |
Opzioni RPC statiche | |
RPCOptions | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
booleano | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
int | |
finale com.google.protobuf.UnknownFieldSet | |
booleano | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
int | codicehash () |
booleano finale | |
RPCOptions.Builder statico | |
RPCOptions.Builder statico | newBuilder (prototipo RPCOptions ) |
RPCOptions.Builder | |
Opzioni RPC statiche | parseDelimitedFrom (input InputStream) |
Opzioni RPC statiche | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni RPC statiche | parseFrom (dati ByteBuffer) |
Opzioni RPC statiche | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
Opzioni RPC statiche | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni RPC statiche | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
Opzioni RPC statiche | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni RPC statiche | parseFrom (dati com.google.protobuf.ByteString) |
Opzioni RPC statiche | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni RPC statiche | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
RPCOptions.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int CACHE_RPC_RESPONSE_FIELD_NUMBER
Valore costante: 4
public static final int COMPRESSION_ALGORITHM_FIELD_NUMBER
Valore costante: 2
public static final int COMPRESSION_LEVEL_FIELD_NUMBER
Valore costante: 3
public static final int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
Valore costante: 5
public static final int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER
Valore costante: 1
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
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 booleano getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
pubblico getParserForType ()
public int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
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 int hashCode ()
public final booleano isInitialized ()
RPCOptions statiche pubbliche parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
RPCOptions statiche pubbliche parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
RPCOptions statiche pubbliche parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
RPCOptions statiche pubbliche parseFrom (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
RPCOptions statiche pubbliche parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
RPCOptions statiche pubbliche parseFrom (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
RPCOptions statiche pubbliche parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
RPCOptions statiche pubbliche parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|