کلاس نهایی استاتیک عمومی 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 | addAllMetrics (Iterable<? مقادیر MetricEntry > را گسترش می دهد) Metric name, value and expected range. |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (شاخص int) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
معیار ورود | ساختن () |
معیار ورود | ساخت جزئی () |
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 | شفاف سازی () 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 | شبیه () |
بولی | حاوی Extras (کلید رشته) Generic map from result key to value. |
دو برابر | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
معیار ورود | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, EntryValue > | دریافت اضافی () به جای آن getExtrasMap() استفاده کنید. |
بین المللی | getExtrasCount () Generic map from result key to value. |
Map<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) Metric name, value and expected range. |
MetricEntry.Builder | getMetricsBuilder (شاخص int) Metric name, value and expected range. |
List< MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
بین المللی | getMetricsCount () Metric name, value and expected range. |
فهرست < MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (شاخص int) Metric name, value and expected range. |
لیست<? MetricEntryOrBuilder را گسترش می دهد > | getMetricsOrBuilderList () Metric name, value and expected range. |
Map<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. |
دو برابر | دریافت میزان () 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 other) |
BenchmarkEntry.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder نهایی | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | remove Extras (کلید رشته) 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 فیلد، مقدار Object) |
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، نمایه int، مقدار Object) |
BenchmarkEntry.Builder | setThroughput (مقدار دو برابر) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder نهایی | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
BenchmarkEntry.Builder | setWallTime (مقدار دو برابر) Total wall time used for all iterations (in seconds) double wall_time = 4; |
روش های ارثی
روش های عمومی
عمومی BenchmarkEntry.Builder addAllMetrics (Iterable<? مقادیر 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی BenchmarkEntry.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
عمومی 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. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7;
عمومی BenchmarkEntry.Builder clearName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
عمومی 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 ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
عمومی 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;
عمومی EntryValue getExtrasOrDefault (کلید رشته، مقدار پیش فرض EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
عمومی EntryValue getExtrasOrThrow (کلید رشته)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
دریافت های طولانی عمومی ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
عمومی MetricEntry getMetrics (شاخص int)
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 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;
عمومی 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;
عمومی 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;
عمومی com.google.protobuf.ByteString getNameBytes ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
دریافت دو برابر عمومی ()
Throughput (in MB/s)
double throughput = 5;
دریافت دوبل عمومی ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
بولین نهایی عمومی isInitialized ()
عمومی BenchmarkEntry.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی نهایی BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
عمومی BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > مقادیر)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
عمومی BenchmarkEntry.Builder putExtras (کلید رشته، مقدار EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
عمومی BenchmarkEntry.Builder removeExtras (کلید رشته)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
عمومی 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;
عمومی 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 فیلد، مقدار Object)
عمومی BenchmarkEntry.Builder setIters (مقدار طولانی)
If a benchmark, how many iterations it was run for
int64 iters = 2;
عمومی 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;
عمومی BenchmarkEntry.Builder setMetrics (شاخص 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;
عمومی BenchmarkEntry.Builder setName (مقدار رشته)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
عمومی 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, int index, Object value)
عمومی BenchmarkEntry.Builder setThroughput (مقدار دو برابر)
Throughput (in MB/s)
double throughput = 5;
عمومی نهایی BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
عمومی BenchmarkEntry.Builder setWallTime (مقدار دو برابر)
Total wall time used for all iterations (in seconds)
double wall_time = 4;