classe finale statique publique 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 type
tensorflow.BenchmarkEntry
Méthodes publiques
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (index int) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
Entrée de référence | construire () |
Entrée de référence | buildPartial () |
BenchmarkEntry.Builder | clair () |
BenchmarkEntry.Builder | clearCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
BenchmarkEntry.Builder | effacerIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | clearMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | nom clair () 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 | cloner () |
booléen | contientExtras (clé de chaîne) Generic map from result key to value. |
double | obtenirCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
Entrée de référence | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Carte<String, EntryValue > | obtenirExtras () Utilisez plutôt getExtrasMap() . |
int | getExtrasCount () Generic map from result key to value. |
Carte<String, EntryValue > | getExtrasMap () Generic map from result key to value. |
Valeur d'entrée | getExtrasOrDefault (clé de chaîne, EntryValue valeur par défaut) Generic map from result key to value. |
Valeur d'entrée | getExtrasOrThrow (clé de chaîne) Generic map from result key to value. |
long | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
Entrée métrique | getMetrics (index entier) Metric name, value and expected range. |
MetricEntry.Builder | getMetricsBuilder (index int) Metric name, value and expected range. |
Liste< MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
int | getMetricsCount () Metric name, value and expected range. |
Liste< MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (index int) Metric name, value and expected range. |
Liste<? étend MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
Carte<String, EntryValue > | getMutableExtras () Utilisez plutôt d’autres accesseurs de mutation. |
Chaîne | obtenirNom () 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. |
double | getThroughput () Throughput (in MB/s) double throughput = 5; |
double | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
booléen final | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message autre) |
BenchmarkEntry.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | supprimerExtras (clé de chaîne) Generic map from result key to value. |
BenchmarkEntry.Builder | RemoveMetrics (index int) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (valeur double) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
BenchmarkEntry.Builder | setIters (valeur longue) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valeur de chaîne) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (valeur com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
BenchmarkEntry.Builder | setThroughput (valeur double) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
BenchmarkEntry.Builder | setWallTime (valeur double) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Méthodes héritées
Méthodes publiques
public BenchmarkEntry.Builder addAllMetrics (Iterable<? étend MetricEntry > valeurs)
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 (index 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 (index int, valeur 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 (valeur 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 (index 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 ()
nom de chaîne
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 containExtras (clé de chaîne)
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 statique 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 (clé de chaîne, EntryValue defaultValue)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrThrow (clé de chaîne)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
getIters publics longs ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
public MetricEntry getMetrics (index 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 (index 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;
Liste publique < 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;
liste publique < 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 (index 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;
Liste publique <? étend 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 ()
Utilisez plutôt d’autres accesseurs de mutation.
chaîne publique getName ()
nom de chaîne
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 booléen isInitialized ()
public BenchmarkEntry.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > valeurs)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (clé de chaîne, valeur EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeExtras (clé de chaîne)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder RemoveMetrics (index 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 (valeur double)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public BenchmarkEntry.Builder setIters (valeur longue)
If a benchmark, how many iterations it was run for
int64 iters = 2;
public BenchmarkEntry.Builder setMetrics (index 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 (index int, valeur 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 (valeur de chaîne)
nom de chaîne
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setNameBytes (valeur com.google.protobuf.ByteString)
nom de chaîne
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public BenchmarkEntry.Builder setThroughput (valeur double)
Throughput (in MB/s)
double throughput = 5;
public final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder setWallTime (valeur double)
Total wall time used for all iterations (in seconds)
double wall_time = 4;
classe finale statique publique 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
Méthodes publiques
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (index int) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
Entrée de référence | construire () |
Entrée de référence | buildPartial () |
BenchmarkEntry.Builder | clair () |
BenchmarkEntry.Builder | clearCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
BenchmarkEntry.Builder | effacerIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | clearMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | nom clair () 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 | cloner () |
booléen | contientExtras (clé de chaîne) Generic map from result key to value. |
double | obtenirCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
Entrée de référence | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Carte<String, EntryValue > | obtenirExtras () Utilisez plutôt getExtrasMap() . |
int | getExtrasCount () Generic map from result key to value. |
Carte<String, EntryValue > | getExtrasMap () Generic map from result key to value. |
Valeur d'entrée | getExtrasOrDefault (clé de chaîne, EntryValue valeur par défaut) Generic map from result key to value. |
Valeur d'entrée | getExtrasOrThrow (clé de chaîne) Generic map from result key to value. |
long | getIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
Entrée métrique | getMetrics (index entier) Metric name, value and expected range. |
MetricEntry.Builder | getMetricsBuilder (index int) Metric name, value and expected range. |
Liste< MetricEntry.Builder > | getMetricsBuilderList () Metric name, value and expected range. |
int | getMetricsCount () Metric name, value and expected range. |
Liste< MetricEntry > | getMetricsList () Metric name, value and expected range. |
MetricEntryOrBuilder | getMetricsOrBuilder (index int) Metric name, value and expected range. |
Liste<? étend MetricEntryOrBuilder > | getMetricsOrBuilderList () Metric name, value and expected range. |
Carte<String, EntryValue > | getMutableExtras () Utilisez plutôt d’autres accesseurs de mutation. |
Chaîne | obtenirNom () 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. |
double | getThroughput () Throughput (in MB/s) double throughput = 5; |
double | getWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
booléen final | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message autre) |
BenchmarkEntry.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | supprimerExtras (clé de chaîne) Generic map from result key to value. |
BenchmarkEntry.Builder | RemoveMetrics (index int) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (valeur double) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
BenchmarkEntry.Builder | setIters (valeur longue) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valeur de chaîne) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (valeur com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
BenchmarkEntry.Builder | setThroughput (valeur double) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
BenchmarkEntry.Builder | setWallTime (valeur double) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Méthodes héritées
Méthodes publiques
public BenchmarkEntry.Builder addAllMetrics (Iterable<? étend MetricEntry > valeurs)
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 (index 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 (index int, valeur 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 (valeur 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 (index 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 ()
nom de chaîne
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 containExtras (clé de chaîne)
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 statique 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 (clé de chaîne, EntryValue defaultValue)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public EntryValue getExtrasOrThrow (clé de chaîne)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
getIters publics longs ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
public MetricEntry getMetrics (index 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 (index 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;
Liste publique < 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;
liste publique < 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 (index 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;
Liste publique <? étend 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 ()
Utilisez plutôt d’autres accesseurs de mutation.
chaîne publique getName ()
nom de chaîne
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 booléen isInitialized ()
public BenchmarkEntry.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > valeurs)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (clé de chaîne, valeur EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder removeExtras (clé de chaîne)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder RemoveMetrics (index 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 (valeur double)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public BenchmarkEntry.Builder setIters (valeur longue)
If a benchmark, how many iterations it was run for
int64 iters = 2;
public BenchmarkEntry.Builder setMetrics (index 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 (index int, valeur 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 (valeur de chaîne)
nom de chaîne
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setNameBytes (valeur com.google.protobuf.ByteString)
nom de chaîne
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
public BenchmarkEntry.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public BenchmarkEntry.Builder setThroughput (valeur double)
Throughput (in MB/s)
double throughput = 5;
public final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public BenchmarkEntry.Builder setWallTime (valeur double)
Total wall time used for all iterations (in seconds)
double wall_time = 4;