Options for a single Run() call.
tensorflow.RunOptions
Metode Publik
JalankanOptions.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi Jalankan | membangun () |
Opsi Jalankan | |
JalankanOptions.Builder | jernih () |
JalankanOptions.Builder | hapusDebugOptions () EXPERIMENTAL. |
JalankanOptions.Builder | jelasEksperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
JalankanOptions.Builder | hapusInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
JalankanOptions.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JalankanOptions.Builder | clearOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
JalankanOptions.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). |
JalankanOptions.Builder | hapusTimeoutInMs () Time to wait for operation to complete in milliseconds. |
JalankanOptions.Builder | hapusTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
JalankanOptions.Builder | klon () |
Opsi Debug | dapatkanDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | dapatkanDebugOptionsOrBuilder () EXPERIMENTAL. |
Opsi Jalankan | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Eksperimental | dapatkan Eksperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.Eksperimental.Builder | dapatkanExperimentalBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.ExperimentalOrBuilder | dapatkanExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
ke dalam | dapatkanInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
boolean | dapatkanOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
boolean | dapatkanReportTensorAllocationsUponOom () 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). |
panjang | dapatkanTimeoutInMs () Time to wait for operation to complete in milliseconds. |
JalankanOptions.TraceLevel | dapatkanTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
ke dalam | dapatkanTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
boolean | hasDebugOptions () EXPERIMENTAL. |
boolean | memiliki Eksperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
boolean terakhir | |
JalankanOptions.Builder | |
JalankanOptions.Builder | mergeExperimental ( RunOptions.Nilai eksperimental) .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
JalankanOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
JalankanOptions.Builder | |
JalankanOptions.Builder | |
JalankanOptions.Builder | setEksperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.Builder | setEksperimental ( RunOptions.Nilai eksperimental) .tensorflow.RunOptions.Experimental experimental = 8; |
JalankanOptions.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
JalankanOptions.Builder | setInterOpThreadPool (nilai int) The thread pool to use, if session_inter_op_thread_pool is configured. |
JalankanOptions.Builder | setOutputPartitionGraphs (nilai boolean) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
JalankanOptions.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
JalankanOptions.Builder | setReportTensorAllocationsUponOom (nilai 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). |
JalankanOptions.Builder | setTimeoutInMs (nilai panjang) Time to wait for operation to complete in milliseconds. |
JalankanOptions.Builder | |
JalankanOptions.Builder | setTraceLevelValue (nilai int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public RunOptions.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
RunOptions publik.Builder clearDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
RunOptions publik.Builder clearExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder publik 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 publik clearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
RunOptions publik.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 publik clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
DebugOptions publik getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
publik DebugOptions.Builder getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
publik 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 publik getDescriptorForType ()
RunOptions publik. Geteksperimental eksperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Experimental.Builder publik getExperimentalBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.ExperimentalOrBuilder publik getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
int publik 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 boolean publik ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
boolean publik 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 publik yang panjang ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
int publik getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
boolean publik hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
boolean publik hasEksperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
boolean akhir publik diinisialisasi ()
RunOptions.Builder mergeDebugOptions publik (nilai DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
RunOptions.Builder mergeExperimental publik ( RunOptions.Nilai eksperimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder mergeFrom publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
RunOptions.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
RunOptions.Builder setDebugOptions publik ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
RunOptions.Builder setDebugOptions publik (nilai DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
RunOptions.Builder setEksperimental publik ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder setExperimental publik ( RunOptions.Nilai eksperimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder setField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
RunOptions.Builder publik setInterOpThreadPool (nilai 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 publik (nilai boolean)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
RunOptions.Builder setRepeatedField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
RunOptions.Builder publik setReportTensorAllocationsUponOom (nilai 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;
RunOptions.Builder setTimeoutInMs publik (nilai panjang)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
RunOptions.Builder setTraceLevel publik (nilai RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder publik setTraceLevelValue (nilai int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;