giao diện công cộng RunOptionsOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công khai
Tùy chọn gỡ lỗi trừu tượng | getDebugOptions () EXPERIMENTAL. |
trừu tượng DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
trừu tượng RunOptions.Experimental | lấyThử nghiệm () .tensorflow.RunOptions.Experimental experimental = 8; |
trừu tượng RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
int trừu tượng | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
trừu tượng boolean | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
trừu tượng boolean | 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). |
trừu tượng dài | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
trừu tượng RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
int trừu tượng | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
trừu tượng boolean | hasDebugOptions () EXPERIMENTAL. |
trừu tượng boolean | cóThử nghiệm () .tensorflow.RunOptions.Experimental experimental = 8; |
Phương pháp công khai
bản tóm tắt công khai DebugOptions getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
bản tóm tắt công khai DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
tóm tắt công khai RunOptions.Experimental getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
tóm tắt công khai RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
tóm tắt công khai 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;
boolean trừu tượng công khai getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
boolean trừu tượng công khai 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;
tóm tắt công khai dài getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
tóm tắt công khai RunOptions.TraceLevel getTraceLevel ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
tóm tắt công khai int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
boolean trừu tượng công khai hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
boolean trừu tượng công khai hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;