classe finale pubblica RunOptions
Options for a single Run() call.Tipo di protocollo
tensorflow.RunOptions
Classi nidificate
classe | RunOptions.Builder | Options for a single Run() call. | |
classe | 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. | |
interfaccia | RunOptions.ExperimentalOrBuilder | ||
enum | RunOptions.TraceLevel | TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?Protobuf enum tensorflow.RunOptions.TraceLevel |
Costanti
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
Opzioni di debug | getDebugOptions () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
RunOptions statiche | |
EseguiOpzioni | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
RunOptions.Experimental | getExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
int | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
booleano | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
booleano | getReportTensorAllocationsUponOom () When enabled, causes tensor allocation information to be included in the error message when the Run() call fails because the allocator ran out of memory (OOM). |
int | |
lungo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
int | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
finale com.google.protobuf.UnknownFieldSet | |
booleano | hasDebugOptions () EXPERIMENTAL. |
booleano | ha sperimentale () .tensorflow.RunOptions.Experimental experimental = 8; |
int | codicehash () |
booleano finale | |
RunOptions.Builder statico | newBuilder (prototipo RunOptions ) |
RunOptions.Builder statico | |
RunOptions.Builder | |
RunOptions statiche | parseDelimitedFrom (input InputStream) |
RunOptions statiche | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statiche | parseFrom (dati ByteBuffer) |
RunOptions statiche | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
RunOptions statiche | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statiche | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
RunOptions statiche | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statiche | parseFrom (dati com.google.protobuf.ByteString) |
RunOptions statiche | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statiche | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
RunOptions.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int DEBUG_OPTIONS_FIELD_NUMBER
Valore costante: 6
public static final int EXPERIMENTAL_FIELD_NUMBER
Valore costante: 8
public static final int INTER_OP_THREAD_POOL_FIELD_NUMBER
Valore costante: 3
public static final int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
Valore costante: 5
public static final int REPORT_TENSOR_ALLOCations_UPON_OOM_FIELD_NUMBER
Valore costante: 7
pubblico statico finale int TIMEOUT_IN_MS_FIELD_NUMBER
Valore costante: 2
public static final int TRACE_LEVEL_FIELD_NUMBER
Valore costante: 1
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public DebugOptions getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public RunOptions.Experimental getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
public int getInterOpThreadPool ()
The thread pool to use, if session_inter_op_thread_pool is configured. To use the caller thread set this to -1 - this uses the caller thread to execute Session::Run() and thus avoids a context switch. Using the caller thread to execute Session::Run() should be done ONLY for simple graphs, where the overhead of an additional context switch is comparable with the overhead of Session::Run().
int32 inter_op_thread_pool = 3;
pubblico booleano getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
pubblico getParserForType ()
pubblico booleano getReportTensorAllocationsUponOom ()
When enabled, causes tensor allocation information to be included in the error message when the Run() call fails because the allocator ran out of memory (OOM). Enabling this option can slow down the Run() call.
bool report_tensor_allocations_upon_oom = 7;
public int getSerializedSize ()
pubblico lungo getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasDebugOptions booleano pubblico ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public booleano hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public int hashCode ()
public final booleano isInitialized ()
public static RunOptions parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
pubblico statico RunOptions parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public static RunOptions parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico RunOptions parseFrom (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
public static RunOptions parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
RunOptions statico pubblico parseFrom (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
public static RunOptions parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
RunOptions statico pubblico parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|