BenchmarkEntry

BenchmarkEntry de la clase final pública

 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

Clases anidadas

clase BenchmarkEntry.Builder
 Each unit test or benchmark in a test or benchmark run provides
 some set of information. 

Constantes

En tCPU_TIME_FIELD_NUMBER
En t EXTRAS_FIELD_NUMBER
En t ITERS_FIELD_NUMBER
En t METRICS_FIELD_NUMBER
En t NAME_FIELD_NUMBER
En t THROUGHPUT_FIELD_NUMBER
En t WALL_TIME_FIELD_NUMBER

Métodos públicos

booleano
contieneExtras (clave de cadena)
 Generic map from result key to value.
booleano
es igual a (Objeto obj)
doble
getCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
BenchmarkEntry estático
BenchmarkEntry
com.google.protobuf.Descriptors.Descriptor estático final
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 for
 
int64 int64 iters = 2;
MetricEntry
getMetrics (índice int)
 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.
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.
En t
doble
getThroughput ()
 Throughput (in MB/s)
 
double throughput = 5;
final com.google.protobuf.UnknownFieldSet
doble
getWallTime ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
En t
booleano final
static BenchmarkEntry.Builder
static BenchmarkEntry.Builder
newBuilder (prototipo de BenchmarkEntry )
BenchmarkEntry.Builder
BenchmarkEntry estático
parseDelimitedFrom (entrada InputStream)
BenchmarkEntry estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (datos ByteBuffer)
BenchmarkEntry estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
BenchmarkEntry estático
parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (datos com.google.protobuf.ByteString)
BenchmarkEntry estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BenchmarkEntry.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

público estático final int CPU_TIME_FIELD_NUMBER

Valor constante: 3

public static final int EXTRAS_FIELD_NUMBER

Valor constante: 6

public static final int ITERS_FIELD_NUMBER

Valor constante: 2

público estático final int METRICS_FIELD_NUMBER

Valor constante: 7

public static final int NAME_FIELD_NUMBER

Valor constante: 1

public static final int THROUGHPUT_FIELD_NUMBER

Valor constante: 5

public static final int WALL_TIME_FIELD_NUMBER

Valor constante: 4

Métodos públicos

public boolean containsExtras (clave de cadena)

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

public boolean es igual a (Object obj)

public double getCpuTime ()

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

public static BenchmarkEntry getDefaultInstance ()

public BenchmarkEntry getDefaultInstanceForType ()

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

public Map <String, EntryValue > getExtras ()

Utilice getExtrasMap() lugar.

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 for
 
int64 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 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 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;

público getParserForType ()

public int getSerializedSize ()

public double getThroughput ()

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

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public double getWallTime ()

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

public int hashCode ()

public final boolean isInitialized ()

public static BenchmarkEntry.Builder newBuilder ()

public static BenchmarkEntry.Builder newBuilder (prototipo de BenchmarkEntry )

public BenchmarkEntry.Builder newBuilderForType ()

public static BenchmarkEntry parseDelimitedFrom (entrada InputStream)

Lanza
IOException

public static BenchmarkEntry parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

público estático BenchmarkEntry parseFrom (ByteBuffer datos)

Lanza
InvalidProtocolBufferException

public static BenchmarkEntry parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

public static BenchmarkEntry parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

público estático BenchmarkEntry parseFrom (entrada com.google.protobuf.CodedInputStream)

Lanza
IOException

public static BenchmarkEntry parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

público estático BenchmarkEntry parseFrom (datos de com.google.protobuf.ByteString)

Lanza
InvalidProtocolBufferException

public static BenchmarkEntry parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

public static BenchmarkEntry parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

público estático analizador ()

public BenchmarkEntry.Builder toBuilder ()

public void writeTo (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOException