Options for a single Run() call.Tipo di protocollo
tensorflow.RunOptions
Metodi pubblici
RunOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
EseguiOpzioni | costruire () |
EseguiOpzioni | buildPartial () |
RunOptions.Builder | chiaro () |
RunOptions.Builder | clearDebugOptions () EXPERIMENTAL. |
RunOptions.Builder | clearSperimentale () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | clearField (campo 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 | clone () |
Opzioni di debug | getDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
EseguiOpzioni | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
booleano | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
booleano | 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). |
lungo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
int | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
booleano | hasDebugOptions () EXPERIMENTAL. |
booleano | ha sperimentale () .tensorflow.RunOptions.Experimental experimental = 8; |
booleano finale | |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental (valore RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message altro) |
RunOptions.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
finale RunOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental (valore RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
RunOptions.Builder | setInterOpThreadPool (valore int) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (valore booleano) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
RunOptions.Builder | setReportTensorAllocationsUponOom (valore booleano) 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 (valore lungo) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (valore int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
finale RunOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public RunOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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;
pubblico 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;
pubblico 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 ()
pubblico 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;
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;
pubblico booleano getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
pubblico booleano 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;
pubblico lungo getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
hasDebugOptions booleano pubblico ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public booleano hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public final booleano isInitialized ()
public RunOptions.Builder mergeDebugOptions (valore DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder mergeExperimental (valore RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
pubblico finale RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder setDebugOptions (valore 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 (valore RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public RunOptions.Builder setInterOpThreadPool (valore 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 (valore booleano)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
public RunOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public RunOptions.Builder setReportTensorAllocationsUponOom (valore booleano)
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 (valore lungo)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
pubblico RunOptions.Builder setTraceLevel (valore RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
public RunOptions.Builder setTraceLevelValue (valore int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;