BenchmarkEntry.Builder

BenchmarkEntry.Builder kelas akhir statis publik

 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 tipe tensorflow.BenchmarkEntry

Metode Publik

BenchmarkEntry.Builder
addAllMetrics (Nilai Iterable<? extends MetricEntry >)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (indeks int, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (indeks int, nilai MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (nilai MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics ( MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
MetricEntry.Builder
addMetricsBuilder (indeks int)
 Metric name, value and expected range.
MetricEntry.Builder
tambahkanMetricsBuilder ()
 Metric name, value and expected range.
BenchmarkEntry.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
Entri Tolok Ukur
Entri Tolok Ukur
BenchmarkEntry.Builder
jernih ()
BenchmarkEntry.Builder
hapusCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
BenchmarkEntry.Builder
BenchmarkEntry.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
BenchmarkEntry.Builder
jelasIters ()
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
BenchmarkEntry.Builder
hapusMetrik ()
 Metric name, value and expected range.
BenchmarkEntry.Builder
nama jelas ()
 The name of the specific benchmark or test
 (e.g.
BenchmarkEntry.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
BenchmarkEntry.Builder
jelasThroughput ()
 Throughput (in MB/s)
 
double throughput = 5;
BenchmarkEntry.Builder
hapusWaktu di Dinding ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
BenchmarkEntry.Builder
klon ()
boolean
berisi Ekstra (kunci string)
 Generic map from result key to value.
dobel
dapatkanCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
Entri Tolok Ukur
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
Peta<String, Nilai Masuk >
dapatkan Ekstra ()
Gunakan getExtrasMap() sebagai gantinya.
ke dalam
dapatkanExtrasCount ()
 Generic map from result key to value.
Peta<String, Nilai Masuk >
dapatkan ExtrasMap ()
 Generic map from result key to value.
Nilai Masuk
getExtrasOrDefault (kunci string, EntryValue defaultValue)
 Generic map from result key to value.
Nilai Masuk
getExtrasOrThrow (kunci string)
 Generic map from result key to value.
panjang
dapatkanIters ()
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
Entri Metrik
getMetrics (indeks int)
 Metric name, value and expected range.
MetricEntry.Builder
getMetricsBuilder (indeks int)
 Metric name, value and expected range.
Daftar< MetricEntry.Builder >
dapatkanMetricsBuilderList ()
 Metric name, value and expected range.
ke dalam
dapatkanMetricsCount ()
 Metric name, value and expected range.
Daftar< MetricEntry >
dapatkanDaftar Metrik ()
 Metric name, value and expected range.
MetricEntryOrBuilder
getMetricsOrBuilder (indeks int)
 Metric name, value and expected range.
Daftar<? memperluas MetricEntryOrBuilder >
dapatkanMetricsOrBuilderList ()
 Metric name, value and expected range.
Peta<String, Nilai Masuk >
dapatkanMutableExtras ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
Rangkaian
dapatkan Nama ()
 The name of the specific benchmark or test
 (e.g.
com.google.protobuf.ByteString
dapatkanNamaBytes ()
 The name of the specific benchmark or test
 (e.g.
dobel
dapatkan Throughput ()
 Throughput (in MB/s)
 
double throughput = 5;
dobel
dapatkanWaktu Dinding ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
boolean terakhir
BenchmarkEntry.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
BenchmarkEntry.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry.Builder terakhir
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BenchmarkEntry.Builder
putAllExtras (nilai Peta<String, EntryValue >)
 Generic map from result key to value.
BenchmarkEntry.Builder
putExtras (kunci string, nilai EntryValue )
 Generic map from result key to value.
BenchmarkEntry.Builder
hapus Ekstra (kunci string)
 Generic map from result key to value.
BenchmarkEntry.Builder
hapusMetrik (indeks int)
 Metric name, value and expected range.
BenchmarkEntry.Builder
setCpuTime (nilai ganda)
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
BenchmarkEntry.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
BenchmarkEntry.Builder
setIters (nilai panjang)
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
BenchmarkEntry.Builder
setMetrics (indeks int, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
setMetrics (indeks int, nilai MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
setName (Nilai string)
 The name of the specific benchmark or test
 (e.g.
BenchmarkEntry.Builder
setNameBytes (nilai com.google.protobuf.ByteString)
 The name of the specific benchmark or test
 (e.g.
BenchmarkEntry.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
BenchmarkEntry.Builder
setThroughput (nilai ganda)
 Throughput (in MB/s)
 
double throughput = 5;
BenchmarkEntry.Builder terakhir
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BenchmarkEntry.Builder
setWallTime (nilai ganda)
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;

Metode Warisan

Metode Publik

public BenchmarkEntry.Builder addAllMetrics (nilai Iterable<? extends 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 publik (indeks int, MetricEntry.Builder buildForValue)

 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 BenchmarkEntry.Builder addMetrics (indeks int, nilai 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 publik (nilai 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 publik ( 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 publik addMetricsBuilder (int indeks)

 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 publik 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;

public BenchmarkEntry.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

build BenchmarkEntry publik ()

Benchmark publikEntry buildPartial ()

BenchmarkEntry.Builder publik jelas ()

BenchmarkEntry.Builder publik clearCpuTime ()

 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;

BenchmarkEntry publik.Builder clearExtras ()

BenchmarkEntry.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)

BenchmarkEntry publik.Builder clearIters ()

 If a benchmark, how many iterations it was run for
 
int64 iters = 2;

BenchmarkEntry publik.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 publik.Builder clearName ()

 The name of the specific benchmark or test
 (e.g. BM_AdjustContrast_gpu_B_W_H)
 
string name = 1;

BenchmarkEntry.Builder publik clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

BenchmarkEntry publik.Builder clearThroughput ()

 Throughput (in MB/s)
 
double throughput = 5;

BenchmarkEntry.Builder publik clearWallTime ()

 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;

klon BenchmarkEntry.Builder publik ()

boolean publik berisi Ekstra (kunci string)

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

getCpuTime ganda publik ()

 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;

BenchmarkEntry publik getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()

Peta publik<String, EntryValue > getExtras ()

Gunakan getExtrasMap() sebagai gantinya.

int publik getExtrasCount ()

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

Peta publik<String, EntryValue > getExtrasMap ()

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

EntryValue publik getExtrasOrDefault (kunci string, EntryValue defaultValue)

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

EntryValue publik getExtrasOrThrow (kunci string)

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

publik long getIters ()

 If a benchmark, how many iterations it was run for
 
int64 iters = 2;

getMetrics MetricEntry publik (indeks 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 publik getMetricsBuilder (int indeks)

 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;

Daftar publik< 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 publik 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;

Daftar publik< 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 publik getMetricsOrBuilder (int indeks)

 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;

Daftar Publik<? memperluas 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;

Peta publik<String, EntryValue > getMutableExtras ()

Gunakan pengakses mutasi alternatif sebagai gantinya.

GetName String publik ()

 The name of the specific benchmark or test
 (e.g. BM_AdjustContrast_gpu_B_W_H)
 
string name = 1;

publik com.google.protobuf.ByteString getNameBytes ()

 The name of the specific benchmark or test
 (e.g. BM_AdjustContrast_gpu_B_W_H)
 
string name = 1;

getThroughput ganda publik ()

 Throughput (in MB/s)
 
double throughput = 5;

getWallTime ganda publik ()

 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;

boolean akhir publik diinisialisasi ()

BenchmarkEntry.Builder mergeFrom (com.google.protobuf.Message lainnya) publik

BenchmarkEntry.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

BenchmarkEntry.Builder final publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

BenchmarkEntry.Builder publik putAllExtras (nilai Map<String, EntryValue >)

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

public BenchmarkEntry.Builder putExtras (kunci string, nilai EntryValue )

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

BenchmarkEntry.Builder publik deleteExtras (kunci string)

 Generic map from result key to value.
 
map<string, .tensorflow.EntryValue> extras = 6;

BenchmarkEntry.Builder deleteMetrics publik (indeks 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 BenchmarkEntry.Builder setCpuTime (nilai ganda)

 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;

public BenchmarkEntry.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

public BenchmarkEntry.Builder setIters (nilai panjang)

 If a benchmark, how many iterations it was run for
 
int64 iters = 2;

BenchmarkEntry.Builder setMetrics publik (indeks int, 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;

public BenchmarkEntry.Builder setMetrics (indeks int, nilai 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;

public BenchmarkEntry.Builder setName (Nilai string)

 The name of the specific benchmark or test
 (e.g. BM_AdjustContrast_gpu_B_W_H)
 
string name = 1;

BenchmarkEntry.Builder setNameBytes publik (nilai 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

public BenchmarkEntry.Builder setThroughput (nilai ganda)

 Throughput (in MB/s)
 
double throughput = 5;

BenchmarkEntry.Builder setUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)

public BenchmarkEntry.Builder setWallTime (nilai ganda)

 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;