genel son sınıf RunOptions
Options for a single Run() call.
tensorflow.RunOptions
İç İçe Sınıflar
sınıf | RunOptions.Builder | Options for a single Run() call. | |
sınıf | RunOptions.Deneysel | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
arayüz | RunOptions.ExperimentalOrBuilder | ||
numaralandırma | RunOptions.TraceLevel | TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner? tensorflow.RunOptions.TraceLevel |
Sabitler
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
Hata Ayıklama Seçenekleri | getDebugOptions () EXPERIMENTAL. |
Hata AyıklamaSeçenekleriOrOluşturucu | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Statik Çalıştırma Seçenekleri | |
Çalıştırma Seçenekleri | |
final statik com.google.protobuf.Descriptors.Descriptor | |
RunOptions.Deneysel | getDeneysel () .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. |
boolean | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
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). |
int | |
uzun | 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; |
final com.google.protobuf.UnknownFieldSet | |
boolean | hasDebugOptions () EXPERIMENTAL. |
boolean | vardırDeneysel () .tensorflow.RunOptions.Experimental experimental = 8; |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik RunOptions.Builder | newBuilder ( RunOptions prototipi) |
statik RunOptions.Builder | yeniİnşaatçı () |
RunOptions.Builder | |
Statik Çalıştırma Seçenekleri | parseDelimitedFrom (InputStream girişi) |
Statik Çalıştırma Seçenekleri | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik Çalıştırma Seçenekleri | parseFrom (ByteBuffer verileri) |
Statik Çalıştırma Seçenekleri | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik Çalıştırma Seçenekleri | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik Çalıştırma Seçenekleri | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
Statik Çalıştırma Seçenekleri | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik Çalıştırma Seçenekleri | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
Statik Çalıştırma Seçenekleri | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Statik Çalıştırma Seçenekleri | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
RunOptions.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int DEBUG_OPTIONS_FIELD_NUMBER
Sabit Değer: 6
genel statik final int EXPERIMENTAL_FIELD_NUMBER
Sabit Değer: 8
genel statik final int INTER_OP_THREAD_POOL_FIELD_NUMBER
Sabit Değer: 3
genel statik final int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
Sabit Değer: 5
genel statik final int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
Sabit Değer: 7
genel statik final int TIMEOUT_IN_MS_FIELD_NUMBER
Sabit Değer: 2
genel statik final int TRACE_LEVEL_FIELD_NUMBER
Sabit Değer: 1
Genel Yöntemler
genel boole eşittir (Object 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;
genel boolean getOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
halk getParserForType ()
genel 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 ()
genel uzun getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
public int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel boolean hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public boolean hasDeneysel ()
.tensorflow.RunOptions.Experimental experimental = 8;
genel int hashCode ()
genel final boolean isInitialized ()
public static RunOptions parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik RunOptions ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik RunOptions ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik RunOptions ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IOİstisnası |
---|
genel statik RunOptions ayrıştırmaFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik RunOptions ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static RunOptions parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik RunOptions ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|