BenchmarkEntry.Builder

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
addAllMetrics (valores Iterable <? extends MetricEntry >)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (int index, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (índice int, valor MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (valor MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics ( MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
MetricEntry.Builder
addMetricsBuilder (índice interno )
 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 do objeto)
BenchmarkEntry
build ()
BenchmarkEntry
BenchmarkEntry.Builder
limpar ()
BenchmarkEntry.Builder
clearCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
BenchmarkEntry.Builder
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 >
int
getExtrasCount ()
 Generic map from result key to value.
Map <String, EntryValue >
getExtrasMap ()
 Generic map from result key to value.
EntryValue
getExtrasOrDefault (String key, EntryValue defaultValue)
 Generic map from result key to value.
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
getMetrics (índice interno )
 Metric name, value and expected range.
MetricEntry.Builder
getMetricsBuilder (índice interno )
 Metric name, value and expected range.
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
getMetricsOrBuilder (índice interno )
 Metric name, value and expected range.
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
putAllExtras (valores Map <String, EntryValue >)
 Generic map from result key to value.
BenchmarkEntry.Builder
putExtras (chave String, valor EntryValue )
 Generic map from result key to value.
BenchmarkEntry.Builder
removeExtras (chave String)
 Generic map from result key to value.
BenchmarkEntry.Builder
removeMetrics (índice interno )
 Metric name, value and expected range.
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
setMetrics (int index, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
setMetrics (índice int, valor MetricEntry )
 Metric name, value and expected range.
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 build ()

public BenchmarkEntry buildPartial ()

public BenchmarkEntry.Builder clear ()

public BenchmarkEntry.Builder clearCpuTime ()

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

public BenchmarkEntry.Builder clearExtras ()

public BenchmarkEntry.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public BenchmarkEntry.Builder clearThroughput ()

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

public BenchmarkEntry.Builder clearWallTime ()

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

clone public BenchmarkEntry.Builder ()

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 BenchmarkEntry getDefaultInstanceForType ()

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

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

public Map <String, EntryValue > getExtras ()

getExtrasMap() vez disso, use getExtrasMap() .

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.Message other)

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;