RunOptions.Builder

общедоступный статический финальный класс RunOptions.Builder

 Options for a single Run() call.
 
Тип protobuf tensorflow.RunOptions

Публичные методы

RunOptions.Builder
addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
Параметры запуска
Параметры запуска
RunOptions.Builder
RunOptions.Builder
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
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
ОчиститьТраслевел ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder
Параметры отладки
getDebugOptions ()
 EXPERIMENTAL.
DebugOptions.Builder
getDebugOptionsBuilder ()
 EXPERIMENTAL.
DebugOptionsOrBuilder
getDebugOptionsOrBuilder ()
 EXPERIMENTAL.
Параметры запуска
окончательный статический com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
RunOptions.Экспериментальный
получитьЭкспериментальный ()
.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
получитьтрацелевел ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
интервал
getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
логическое значение
имеетDebugOptions ()
 EXPERIMENTAL.
логическое значение
имеетЭкспериментальный ()
.tensorflow.RunOptions.Experimental experimental = 8;
последнее логическое значение
RunOptions.Builder
mergeDebugOptions (значение DebugOptions )
 EXPERIMENTAL.
RunOptions.Builder
mergeExperimental ( RunOptions.Экспериментальное значение)
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
mergeFrom (com.google.protobuf.Message другое)
RunOptions.Builder
mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
окончательный RunOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
RunOptions.Builder
setDebugOptions ( DebugOptions.Builder builderForValue)
 EXPERIMENTAL.
RunOptions.Builder
setDebugOptions (значение DebugOptions )
 EXPERIMENTAL.
RunOptions.Builder
setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
setExperimental ( RunOptions.Экспериментальное значение)
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
RunOptions.Builder
setInterOpThreadPool (целое значение)
 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
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
setTraceLevel (значение RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder
setTraceLevelValue (целое значение)
.tensorflow.RunOptions.TraceLevel trace_level = 1;
окончательный RunOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

Унаследованные методы

Публичные методы

public RunOptions.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступная сборка RunOptions ()

общедоступные RunOptions buildPartial ()

общедоступный RunOptions.Builder очистить ()

общедоступный RunOptions.Builder ClearDebugOptions ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

общедоступный RunOptions.Builder ClearExperimental ()

.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.
 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 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.
 
bool output_partition_graphs = 5;

public 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;

общедоступный RunOptions.Builder ClearTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

общедоступный клон RunOptions.Builder ()

общедоступные DebugOptions getDebugOptions ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public DebugOptions.Builder getDebugOptionsBuilder ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public DebugOptionsOrBuilder getDebugOptionsOrBuilder ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

общедоступные RunOptions getDefaultInstanceForType ()

общедоступный статический окончательный 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;

public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()

.tensorflow.RunOptions.Experimental experimental = 8;

public 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;

общедоступный RunOptions.TraceLevel getTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public 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 ()

public RunOptions.Builder mergeDebugOptions (значение DebugOptions )

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public RunOptions.Builder mergeExperimental (значение RunOptions.Experimental )

.tensorflow.RunOptions.Experimental experimental = 8;

общедоступный RunOptions.Builder mergeFrom (com.google.protobuf.Message другое)

общедоступный RunOptions.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный финальный RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public 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;

public RunOptions.Builder setExperimental (значение RunOptions.Experimental )

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступный RunOptions.Builder setInterOpThreadPool (целое значение)

 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;

public RunOptions.Builder setOutputPartitionGraphs (логическое значение)

 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
 
bool output_partition_graphs = 5;

public RunOptions.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)

public 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;

public RunOptions.Builder setTimeoutInMs (длинное значение)

 Time to wait for operation to complete in milliseconds.
 
int64 timeout_in_ms = 2;

public RunOptions.Builder setTraceLevel (значение RunOptions.TraceLevel )

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public RunOptions.Builder setTraceLevelValue (целое значение)

.tensorflow.RunOptions.TraceLevel trace_level = 1;

общедоступный финальный RunOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)