パブリック最終クラス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. |
ブール値 | 等しい(オブジェクトオブジェクト) |
ダブル | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
静的BenchmarkEntry | |
ベンチマークエントリー | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
Map<String, EntryValue > | getExtras () 代わりに getExtrasMap() を使用してください。 |
整数 | getExtrasCount () Generic map from result key to value. |
Map<String, EntryValue > | 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 (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. |
整数 | |
ダブル | getスループット() 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 | newBuilder () |
静的BenchmarkEntry.Builder | newBuilder ( BenchmarkEntryプロトタイプ) |
BenchmarkEntry.Builder | |
静的BenchmarkEntry | parseDelimitedFrom (InputStream 入力) |
静的BenchmarkEntry | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BenchmarkEntry | parseFrom (ByteBuffer データ) |
静的BenchmarkEntry | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BenchmarkEntry | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BenchmarkEntry | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的BenchmarkEntry | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BenchmarkEntry | parseFrom (com.google.protobuf.ByteString データ) |
静的BenchmarkEntry | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的BenchmarkEntry | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
BenchmarkEntry.Builder | toビルダー() |
空所 | 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
パブリックメソッド
public boolean containsExtras (文字列キー)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public booleanに等しい(オブジェクト obj)
パブリックダブルgetCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getExtrasCount ()
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public Map<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 インデックス)
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;
public List< 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 インデックス)
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;
公開リスト<? extends 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;
public String 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;
公共 getParserForType ()
public int getSerializedSize ()
パブリックダブルgetThroughput ()
Throughput (in MB/s)
double throughput = 5;
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public double getWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static BenchmarkEntry parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BenchmarkEntry parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BenchmarkEntry parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static BenchmarkEntry parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static BenchmarkEntry parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static BenchmarkEntry parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|