public static final class 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
type tensorflow.RunOptions.Experimental
Classes aninhadas
aula | 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. | |
aula | 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étodos Públicos
boleano | igual a (objeto obj) |
longo | 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). |
static RunOptions.Experimental | |
RunOptions.Experimental | |
final static 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 | |
boleano | 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. |
boleano | hasRunHandlerPoolOptions () .tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3; |
int | hashCode () |
final booleano | |
static RunOptions.Experimental.Builder | newBuilder () |
static RunOptions.Experimental.Builder | newBuilder ( RunOptions.Experimental prototype) |
RunOptions.Experimental.Builder | |
static RunOptions.Experimental | parseDelimitedFrom (input InputStream) |
static RunOptions.Experimental | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions.Experimental | parseFrom (dados ByteBuffer) |
static RunOptions.Experimental | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions.Experimental | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions.Experimental | parseFrom (com.google.protobuf.CodedInputStream input) |
static RunOptions.Experimental | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions.Experimental | parseFrom (com.google.protobuf.ByteString data) |
static RunOptions.Experimental | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions.Experimental | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
RunOptions.Experimental.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
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 equals (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 collective_graph_key = 1;
collect_graph_key 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 (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RunOptions.Experimental parseFrom (dados ByteBuffer)
Lança
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RunOptions.Experimental parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static RunOptions.Experimental parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static RunOptions.Experimental parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static RunOptions.Experimental 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 |
---|