Options for a single Run() call.نوع Protobuf
tensorflow.RunOptions
الأساليب العامة
RunOptions.Builder | addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
خيارات التشغيل | يبني () |
خيارات التشغيل | بناء جزئي () |
RunOptions.Builder | واضح () |
RunOptions.Builder | خيارات واضحة () EXPERIMENTAL. |
RunOptions.Builder | واضحتجريبي () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | ClearField (حقل com.google.protobuf.Descriptors.FieldDescriptor) |
RunOptions.Builder | كلير إنتروبثريدبول () 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 | ClearReportTensorAlllocationsUponOom () 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 | كليرتيميوتينمس () Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | كليرتريسليفيل () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder | استنساخ () |
خيارات التصحيح | خيارات الحصول على التصحيح () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
خيارات التشغيل | |
النهائي الثابت com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental | الحصول التجريبي () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | الحصول على التجريبية () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | الحصول على التجريبية أو البناء () .tensorflow.RunOptions.Experimental experimental = 8; |
كثافة العمليات | الحصول على InterOpThreadPool () 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. |
منطقية | getReportTensorAlllocationsUponOom () 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 | الحصول علىTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
كثافة العمليات | الحصول علىTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
منطقية | hasDebugOptions () EXPERIMENTAL. |
منطقية | تجريبي () .tensorflow.RunOptions.Experimental experimental = 8; |
منطقية نهائية | تمت التهيئة () |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | دمج من (com.google.protobuf.Message أخرى) |
RunOptions.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
RunOptions.Builder النهائي | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental (قيمة RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
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، قيمة الكائن) |
RunOptions.Builder | setReportTensorAlllocationsUponOom (قيمة منطقية) 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.UnknownFieldSet UnknownFields) |
الطرق الموروثة
الأساليب العامة
RunOptions.Builder العام addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
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 العام ClearReportTensorAlllocationsUponOom ()
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;
getDebugOptions العامة getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
getDebugOptions.Builder العام getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
getDebugOptionsOrBuilder العام getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
النهائي العام الثابت 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 public 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;
getReportTensorAlllocationsUponOom () المنطقية العامة
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 public getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
المنطق المنطقي العام hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
القيمة المنطقية العامة تجريبية ()
.tensorflow.RunOptions.Experimental experimental = 8;
تمت تهيئة القيمة المنطقية النهائية العامة ()
RunOptions.Builder العام mergeDebugOptions (قيمة DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
دمج RunOptions.Builder العام التجريبي (قيمة RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
RunOptions.Builder النهائي العام mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)
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 العامة التجريبية ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
مجموعة RunOptions.Builder العامة التجريبية (قيمة RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder العام setField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
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، قيمة الكائن)
RunOptions.Builder العام setReportTensorAlllocationsUponOom (قيمة منطقية)
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;