interfaccia pubblica RunOptionsOrBuilder
Sottoclassi indirette conosciute |
Metodi pubblici
opzioni di debug astratte | getDebugOptions () EXPERIMENTAL. |
abstract DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
estratto RunOptions.Experimental | getExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
estratto RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
astratto int | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
booleano astratto | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
booleano astratto | 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). |
astratto lungo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
astratto RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
astratto int | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
booleano astratto | hasDebugOptions () EXPERIMENTAL. |
booleano astratto | ha sperimentale () .tensorflow.RunOptions.Experimental experimental = 8; |
Metodi pubblici
public abstract DebugOptions getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public abstract DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
abstract pubblico RunOptions.Experimental getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
estratto pubblico RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
public abstract 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 astratto booleano getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
pubblico astratto 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;
pubblico astratto lungo getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
estratto pubblico RunOptions.TraceLevel getTraceLevel ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
public abstract int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
public abstract booleano hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public abstract booleano hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;