halka açık final dersi BenchmarkEntry
Each unit test or benchmark in a test or benchmark run provides some set of information. Here we provide some reasonable keys one would expect to see, with optional key/value pairs for things we haven't considered. This BenchmarkEntry should be emitted by each unit test or benchmark reporter.
tensorflow.BenchmarkEntry İç İçe Sınıflar
| sınıf | BenchmarkEntry.Builder | Each unit test or benchmark in a test or benchmark run provides some set of information. | |
Sabitler
| int | CPU_TIME_FIELD_NUMBER | |
| int | EXTRAS_FIELD_NUMBER | |
| int | ITERS_FIELD_NUMBER | |
| int | METRICS_FIELD_NUMBER | |
| int | NAME_FIELD_NUMBER | |
| int | THROUGHPUT_FIELD_NUMBER | |
| int | WALL_TIME_FIELD_NUMBER |
Genel Yöntemler
| boolean | içerirEkstralar (Dize anahtarı) Generic map from result key to value. |
| boolean | eşittir (Nesne nesnesi) |
| çift | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
| Statik Karşılaştırma Girişi | |
| Karşılaştırma Girişi | |
| final statik com.google.protobuf.Descriptors.Descriptor | |
| Harita<String, EntryValue > | ekstralar al () Bunun yerine getExtrasMap() kullanın. |
| int | getExtrasCount () Generic map from result key to value. |
| Harita<String, EntryValue > | getExtrasMap () Generic map from result key to value. |
| Giriş Değeri | |
| Giriş Değeri | getExtrasOrThrow (Dize tuşu) Generic map from result key to value. |
| uzun | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
| Metrik Girişi | getMetrics (int dizini) Metric name, value and expected range. |
| int | getMetricsCount () Metric name, value and expected range. |
| Liste< MetricEntry > | getMetricsList () Metric name, value and expected range. |
| MetrikGirişOrBuilder | getMetricsOrBuilder (int dizini) Metric name, value and expected range. |
| Liste<? MetricEntryOrBuilder'ı genişletiyor > | getMetricsOrBuilderList () Metric name, value and expected range. |
| Sicim | getName () The name of the specific benchmark or test (e.g. |
| com.google.protobuf.ByteString | getNameBytes () The name of the specific benchmark or test (e.g. |
| int | |
| çift | getThroughput () Throughput (in MB/s) double throughput = 5; |
| final com.google.protobuf.UnknownFieldSet | |
| çift | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
| int | hashKodu () |
| son boole değeri | Başlatıldı () |
| statik BenchmarkEntry.Builder | yeniİnşaatçı () |
| statik BenchmarkEntry.Builder | newBuilder ( BenchmarkEntry prototipi) |
| BenchmarkEntry.Builder | |
| Statik Karşılaştırma Girişi | parseDelimitedFrom (InputStream girişi) |
| Statik Karşılaştırma Girişi | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Statik Karşılaştırma Girişi | parseFrom (ByteBuffer verileri) |
| Statik Karşılaştırma Girişi | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Statik Karşılaştırma Girişi | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Statik Karşılaştırma Girişi | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
| Statik Karşılaştırma Girişi | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Statik Karşılaştırma Girişi | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
| Statik Karşılaştırma Girişi | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Statik Karşılaştırma Girişi | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik | ayrıştırıcı () |
| BenchmarkEntry.Builder | inşaatçıya () |
| geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int CPU_TIME_FIELD_NUMBER
Sabit Değer: 3
genel statik final int EXTRAS_FIELD_NUMBER
Sabit Değer: 6
genel statik final int ITERS_FIELD_NUMBER
Sabit Değer: 2
genel statik final int METRICS_FIELD_NUMBER
Sabit Değer: 7
genel statik final int NAME_FIELD_NUMBER
Sabit Değer: 1
genel statik final int THROUGHPUT_FIELD_NUMBER
Sabit Değer: 5
genel statik final int WALL_TIME_FIELD_NUMBER
Sabit Değer: 4
Genel Yöntemler
public boolean includeExtras (Dize anahtarı)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; genel boole eşittir (Object obj)
genel çift getCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getExtrasCount ()
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; genel Harita<String, EntryValue > getExtrasMap ()
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; public EntryValue getExtrasOrDefault (Dize anahtarı, EntryValue defaultValue)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; public EntryValue getExtrasOrThrow (Dize anahtarı)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; halka açık uzun alıcılar ()
If a benchmark, how many iterations it was run for
int64 iters = 2; genel MetricEntry getMetrics (int dizini)
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; public int getMetricsCount ()
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; genel Liste< MetricEntry > getMetricsList ()
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; public MetricEntryOrBuilder getMetricsOrBuilder (int dizini)
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; genel liste<? MetricEntryOrBuilder'ı genişletir > getMetricsOrBuilderList ()
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; genel Dize getName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1; public com.google.protobuf.ByteString getNameBytes ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1; halk getParserForType ()
public int getSerializedSize ()
halka açık çift getThroughput ()
Throughput (in MB/s)
double throughput = 5; genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
halka açık çift getWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4; genel int hashCode ()
genel final boolean isInitialized ()
public static BenchmarkEntry parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik BenchmarkEntry ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
public static BenchmarkEntry parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik BenchmarkEntry ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
| IOİstisnası |
|---|
public static BenchmarkEntry parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik BenchmarkEntry ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
| Geçersiz ProtokolBufferException |
|---|
public static BenchmarkEntry parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik BenchmarkEntry 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ı |
|---|