Options for a single Run() call.Protobuf typu
tensorflow.RunOptions
Metody publiczne
UruchomOpcje.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Opcje uruchamiania | zbudować () |
Opcje uruchamiania | |
UruchomOpcje.Builder | jasne () |
UruchomOpcje.Builder | clearDebugOptions () EXPERIMENTAL. |
UruchomOpcje.Builder | jasneEksperymentalne () .tensorflow.RunOptions.Experimental experimental = 8; |
UruchomOpcje.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
UruchomOpcje.Builder | clearInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
UruchomOpcje.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UruchomOpcje.Builder | clearOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
UruchomOpcje.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). |
UruchomOpcje.Builder | clearTimeoutInMs () Time to wait for operation to complete in milliseconds. |
UruchomOpcje.Builder | clearTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
UruchomOpcje.Builder | klon () |
Opcje debugowania | getDebugOptions () EXPERIMENTAL. |
Opcje debugowania.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
Opcje debugowaniaOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Opcje uruchamiania | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Eksperymentalne | uzyskaj eksperymentalny () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | getExperimentalBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
wew | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
wartość logiczna | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
wartość logiczna | 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ługi | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | pobierz poziom śledzenia () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
wew | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
wartość logiczna | maOpcje Debugowania () EXPERIMENTAL. |
wartość logiczna | maEksperymentalny () .tensorflow.RunOptions.Experimental experimental = 8; |
końcowa wartość logiczna | |
UruchomOpcje.Builder | |
UruchomOpcje.Builder | mergeExperimental ( RunOptions.Experimental wartość) .tensorflow.RunOptions.Experimental experimental = 8; |
UruchomOpcje.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
UruchomOpcje.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
końcowy RunOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
UruchomOpcje.Builder | |
UruchomOpcje.Builder | |
UruchomOpcje.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
UruchomOpcje.Builder | setExperimental ( RunOptions. Wartość eksperymentalna) .tensorflow.RunOptions.Experimental experimental = 8; |
UruchomOpcje.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
UruchomOpcje.Builder | setInterOpThreadPool (wartość int) The thread pool to use, if session_inter_op_thread_pool is configured. |
UruchomOpcje.Builder | setOutputPartitionGraphs (wartość logiczna) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
UruchomOpcje.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
UruchomOpcje.Builder | setReportTensorAllocationsUponOom (wartość logiczna) 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). |
UruchomOpcje.Builder | setTimeoutInMs (długa wartość) Time to wait for operation to complete in milliseconds. |
UruchomOpcje.Builder | |
UruchomOpcje.Builder | setTraceLevelValue (wartość int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
końcowy RunOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public RunOptions.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public RunOptions.Builder clearDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder clearExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public 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;
public 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;
public RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public RunOptions.Experimental getExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Experimental.Builder getExperimentalBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()
.tensorflow.RunOptions.Experimental experimental = 8;
publiczny 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;
publiczna wartość logiczna getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
publiczna wartość logiczna 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;
publiczny długi getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
publiczny int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
publiczna wartość logiczna hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
publiczna wartość logiczna maEksperymentalna ()
.tensorflow.RunOptions.Experimental experimental = 8;
publiczna końcowa wartość logiczna isInitialized ()
public RunOptions.Builder mergeDebugOptions (wartość DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder mergeExperimental (Wartość RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy 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 (wartość DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder setExperimental ( RunOptions.Experimental wartość)
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public RunOptions.Builder setInterOpThreadPool (wartość 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;
public RunOptions.Builder setOutputPartitionGraphs (wartość logiczna)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
public RunOptions.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public RunOptions.Builder setReportTensorAllocationsUponOom (wartość logiczna)
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 (długa wartość)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public RunOptions.Builder setTraceLevel (wartość RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
public RunOptions.Builder setTraceLevelValue (wartość int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;