classe final pública estática 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.BenchmarkEntry
tipo tensorflow.BenchmarkEntry
Métodos Públicos
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
BenchmarkEntry | build () |
BenchmarkEntry | buildPartial () |
BenchmarkEntry.Builder | limpar () |
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 for 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 | clone () |
boleano | containsExtras (chave String) Generic map from result key to value. |
Duplo | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map <String, EntryValue > | getExtras () getExtrasMap() vez disso, use getExtrasMap() . |
int | getExtrasCount () Generic map from result key to value. |
Map <String, EntryValue > | getExtrasMap () Generic map from result key to value. |
EntryValue | |
EntryValue | getExtrasOrThrow (String key) Generic map from result key to value. |
longo | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
MetricEntry | |
MetricEntry.Builder | |
Listar < MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
int | getMetricsCount () Metric name, value and expected range. |
Listar < MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | |
Lista <? estende MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
Map <String, EntryValue > | getMutableExtras () Em vez disso, use acessadores de mutação alternativos. |
Fragmento | 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. |
Duplo | getThroughput () Throughput (in MB/s) double throughput = 5; |
Duplo | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
final booleano | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message other) |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final BenchmarkEntry.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | removeExtras (chave String) Generic map from result key to value. |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setCpuTime (valor duplo) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
BenchmarkEntry.Builder | setIters (valor longo) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valor String) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (com.google.protobuf.ByteString value) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
BenchmarkEntry.Builder | setThroughput (valor duplo) Throughput (in MB/s) double throughput = 5; |
final BenchmarkEntry.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BenchmarkEntry.Builder | setWallTime (valor duplo) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Métodos herdados
Métodos Públicos
public BenchmarkEntry.Builder addAllMetrics (Iterable <? extends MetricEntry > valores)
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 (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 addMetrics (int index, MetricEntry value)
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 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 interno )
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 do 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 for
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 (String key)
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 (String key, EntryValue defaultValue)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrThrow (String key)
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 (í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 interno )
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.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;
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 (índice interno )
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 <? estende 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 ()
Em vez disso, use acessadores de mutação 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 (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder putAllExtras (Map <String, EntryValue > values)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (String key, EntryValue value)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeExtras (String key)
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 duplo)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
setIters public BenchmarkEntry.Builder (valor longo)
If a benchmark, how many iterations it was run for
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 (int index, MetricEntry value)
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 String)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setNameBytes (com.google.protobuf.ByteString value)
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, int index, Object value)
public BenchmarkEntry.Builder setThroughput (valor duplo)
Throughput (in MB/s)
double throughput = 5;
public final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder setWallTime (valor duplo)
Total wall time used for all iterations (in seconds)
double wall_time = 4;