RunOptions kelas akhir publik
Options for a single Run() call.Tipe protobuf
tensorflow.RunOptions
Kelas Bersarang
kelas | JalankanOptions.Builder | Options for a single Run() call. | |
kelas | RunOptions.Eksperimental | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
antarmuka | JalankanOptions.ExperimentalOrBuilder | ||
enum | JalankanOptions.TraceLevel | TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?Protobuf termasuk tensorflow.RunOptions.TraceLevel |
Konstanta
ke dalam | DEBUG_OPTIONS_FIELD_NUMBER | |
ke dalam | EXPERIMENTAL_FIELD_NUMBER | |
ke dalam | INTER_OP_THREAD_POOL_FIELD_NUMBER | |
ke dalam | OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER | |
ke dalam | REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER | |
ke dalam | TIMEOUT_IN_MS_FIELD_NUMBER | |
ke dalam | TRACE_LEVEL_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
Opsi Debug | dapatkanDebugOptions () EXPERIMENTAL. |
DebugOptionsOrBuilder | dapatkanDebugOptionsOrBuilder () EXPERIMENTAL. |
RunOptions statis | |
Opsi Jalankan | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
RunOptions.Eksperimental | dapatkan Eksperimental () .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). |
ke dalam | |
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; |
final com.google.protobuf.UnknownFieldSet | |
boolean | hasDebugOptions () EXPERIMENTAL. |
boolean | memiliki Eksperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
ke dalam | Kode hash () |
boolean terakhir | |
RunOptions.Builder statis | newBuilder (prototipe RunOptions ) |
RunOptions.Builder statis | |
JalankanOptions.Builder | |
RunOptions statis | parseDelimitedFrom (masukan Aliran Masukan) |
RunOptions statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statis | parseFrom (data ByteBuffer) |
RunOptions statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
RunOptions statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statis | parseFrom (com.google.protobuf.ByteString data) |
RunOptions statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
JalankanOptions.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik DEBUG_OPTIONS_FIELD_NUMBER
Nilai Konstan: 6
int final statis publik EXPERIMENTAL_FIELD_NUMBER
Nilai Konstan: 8
int final statis publik INTER_OP_THREAD_POOL_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik TIMEOUT_IN_MS_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik TRACE_LEVEL_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
DebugOptions publik getDebugOptions ()
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 ()
RunOptions publik. Geteksperimental eksperimental ()
.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;
publik dapatkanParserForType ()
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;
publik int getSerializedSize ()
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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
boolean publik hasEksperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
RunOptions statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RunOptions statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RunOptions statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom RunOptions statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom RunOptions statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom RunOptions statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom RunOptions statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom RunOptions statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (keluaran com.google.protobuf.CodedOutputStream)
Melempar
Pengecualian IO |
---|