공개 최종 클래스 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 |
공개 방법
부울 | containExtras (문자열 키) Generic map from result key to value. |
부울 | 같음 (객체 객체) |
더블 | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
정적 벤치마크 항목 | |
벤치마크 항목 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
Map<문자열, 항목값 > | getExtras () 대신 getExtrasMap() 사용하세요. |
정수 | getExtrasCount () Generic map from result key to value. |
Map<문자열, 항목값 > | getExtrasMap () 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 (정수 인덱스) Metric name, value and expected range. |
정수 | getMetricsCount () Metric name, value and expected range. |
목록< MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (정수 인덱스) 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; |
정수 | 해시 코드 () |
최종 부울 | 초기화됨 () |
정적 BenchmarkEntry.Builder | 새로운 빌더 () |
정적 BenchmarkEntry.Builder | newBuilder ( BenchmarkEntry 프로토타입) |
BenchmarkEntry.Builder | |
정적 벤치마크 항목 | parsDelimitedFrom (InputStream 입력) |
정적 벤치마크 항목 | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 벤치마크 항목 | parsFrom (ByteBuffer 데이터) |
정적 벤치마크 항목 | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 벤치마크 항목 | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 벤치마크 항목 | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
정적 벤치마크 항목 | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
정적 벤치마크 항목 | 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
공개 정적 최종 정수 ITERS_FIELD_NUMBER
상수값: 2
공개 정적 최종 int METRICS_FIELD_NUMBER
상수값: 7
공개 정적 최종 정수 NAME_FIELD_NUMBER
상수값: 1
공개 정적 최종 int THROUGHPUT_FIELD_NUMBER
상수값: 5
공개 정적 최종 int WALL_TIME_FIELD_NUMBER
상수값: 4
공개 방법
공개 부울 containExtras (문자열 키)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
공개 부울은 (객체 obj)와 같습니다 .
공개 이중 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;
공용 Map<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 ()
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 ()
공개 이중 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 ()
공개 정적 BenchmarkEntryparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 BenchmarkEntry 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)
던지기
IO예외 |
---|
공개 정적 BenchmarkEntry parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 BenchmarkEntry 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 BenchmarkEntry ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 BenchmarkEntry ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|