público final classe RPCOptions
tensorflow.RPCOptions
type tensorflow.RPCOptions
Classes aninhadas
aula | RPCOptions.Builder | tensorflow.RPCOptions type tensorflow.RPCOptions |
Constantes
Métodos Públicos
boleano | igual a (objeto obj) |
boleano | getCacheRpcResponse () Setting cache_rpc_response to true will enable sender side caching of response for RecvTensorAsync and RecvBufAsync to allow receiver to retry requests . |
Fragmento | 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. |
RPCOptions estáticos | |
RPCOptions | |
final static com.google.protobuf.Descriptors.Descriptor | |
boleano | getDisableSessionConnectionSharing () Disables TCP connection sharing when opening a new RPC channel. |
int | |
final com.google.protobuf.UnknownFieldSet | |
boleano | getUseRpcForInprocessMaster () If true, always use RPC to contact the session target. |
int | hashCode () |
final booleano | |
RPCOptions.Builder estático | newBuilder () |
RPCOptions.Builder estático | newBuilder (protótipo RPCOptions ) |
RPCOptions.Builder | |
RPCOptions estáticos | parseDelimitedFrom (InputStream input) |
RPCOptions estáticos | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions estáticos | parseFrom (dados ByteBuffer) |
RPCOptions estáticos | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions estáticos | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions estáticos | parseFrom (com.google.protobuf.CodedInputStream input) |
RPCOptions estáticos | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions estáticos | parseFrom (com.google.protobuf.ByteString data) |
RPCOptions estáticos | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCOptions estáticos | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
RPCOptions.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int CACHE_RPC_RESPONSE_FIELD_NUMBER
Valor constante: 4
public static final int COMPRESSION_ALGORITHM_FIELD_NUMBER
Valor constante: 2
public static final int COMPRESSION_LEVEL_FIELD_NUMBER
Valor Constante: 3
public static final int DISABLE_SESSION_CONNECTION_SHARING_FIELD_NUMBER
Valor constante: 5
public static final int USE_RPC_FOR_INPROCESS_MASTER_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
public boolean 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;
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;
nível_de_compressão int32 compression_level = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public boolean getDisableSessionConnectionSharing ()
Disables TCP connection sharing when opening a new RPC channel.
bool disable_session_connection_sharing = 5;
público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean 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 boolean isInitialized ()
public static RPCOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RPCOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RPCOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RPCOptions parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RPCOptions parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static RPCOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RPCOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|