RPCOptions

classe finale publique RPCOptions

tensorflow.RPCOptions de type Protobuf.RPCOptions

Classes imbriquées

classe RPCOptions.Builder tensorflow.RPCOptions de type Protobuf.RPCOptions

Constantes

int CACHE_RPC_RESPONSE_FIELD_NUMBER
int COMPRESSION_ALGORITHM_FIELD_NUMBER
int COMPRESSION_LEVEL_FIELD_NUMBER
int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER

Méthodes publiques

booléen
est égal à (Obj objet)
booléen
getCacheRpcResponse ()
 Setting cache_rpc_response to true will enable sender side caching of
 response for RecvTensorAsync and RecvBufAsync to allow receiver to retry
 requests .
Chaîne
getCompressionAlgorithm ()
 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.
Options RPC statiques
Options RPC
final statique com.google.protobuf.Descriptors.Descriptor
booléen
getDisableSessionConnectionSharing ()
 Disables TCP connection sharing when opening a new RPC channel.
int
final com.google.protobuf.UnknownFieldSet
booléen
getUseRpcForInprocessMaster ()
 If true, always use RPC to contact the session target.
int
booléen final
RPCOptions.Builder statique
RPCOptions.Builder statique
newBuilder (prototype RPCOptions )
RPCOptions.Builder
Options RPC statiques
parseDelimitedFrom (entrée InputStream)
Options RPC statiques
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options RPC statiques
parseFrom (données ByteBuffer)
Options RPC statiques
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options RPC statiques
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options RPC statiques
parseFrom (entrée com.google.protobuf.CodedInputStream)
Options RPC statiques
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options RPC statiques
parseFrom (données com.google.protobuf.ByteString)
Options RPC statiques
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options RPC statiques
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
RPCOptions.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int CACHE_RPC_RESPONSE_FIELD_NUMBER

Valeur constante : 4

public statique final int COMPRESSION_ALGORITHM_FIELD_NUMBER

Valeur constante : 2

public statique final int COMPRESSION_LEVEL_FIELD_NUMBER

Valeur constante : 3

public statique final int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER

Valeur constante : 5

public statique final int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER

Valeur constante : 1

Méthodes publiques

public booléen égal (Objet obj)

public booléen 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;

chaîne publique 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;

RPCOptions statiques publiques getDefaultInstance ()

public RPCOptions getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public booléen getDisableSessionConnectionSharing ()

 Disables TCP connection sharing when opening a new RPC channel.
 
bool disable_session_connection_sharing = 5;

publique getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public booléen 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;

code de hachage int public ()

public final booléen isInitialized ()

public statique RPCOptions.Builder newBuilder ()

public statique RPCOptions.Builder newBuilder (prototype RPCOptions )

public RPCOptions.Builder newBuilderForType ()

public statique RPCOptions parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static RPCOptions parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

RPCOptions statiques publiques parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique RPCOptions parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

RPCOptions statiques publiques parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique RPCOptions parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique RPCOptions parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique RPCOptions parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static RPCOptions parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique RPCOptions parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public RPCOptions.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException