מחלקה סופית סטטית ציבורית 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
tensorflow.BenchmarkEntry
שיטות ציבוריות
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (int index) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
BenchmarkEntry | לבנות () |
BenchmarkEntry | buildPartial () |
BenchmarkEntry.Builder | ברור () |
BenchmarkEntry.Builder | clearCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | clearExtras () |
BenchmarkEntry.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
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 | שיבוט () |
בוליאני | containsExtras (מפתח מחרוזת) Generic map from result key to value. |
לְהַכפִּיל | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
מפה<String, EntryValue > | getExtras () השתמש getExtrasMap() במקום זאת. |
int | getExtrasCount () Generic map from result key to value. |
מפה<String, EntryValue > | getExtrasMap () Generic map from result key to value. |
EntryValue | |
EntryValue | getExtrasOrThrow (מפתח מחרוזת) Generic map from result key to value. |
ארוך | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
MetricEntry | getMetrics (int index) Metric name, value and expected range. |
MetricEntry.Builder | getMetricsBuilder (אינדקס int) Metric name, value and expected range. |
רשימה< MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
int | getMetricsCount () Metric name, value and expected range. |
רשימה< MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (int index) Metric name, value and expected range. |
רשימה<? מרחיב את MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
מפה<String, EntryValue > | getMutableExtras () השתמש במקום זאת באביזרי מוטציה חלופיים. |
חוּט | 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. |
לְהַכפִּיל | getThroughput () Throughput (in MB/s) double throughput = 5; |
לְהַכפִּיל | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
בוליאנית סופית | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message אחר) |
BenchmarkEntry.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final BenchmarkEntry.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | RemoveExtras (מפתח מחרוזת) Generic map from result key to value. |
BenchmarkEntry.Builder | removeMetrics (int index) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (ערך כפול) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
BenchmarkEntry.Builder | setIters (ערך ארוך) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (ערך מחרוזת) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (ערך com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
BenchmarkEntry.Builder | setThroughput (ערך כפול) Throughput (in MB/s) double throughput = 5; |
final BenchmarkEntry.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | setWallTime (ערך כפול) Total wall time used for all iterations (in seconds) double wall_time = 4; |
שיטות בירושה
שיטות ציבוריות
public BenchmarkEntry.Builder addAllMetrics (Iterable<? מרחיב את MetricEntry > values)
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 index, 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, ערך MetricEntry )
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 )
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 index)
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 ()
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, ערך אובייקט)
public BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public 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;
public BenchmarkEntry.Builder clearWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
בוליאני ציבורי מכילExtras (מפתח מחרוזת)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
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;
מפה ציבורית<String, EntryValue > getExtrasMap ()
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrDefault (מפתח מחרוזת, EntryValue defaultValue)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrThrow (מפתח מחרוזת)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
Public long getIters ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
public MetricEntry getMetrics (int index)
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 index)
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;
רשימה ציבורית< 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;
רשימה ציבורית< 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 index)
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;
רשימה ציבורית<? מרחיב את MetricEntryOrBuilder > 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;
מחרוזת ציבורית 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;
getThroughput כפול ()
Throughput (in MB/s)
double throughput = 5;
getWallTime כפול ציבורי ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
בוליאני הסופי הציבורי הוא אתחול ()
public BenchmarkEntry.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > values)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (מפתח מחרוזת, ערך EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeExtras (מפתח מחרוזת)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeMetrics (int index)
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 (ערך כפול)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
Public BenchmarkEntry.Builder setIters (ערך ארוך)
If a benchmark, how many iterations it was run for
int64 iters = 2;
Public BenchmarkEntry.Builder setMetrics (int index, 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 index, MetricEntry value)
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 (ערך מחרוזת)
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)
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, אינדקס אינט, ערך אובייקט)
Public final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder setWallTime (ערך כפול)
Total wall time used for all iterations (in seconds)
double wall_time = 4;