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.Protobuf ประเภท
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 |
วิธีการสาธารณะ
บูลีน | containsExtras (คีย์สตริง) Generic map from result key to value. |
บูลีน | เท่ากับ (วัตถุ obj) |
สองเท่า | รับ CPUTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
รายการเกณฑ์มาตรฐาน แบบคงที่ | |
เกณฑ์มาตรฐานรายการ | |
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
แมป <สตริง, EntryValue > | รับพิเศษ () ใช้ getExtrasMap() แทน |
ภายใน | getExtrasCount () Generic map from result key to value. |
แมป <สตริง, EntryValue > | รับแผนที่พิเศษ () Generic map from result key to value. |
ค่าเข้า | |
ค่าเข้า | getExtrasOrThrow (คีย์สตริง) Generic map from result key to value. |
ยาว | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
รายการเมตริก | getMetrics (ดัชนี int) Metric name, value and expected range. |
ภายใน | getMetricsCount () Metric name, value and expected range. |
รายการ < รายการเมตริก > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (ดัชนี int) Metric name, value and expected range. |
รายการ<? ขยาย MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
สตริง | รับชื่อ () 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; |
ภายใน | แฮชโค้ด () |
บูลีนสุดท้าย | |
BenchmarkEntry.Builder แบบคงที่ | ตัวสร้างใหม่ () |
BenchmarkEntry.Builder แบบคงที่ | newBuilder (ต้นแบบ รายการเกณฑ์มาตรฐาน ) |
BenchmarkEntry.Builder | |
รายการเกณฑ์มาตรฐาน แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
รายการเกณฑ์มาตรฐาน แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม 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 เอาต์พุต) |
วิธีการสืบทอด
ค่าคงที่
สาธารณะคงที่สุดท้าย int CPU_TIME_FIELD_NUMBER
ค่าคงที่: 3
สาธารณะคงสุดท้าย int EXTRAS_FIELD_NUMBER
ค่าคงที่: 6
สาธารณะคงสุดท้าย int ITERS_FIELD_NUMBER
ค่าคงที่: 2
รอบชิงชนะเลิศแบบคงที่สาธารณะ int METRICS_FIELD_NUMBER
ค่าคงที่: 7
รอบชิงชนะเลิศแบบคงที่สาธารณะ NAME_FIELD_NUMBER
ค่าคงที่: 1
สาธารณะคงสุดท้าย int 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)
สาธารณะ double getCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
สาธารณะคงที่สุดท้าย 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 defaultValue)
แผนที่
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;
getIters สาธารณะยาว ()
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)
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 ()
string name = 1;
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)= 1;
สาธารณะ com.google.protobuf.ByteString getNameBytes ()
string name = 1;
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)= 1;
สาธารณะ getParserForType ()
สาธารณะ int getSerializedSize ()
getThroughput สาธารณะสองเท่า ()
Throughput (in MB/s)
double throughput = 5;
สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()
getWallTime สาธารณะสองเท่า ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
BenchmarkEntry แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
BenchmarkEntry แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer)
ขว้าง
ProtocolBufferException ไม่ถูกต้อง |
---|
BenchmarkEntry แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
สาธารณะ BenchmarkEntry parseFrom แบบคงที่ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
ProtocolBufferException ไม่ถูกต้อง |
---|
สาธารณะ BenchmarkEntry parseFrom แบบคงที่ (com.google.protobuf.CodedInputStream อินพุต)
ขว้าง
IOข้อยกเว้น |
---|
BenchmarkEntry แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
ProtocolBufferException ไม่ถูกต้อง |
---|
สาธารณะ BenchmarkEntry parseFrom แบบคงที่ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
ProtocolBufferException ไม่ถูกต้อง |
---|
สาธารณะ BenchmarkEntry parseFrom แบบคงที่ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
สาธารณะ BenchmarkEntry parseFrom แบบคงที่ (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
ProtocolBufferException ไม่ถูกต้อง |
---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
IOข้อยกเว้น |
---|