Options for a single Run() call.نوع Protobuf
tensorflow.RunOptions
روش های عمومی
RunOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
RunOptions | ساختن () |
RunOptions | ساخت جزئی () |
RunOptions.Builder | روشن () |
RunOptions.Builder | clearDebugOptions () EXPERIMENTAL. |
RunOptions.Builder | شفاف تجربی () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | clearField (فیلد 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 | کلون () |
DebugOptions | getDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
RunOptions | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental | دریافت تجربی () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | getExperimentalBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
بین المللی | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
بولی | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
بولی | 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). |
طولانی | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
بین المللی | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
بولی | دارای DebugOptions () EXPERIMENTAL. |
بولی | دارای تجربی () .tensorflow.RunOptions.Experimental experimental = 8; |
بولی نهایی | |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental ( RunOptions.Experimental value) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
RunOptions.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
نهایی RunOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental ( RunOptions.Experimental value) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
RunOptions.Builder | setInterOpThreadPool (مقدار int) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (مقدار بولی) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
RunOptions.Builder | setReportTensorAllocationsUponOom (مقدار بولی) 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 (مقدار طولانی) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (مقدار int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
نهایی RunOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی RunOptions.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی RunOptions.Builder clearDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی 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;
عمومی RunOptions.Builder clearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
عمومی 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;
عمومی RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
DebugOptions عمومی getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی DebugOptions.Builder getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
عمومی RunOptions.Experimental getExperimental ()
.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. 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;
بولی عمومی getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
بولی عمومی 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;
getTimeoutInMs طولانی عمومی ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
عمومی int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
بولین عمومی hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی بولی hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
بولین نهایی عمومی isInitialized ()
عمومی RunOptions.Builder mergeDebugOptions (مقدار DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی RunOptions.Builder mergeExperimental ( RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8;
عمومی RunOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی RunOptions.Builder setDebugOptions (مقدار DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
عمومی RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
عمومی RunOptions.Builder setExperimental ( RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8;
عمومی RunOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی RunOptions.Builder setInterOpThreadPool (مقدار 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;
عمومی RunOptions.Builder setOutputPartitionGraphs (مقدار بولی)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
عمومی RunOptions.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
عمومی RunOptions.Builder setReportTensorAllocationsUponOom (مقدار بولی)
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;
عمومی RunOptions.Builder setTimeoutInMs (مقدار طولانی)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
عمومی RunOptions.Builder setTraceLevel (مقدار RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
عمومی RunOptions.Builder setTraceLevelValue (مقدار int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;