clase final estática pública BenchmarkEntry.Builder
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 de tipo
tensorflow.BenchmarkEntry
Métodos públicos
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (índice int) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
BenchmarkEntry | construir () |
BenchmarkEntry | buildPartial () |
BenchmarkEntry.Builder | claro () |
BenchmarkEntry.Builder | clearCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | clearExtras () |
BenchmarkEntry.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
BenchmarkEntry.Builder | clearIters () If a benchmark, how many iterations it was run forint64 int64 iters = 2; |
BenchmarkEntry.Builder | clearMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | clearName () The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BenchmarkEntry.Builder | clearThroughput () Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder | clearWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
BenchmarkEntry.Builder | clonar () |
booleano | contieneExtras (clave de cadena) Generic map from result key to value. |
doble | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Mapa <String, EntryValue > | getExtras () Utilice getExtrasMap() lugar. |
En t | getExtrasCount () Generic map from result key to value. |
Mapa <String, EntryValue > | getExtrasMap () Generic map from result key to value. |
EntryValue | getExtrasOrDefault (clave de cadena, EntryValue defaultValue ) Generic map from result key to value. |
EntryValue | getExtrasOrThrow (clave de cadena) Generic map from result key to value. |
largo | getIters () If a benchmark, how many iterations it was run forint64 int64 iters = 2; |
MetricEntry | getMetrics (índice int) Metric name, value and expected range. |
MetricEntry.Builder | getMetricsBuilder (índice int) Metric name, value and expected range. |
Lista < MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
En t | getMetricsCount () Metric name, value and expected range. |
Lista < MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (índice int) Metric name, value and expected range. |
Lista <? extiende MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
Mapa <String, EntryValue > | getMutableExtras () En su lugar, utilice accesores de mutación alternativos. |
Cuerda | 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. |
doble | getThroughput () Throughput (in MB/s) double throughput = 5; |
doble | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
booleano final | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message otro) |
BenchmarkEntry.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | removeExtras (clave de cadena) Generic map from result key to value. |
BenchmarkEntry.Builder | removeMetrics (índice int) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (valor doble) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
BenchmarkEntry.Builder | setIters (valor largo) If a benchmark, how many iterations it was run forint64 int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valor de cadena) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (valor de com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
BenchmarkEntry.Builder | setThroughput (valor doble) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | setWallTime (valor doble) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Métodos heredados
Métodos públicos
public BenchmarkEntry.Builder addAllMetrics ( valores Iterable <? extiende 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 addMetrics (índice 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 addMetrics (índice int, valor 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 addMetrics (valor de 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 addMetrics ( 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 MetricEntry.Builder addMetricsBuilder (índice 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 MetricEntry.Builder 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder clearIters ()
If a benchmark, how many iterations it was run forint64
int64 iters = 2;
public BenchmarkEntry.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;
public BenchmarkEntry.Builder clearName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder clearWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public boolean containsExtras (clave de cadena)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public double getCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 (clave de cadena, EntryValue defaultValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrThrow (clave de cadena)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
getIters largos públicos ()
If a benchmark, how many iterations it was run forint64
int64 iters = 2;
public MetricEntry getMetrics (índice 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 MetricEntry.Builder getMetricsBuilder (índice 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;
lista pública < 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;
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;
lista pública < 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 (índice 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;
Lista pública <? extiende 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 Map <String, EntryValue > getMutableExtras ()
En su lugar, utilice accesores de mutación alternativos.
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;
public double getThroughput ()
Throughput (in MB/s)
double throughput = 5;
public double getWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public final boolean isInitialized ()
public BenchmarkEntry.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder putAllExtras ( valores de Map <String, EntryValue >)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (clave de cadena, valor de EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeExtras (clave de cadena)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeMetrics (índice 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 (valor doble)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public BenchmarkEntry.Builder setIters (valor largo)
If a benchmark, how many iterations it was run forint64
int64 iters = 2;
public BenchmarkEntry.Builder setMetrics (int index, 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 (índice int, valor de 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 (valor de cadena)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setNameBytes (valor de 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public BenchmarkEntry.Builder setThroughput (valor doble)
Throughput (in MB/s)
double throughput = 5;
público final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder setWallTime (valor doble)
Total wall time used for all iterations (in seconds)
double wall_time = 4;