BenchmarkEntry.Builder

classe finale statica pubblica 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.
 
Tipo di protocollo tensorflow.BenchmarkEntry

Metodi pubblici

BenchmarkEntry.Builder
addAllMetrics (Iterable<? estende MetricEntry > valori)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (indice int, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (indice int, valore MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics (valore MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
addMetrics ( MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
MetricEntry.Builder
addMetricsBuilder (indice 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, valore oggetto)
Ingresso benchmark
Ingresso benchmark
BenchmarkEntry.Builder
chiaro ()
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
nomechiaro ()
 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
cancellaWallTime ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
BenchmarkEntry.Builder
clone ()
booleano
contieneExtra (tasto String)
 Generic map from result key to value.
Doppio
getCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
Ingresso benchmark
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
Mappa<String, EntryValue >
getExtra ()
Utilizzare invece getExtrasMap() .
int
getExtrasCount ()
 Generic map from result key to value.
Mappa<String, EntryValue >
getExtrasMap ()
 Generic map from result key to value.
Valore di immissione
getExtrasOrDefault (chiave stringa, EntryValue defaultValue)
 Generic map from result key to value.
Valore di immissione
getExtrasOrThrow (chiave String)
 Generic map from result key to value.
lungo
getIters ()
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
Voce metrica
getMetrics (indice int)
 Metric name, value and expected range.
MetricEntry.Builder
getMetricsBuilder (indice int)
 Metric name, value and expected range.
Elenco< MetricEntry.Builder >
getMetricsBuilderList ()
 Metric name, value and expected range.
int
getMetricsCount ()
 Metric name, value and expected range.
Elenco< Voce metrica >
getMetricsList ()
 Metric name, value and expected range.
MetricEntryOrBuilder
getMetricsOrBuilder (indice int)
 Metric name, value and expected range.
Elenco<? estende MetricEntryOrBuilder >
getMetricsOrBuilderList ()
 Metric name, value and expected range.
Mappa<String, EntryValue >
getMutableExtras ()
Utilizzare invece accessori di mutazione alternativi.
Corda
getNome ()
 The name of the specific benchmark or test
 (e.g.
com.google.protobuf.ByteString
getNomeBytes ()
 The name of the specific benchmark or test
 (e.g.
Doppio
getThroughput ()
 Throughput (in MB/s)
 
double throughput = 5;
Doppio
getWallTime ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
booleano finale
BenchmarkEntry.Builder
mergeFrom (com.google.protobuf.Message altro)
BenchmarkEntry.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
finale BenchmarkEntry.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
BenchmarkEntry.Builder
putAllExtras (Map<String, EntryValue > valori)
 Generic map from result key to value.
BenchmarkEntry.Builder
putExtras (chiave String, valore EntryValue )
 Generic map from result key to value.
BenchmarkEntry.Builder
rimuoviExtras (chiave String)
 Generic map from result key to value.
BenchmarkEntry.Builder
rimuoviMetrics (indice int)
 Metric name, value and expected range.
BenchmarkEntry.Builder
setCpuTime (doppio valore)
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
BenchmarkEntry.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
BenchmarkEntry.Builder
setIters (valore lungo)
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
BenchmarkEntry.Builder
setMetrics (indice int, MetricEntry.Builder builderForValue)
 Metric name, value and expected range.
BenchmarkEntry.Builder
setMetrics (indice int, valore MetricEntry )
 Metric name, value and expected range.
BenchmarkEntry.Builder
setName (valore stringa)
 The name of the specific benchmark or test
 (e.g.
BenchmarkEntry.Builder
setNameBytes (valore com.google.protobuf.ByteString)
 The name of the specific benchmark or test
 (e.g.
BenchmarkEntry.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
BenchmarkEntry.Builder
setThroughput (doppio valore)
 Throughput (in MB/s)
 
double throughput = 5;
finale BenchmarkEntry.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
BenchmarkEntry.Builder
setWallTime (doppio valore)
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;

Metodi ereditati

Metodi pubblici

public BenchmarkEntry.Builder addAllMetrics (Iterable<? estende MetricEntry > valori)

 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 (indice 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 (indice int, valore 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 (valore 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 (indice 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, valore oggetto)

build pubblica di BenchmarkEntry ()

public BenchmarkEntry buildPartial ()

public BenchmarkEntry.Builder cancella ()

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

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

public BenchmarkEntry.Builder clearThroughput ()

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

pubblico BenchmarkEntry.Builder clearWallTime ()

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

clone pubblico di BenchmarkEntry.Builder ()

booleano pubblico contieneExtra (chiave String)

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

pubblico doppio 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 ()

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

mappa pubblica<String, EntryValue > getExtras ()

Utilizzare invece getExtrasMap() .

public int getExtrasCount ()

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

mappa pubblica<String, EntryValue > getExtrasMap ()

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

public EntryValue getExtrasOrDefault (chiave stringa, EntryValue defaultValue)

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

public EntryValue getExtrasOrThrow (chiave String)

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

getIter lunghi pubblici ()

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

public MetricEntry getMetrics (indice 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 (indice 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;

Elenco pubblico< 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;

Elenco pubblico< 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 (indice 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;

Elenco pubblico<? 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 ()

Utilizzare invece accessori di mutazione alternativi.

stringa pubblica getName ()

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

pubblico com.google.protobuf.ByteString getNameBytes ()

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

pubblico doppio getThroughput ()

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

pubblico doppio getWallTime ()

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

public final booleano isInitialized ()

pubblico BenchmarkEntry.Builder mergeFrom (com.google.protobuf.Message altro)

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

Lancia
IOException

pubblico finale BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > valori)

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

public BenchmarkEntry.Builder putExtras (chiave String, valore EntryValue )

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

public BenchmarkEntry.Builder rimuoviExtras (chiave String)

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

public BenchmarkEntry.Builder rimuoviMetrics (indice 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 (doppio valore)

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

pubblico BenchmarkEntry.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public BenchmarkEntry.Builder setIters (valore lungo)

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

public BenchmarkEntry.Builder setMetrics (indice 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 (indice int, valore 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 (valore stringa)

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

pubblico BenchmarkEntry.Builder setNameBytes (valore 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, indice int, valore oggetto)

public BenchmarkEntry.Builder setThroughput (doppio valore)

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

pubblico finale BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public BenchmarkEntry.Builder setWallTime (doppio valore)

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