Options for a single Run() call.
tensorflow.RunOptions
Phương pháp công khai
RunOptions.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Tùy chọn chạy | xây dựng () |
Tùy chọn chạy | |
RunOptions.Builder | thông thoáng () |
RunOptions.Builder | ClearDebugOptions () EXPERIMENTAL. |
RunOptions.Builder | rõ ràngThử nghiệm () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
RunOptions.Builder | clearInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunOptions.Builder | clearOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | clearReportTensorAllocationsUponOom () 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). |
RunOptions.Builder | clearTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | ClearTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder | dòng vô tính () |
Tùy chọn gỡ lỗi | getDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Tùy chọn chạy | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental | lấyThử nghiệm () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | getExperimentalBuilder () .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. |
boolean | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
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). |
dài | 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; |
boolean | hasDebugOptions () EXPERIMENTAL. |
boolean | cóThử nghiệm () .tensorflow.RunOptions.Experimental experimental = 8; |
boolean cuối cùng | |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental ( Giá trị RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
RunOptions.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
RunOptions.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental ( RunOptions. Giá trị thử nghiệm) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
RunOptions.Builder | setInterOpThreadPool (giá trị int) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (giá trị boolean) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
RunOptions.Builder | setReportTensorAllocationsUponOom (giá trị boolean) 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). |
RunOptions.Builder | setTimeoutInMs (giá trị dài) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (giá trị int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
công khai RunOptions.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai RunOptions.Builder clearDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai RunOptions.Builder clearExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.Builder clearInterOpThreadPool ()
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;
công khai RunOptions.Builder clearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
công khai RunOptions.Builder clearReportTensorAllocationsUponOom ()
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;
công khai RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
DebugOptions công khai getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
DebugOptions.Builder công khai getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
công khai RunOptions.Experimental getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.Experimental.Builder getExperimentalBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
int công khai 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 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 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;
công khai getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
int công khai getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
boolean công khai hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
boolean công khai hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
boolean cuối cùng công khai được khởi tạo ()
công khai RunOptions.Builder mergeDebugOptions (giá trị DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai RunOptions.Builder mergeExperimental ( Giá trị RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai RunOptions.Builder setDebugOptions (giá trị DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
công khai RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.Builder setExperimental ( Giá trị RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
công khai RunOptions.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
công khai RunOptions.Builder setInterOpThreadPool (giá trị int)
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;
công khai RunOptions.Builder setOutputPartitionGraphs (giá trị boolean)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
công khai RunOptions.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
công khai RunOptions.Builder setReportTensorAllocationsUponOom (giá trị boolean)
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;
công khai RunOptions.Builder setTimeoutInMs (giá trị dài)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
công khai RunOptions.Builder setTraceLevel (giá trị RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
công khai RunOptions.Builder setTraceLevelValue (giá trị int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;