genel statik son sınıf BenchmarkEntry.Builder
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.Protobuf türü
tensorflow.BenchmarkEntry
Genel Yöntemler
BenchmarkEntry.Builder | addAllMetrics (Yinelenebilir<? MetricEntry > değerlerini genişletir) Metric name, value and expected range. |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (int dizini) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Karşılaştırma Girişi | inşa etmek () |
Karşılaştırma Girişi | inşaKısmi () |
BenchmarkEntry.Builder | temizlemek () |
BenchmarkEntry.Builder | clearCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
BenchmarkEntry.Builder | clearIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | clearMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | clearName () The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BenchmarkEntry.Builder | clearThroughput () Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder | clearWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
BenchmarkEntry.Builder | klon () |
boolean | içerirEkstralar (Dize anahtarı) Generic map from result key to value. |
çift | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
Karşılaştırma Girişi | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Harita<String, EntryValue > | ekstralar al () Bunun yerine getExtrasMap() işlevini 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. |
MetricEntry.Builder | getMetricsBuilder (int dizini) Metric name, value and expected range. |
Liste< MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
int | getMetricsCount () Metric name, value and expected range. |
Liste< MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetrikGirişOrOluşturucu | getMetricsOrBuilder (int dizini) Metric name, value and expected range. |
Liste<? MetricEntryOrBuilder'ı genişletiyor > | getMetricsOrBuilderList () Metric name, value and expected range. |
Harita<String, EntryValue > | getMutableExtras () Bunun yerine alternatif mutasyon erişimcilerini kullanın. |
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. |
çift | getThroughput () Throughput (in MB/s) double throughput = 5; |
çift | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
son boole değeri | Başlatıldı () |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message other) |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
son BenchmarkEntry.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | kaldırEkstralar (Dize tuşu) Generic map from result key to value. |
BenchmarkEntry.Builder | RemoveMetrics (int dizini) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (çift değer) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
BenchmarkEntry.Builder | setIters (uzun değer) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (Dize değeri) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (com.google.protobuf.ByteString değeri) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
BenchmarkEntry.Builder | setThroughput (çift değer) Throughput (in MB/s) double throughput = 5; |
son BenchmarkEntry.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
BenchmarkEntry.Builder | setWallTime (çift değer) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Kalıtsal Yöntemler
Genel Yöntemler
public BenchmarkEntry.Builder addAllMetrics (Yinelenebilir<?, MetricEntry > değerlerini genişletir)
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 BenchmarkEntry.Builder addMetrics (int dizini, MetricEntry.Builder builderForValue)
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 BenchmarkEntry.Builder addMetrics (int dizini, MetricEntry değeri)
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 BenchmarkEntry.Builder addMetrics ( MetricEntry değeri)
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 BenchmarkEntry.Builder addMetrics ( MetricEntry.Builder builderForValue)
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 MetricEntry.Builder addMetricsBuilder (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 MetricEntry.Builder addMetricsBuilder ()
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 BenchmarkEntry.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
herkese açık BenchmarkEntry.Builder clearIters ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
public BenchmarkEntry.Builder clearMetrics ()
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 BenchmarkEntry.Builder clearName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
herkese açık BenchmarkEntry.Builder clearWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public boolean includeExtras (Dize anahtarı)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
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 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 MetricEntry.Builder getMetricsBuilder (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< MetricEntry.Builder > getMetricsBuilderList ()
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 Harita<String, EntryValue > getMutableExtras ()
Bunun yerine alternatif mutasyon erişimcilerini kullanın.
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;
halka açık çift getThroughput ()
Throughput (in MB/s)
double throughput = 5;
halka açık çift getWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
genel final boolean isInitialized ()
public BenchmarkEntry.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > değerler)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (Dize anahtarı, EntryValue değeri)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder kaldırExtras (Dize anahtarı)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder kaldırMetrics (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 BenchmarkEntry.Builder setCpuTime (çift değer)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public BenchmarkEntry.Builder setIters (uzun değer)
If a benchmark, how many iterations it was run for
int64 iters = 2;
public BenchmarkEntry.Builder setMetrics (int indeksi, MetricEntry.Builder builderForValue)
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 BenchmarkEntry.Builder setMetrics (int dizini, MetricEntry değeri)
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 BenchmarkEntry.Builder setName (Dize değeri)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setNameBytes (com.google.protobuf.ByteString değeri)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
public BenchmarkEntry.Builder setThroughput (çift değer)
Throughput (in MB/s)
double throughput = 5;
genel final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public BenchmarkEntry.Builder setWallTime (çift değer)
Total wall time used for all iterations (in seconds)
double wall_time = 4;