classe finale statique publique RunOptions.Experimental
Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.
tensorflow.RunOptions.Experimental
de type Protobuf.RunOptions.Experimental Classes imbriquées
classe | RunOptions.Experimental.Builder | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
classe | RunOptions.Experimental.RunHandlerPoolOptions | Options for run handler thread pool. | |
interface | RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder |
Constantes
int | COLLECTIVE_GRAPH_KEY_FIELD_NUMBER | |
int | RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER | |
int | USE_RUN_HANDLER_POOL_FIELD_NUMBER |
Méthodes publiques
booléen | est égal (Obj objet) |
long | getCollectiveGraphKey () If non-zero, declares that this graph is going to use collective ops and must synchronize step_ids with any other graph with this same group_key value (in a distributed computation where tasks run disjoint graphs). |
statique RunOptions.Expérimental | |
RunOptions.Expérimental | |
final statique com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental.RunHandlerPoolOptions | getRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder | getRunHandlerPoolOptionsOrBuilder () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
int | |
final com.google.protobuf.UnknownFieldSet | |
booléen | getUseRunHandlerPool () If true, then operations (using the inter-op pool) across all session::run() calls will be centrally scheduled, optimizing for (median and tail) latency. |
booléen | hasRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
int | |
booléen final | |
statique RunOptions.Experimental.Builder | |
statique RunOptions.Experimental.Builder | newBuilder (Prototype RunOptions.Experimental ) |
RunOptions.Experimental.Builder | |
statique RunOptions.Expérimental | parseDelimitedFrom (entrée InputStream) |
statique RunOptions.Expérimental | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique RunOptions.Expérimental | parseFrom (données ByteBuffer) |
statique RunOptions.Expérimental | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique RunOptions.Expérimental | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique RunOptions.Expérimental | parseFrom (entrée com.google.protobuf.CodedInputStream) |
statique RunOptions.Expérimental | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique RunOptions.Expérimental | parseFrom (données com.google.protobuf.ByteString) |
statique RunOptions.Expérimental | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique RunOptions.Expérimental | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
RunOptions.Experimental.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int COLLECTIVE_GRAPH_KEY_FIELD_NUMBER
Valeur constante : 1
public statique final int RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER
Valeur constante : 3
public statique final int USE_RUN_HANDLER_POOL_FIELD_NUMBER
Valeur constante : 2
Méthodes publiques
public booléen égal (Objet obj)
public long getCollectiveGraphKey ()
If non-zero, declares that this graph is going to use collective ops and must synchronize step_ids with any other graph with this same group_key value (in a distributed computation where tasks run disjoint graphs).
int64 collective_graph_key = 1;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publique getParserForType ()
public RunOptions.Experimental.RunHandlerPoolOptions getRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder getRunHandlerPoolOptionsOrBuilder ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen getUseRunHandlerPool ()
If true, then operations (using the inter-op pool) across all session::run() calls will be centrally scheduled, optimizing for (median and tail) latency. Consider using this option for CPU-bound workloads like inference.
bool use_run_handler_pool = 2;
public booléen hasRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
code de hachage int public ()
public final booléen isInitialized ()
public static RunOptions.Experimental parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static RunOptions.Experimental parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static RunOptions.Experimental parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique RunOptions.Experimental parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static RunOptions.Experimental parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique RunOptions.Experimental parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static RunOptions.Experimental parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|