RunOptions.Experimental de clase final estática pública
Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.Protobuf tipo
tensorflow.RunOptions.Experimental Clases anidadas
| clase | 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. | |
| clase | RunOptions.Experimental.RunHandlerPoolOptions | Options for run handler thread pool. | |
| interfaz | RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder | ||
Constantes
| En t | COLLECTIVE_GRAPH_KEY_FIELD_NUMBER | |
| En t | RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER | |
| En t | USE_RUN_HANDLER_POOL_FIELD_NUMBER |
Métodos públicos
| booleano | es igual a (Objeto obj) |
| largo | 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). |
| RunOptions estáticas.Experimental | |
| RunOptions.Experimental | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| 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; |
| En t | |
| final com.google.protobuf.UnknownFieldSet | |
| booleano | 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. |
| booleano | hasRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
| En t | hashCode () |
| booleano final | |
| static RunOptions.Experimental.Builder | newBuilder () |
| static RunOptions.Experimental.Builder | newBuilder ( RunOptions.Experimental prototype) |
| RunOptions.Experimental.Builder | |
| RunOptions estáticas.Experimental | parseDelimitedFrom (entrada InputStream) |
| RunOptions estáticas.Experimental | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| RunOptions estáticas.Experimental | parseFrom (datos ByteBuffer) |
| RunOptions estáticas.Experimental | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| RunOptions estáticas.Experimental | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| RunOptions estáticas.Experimental | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| RunOptions estáticas.Experimental | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| RunOptions estáticas.Experimental | parseFrom (datos com.google.protobuf.ByteString) |
| RunOptions estáticas.Experimental | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| RunOptions estáticas.Experimental | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analizador () |
| RunOptions.Experimental.Builder | toBuilder () |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int COLLECTIVE_GRAPH_KEY_FIELD_NUMBER
Valor constante: 1
public static final int RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER
Valor constante: 3
public static final int USE_RUN_HANDLER_POOL_FIELD_NUMBER
Valor constante: 2
Métodos públicos
public boolean es igual a (Object 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
int64 collective_graph_key = 1;public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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 boolean 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 boolean hasRunHandlerPoolOptions ()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
public int hashCode ()
public final boolean isInitialized ()
public static RunOptions.Experimental parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
public static RunOptions.Experimental parseFrom (ByteBuffer datos)
Lanza
| InvalidProtocolBufferException |
|---|
public static RunOptions.Experimental parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
public static RunOptions.Experimental parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
public static RunOptions.Experimental parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOException |
|---|
public static RunOptions.Experimental parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
public static RunOptions.Experimental parseFrom (com.google.protobuf.ByteString data)
Lanza
| InvalidProtocolBufferException |
|---|
public static RunOptions.Experimental parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
public static RunOptions.Experimental parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOException |
|---|