パブリック最終クラスRunOptions
Options for a single Run() call.Protobuf 型
tensorflow.RunOptions
ネストされたクラス
クラス | RunOptions.Builder | Options for a single Run() call. | |
クラス | RunOptions.Experimental | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
インタフェース | RunOptions.ExperimentalOrBuilder | ||
列挙型 | RunOptions.TraceLevel | TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?Protobuf enum tensorflow.RunOptions.TraceLevel |
定数
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
デバッグオプション | getDebugOptions () EXPERIMENTAL. |
デバッグオプションまたはビルダー | getDebugOptionsOrBuilder () EXPERIMENTAL. |
静的RunOptions | |
実行オプション | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Experimental | get実験的() .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; |
最終的な com.google.protobuf.UnknownFieldSet | |
ブール値 | hasDebugOptions () EXPERIMENTAL. |
ブール値 | 実験中() .tensorflow.RunOptions.Experimental experimental = 8; |
整数 | ハッシュコード() |
最終ブール値 | |
静的RunOptions.Builder | newBuilder ( RunOptionsプロトタイプ) |
静的RunOptions.Builder | newBuilder () |
RunOptions.Builder | |
静的RunOptions | parseDelimitedFrom (InputStream 入力) |
静的RunOptions | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RunOptions | parseFrom (ByteBuffer データ) |
静的RunOptions | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RunOptions | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RunOptions | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的RunOptions | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RunOptions | parseFrom (com.google.protobuf.ByteString データ) |
静的RunOptions | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的RunOptions | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
RunOptions.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数DEBUG_OPTIONS_FIELD_NUMBER
定数値: 6
パブリック静的最終整数EXPERIMENTAL_FIELD_NUMBER
定数値: 8
パブリック静的最終整数INTER_OP_THREAD_POOL_FIELD_NUMBER
定数値: 3
パブリック静的最終整数OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
定数値: 5
public static Final int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
定数値: 7
パブリック静的最終整数TIMEOUT_IN_MS_FIELD_NUMBER
定数値: 2
パブリック静的最終整数TRACE_LEVEL_FIELD_NUMBER
定数値: 1
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public DebugOptions getDebugOptions ()
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 RunOptions.Experimental getExperimental ()
.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;
公共 getParserForType ()
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 int getSerializedSize ()
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 Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public boolean hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static RunOptions parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RunOptions parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RunOptions parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static RunOptions parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static RunOptions parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static RunOptions parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|