کلاس نهایی عمومی معیار ورود
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 کلاس های تو در تو
| کلاس | BenchmarkEntry.Builder | Each unit test or benchmark in a test or benchmark run provides some set of information. | |
ثابت ها
| بین المللی | CPU_TIME_FIELD_NUMBER | |
| بین المللی | EXTRAS_FIELD_NUMBER | |
| بین المللی | ITERS_FIELD_NUMBER | |
| بین المللی | METRICS_FIELD_NUMBER | |
| بین المللی | NAME_FIELD_NUMBER | |
| بین المللی | THROUGHPUT_FIELD_NUMBER | |
| بین المللی | WALL_TIME_FIELD_NUMBER |
روش های عمومی
| بولی | حاوی Extras (کلید رشته) Generic map from result key to value. |
| بولی | برابر است (object obj) |
| دو برابر کردن | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
| استاتیک معیار ورود | |
| معیار ورود | |
| نهایی static 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. |
| بین المللی | 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. |
| رشته | 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; |
| com.google.protobuf.UnknownFieldSet نهایی | |
| دو برابر کردن | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
| بین المللی | هش کد () |
| بولی نهایی | |
| Static BenchmarkEntry.Builder | newBuilder () |
| Static BenchmarkEntry.Builder | newBuilder (نمونه اولیه BenchmarkEntry ) |
| BenchmarkEntry.Builder | |
| استاتیک معیار ورود | parseDelimitedFrom (ورودی جریان ورودی) |
| استاتیک معیار ورود | parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک معیار ورود | parseFrom (داده های ByteBuffer) |
| استاتیک معیار ورود | parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک معیار ورود | parseFrom (دادههای ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک معیار ورود | parseFrom (ورودی com.google.protobuf.CodedInputStream) |
| استاتیک معیار ورود | parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک معیار ورود | parseFrom (داده های com.google.protobuf.ByteString) |
| استاتیک معیار ورود | parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| استاتیک معیار ورود | parseFrom (دادههای com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ایستا | تجزیه کننده () |
| BenchmarkEntry.Builder | toBuilder () |
| باطل | writeTo (خروجی com.google.protobuf.CodedOutputStream) |
روش های ارثی
ثابت ها
CPU_TIME_FIELD_NUMBER نهایی استاتیک عمومی
مقدار ثابت: 3
نهایی استاتیک عمومی EXTRAS_FIELD_NUMBER
مقدار ثابت: 6
نهایی استاتیک عمومی ITERS_FIELD_NUMBER
مقدار ثابت: 2
نهایی استاتیک عمومی METRICS_FIELD_NUMBER
ارزش ثابت: 7
نهایی استاتیک عمومی NAME_FIELD_NUMBER
ارزش ثابت: 1
نهایی استاتیک عمومی THROUGHPUT_FIELD_NUMBER
ارزش ثابت: 5
نهایی استاتیک عمومی WALL_TIME_FIELD_NUMBER
ارزش ثابت: 4
روش های عمومی
بولی عمومی حاوی Extras (کلید رشته)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; بولین عمومی برابر است (Object Obj)
عمومی دوبل getCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی 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; عمومی 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; عمومی getParserForType ()
عمومی int getSerializedSize ()
دریافت دو برابر عمومی ()
Throughput (in MB/s)
double throughput = 5; عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()
دریافت دوبل عمومی ()
Total wall time used for all iterations (in seconds)
double wall_time = 4; هش کد عمومی ()
بولین نهایی عمومی isInitialized ()
عمومی static BenchmarkEntry parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی static BenchmarkEntry parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی static BenchmarkEntry parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی static BenchmarkEntry parseFrom (ورودی com.google.protobuf.CodedInputStream)
پرتاب می کند
| IOException |
|---|
عمومی static BenchmarkEntry parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی static BenchmarkEntry parseFrom (داده های com.google.protobuf.ByteString)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
عمومی static BenchmarkEntry parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی static BenchmarkEntry parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| InvalidProtocolBufferException |
|---|
استاتیک عمومی تجزیه کننده ()
public void writeTo (خروجی com.google.protobuf.CodedOutputStream)
پرتاب می کند
| IOException |
|---|