Options for a single Run() call.
tensorflow.RunOptions
パブリックメソッド
RunOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
実行オプション | 建てる() |
実行オプション | buildPartial () |
RunOptions.Builder | クリア() |
RunOptions.Builder | クリアデバッグオプション() EXPERIMENTAL. |
RunOptions.Builder | クリア実験的() .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
RunOptions.Builder | クリアInterOpThreadPool () 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. |
デバッグオプションまたはビルダー | getDebugOptionsOrBuilder () EXPERIMENTAL. |
実行オプション | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental | get実験的() .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 | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
整数 | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
ブール値 | hasDebugOptions () EXPERIMENTAL. |
ブール値 | 実験中() .tensorflow.RunOptions.Experimental experimental = 8; |
最終ブール値 | |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
RunOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
最終的なRunOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | |
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 | 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 | |
RunOptions.Builder | setTraceLevelValue (int 値) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
最終的なRunOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public RunOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
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 ()
public 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;
public boolean getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
public boolean 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;
public long getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
public boolean hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public boolean 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;
public RunOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public Final RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
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;
public 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 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;
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 (int 値)
.tensorflow.RunOptions.TraceLevel trace_level = 1;