BenchmarkEntry

classe final pública BenchmarkEntry

 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 de protobuf tensorflow.BenchmarkEntry

Classes aninhadas

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

Constantes

interno CPU_TIME_FIELD_NUMBER
interno EXTRAS_FIELD_NUMBER
interno ITERS_FIELD_NUMBER
interno METRICS_FIELD_NUMBER
interno NAME_FIELD_NUMBER
interno THROUGHPUT_FIELD_NUMBER
interno WALL_TIME_FIELD_NUMBER

Métodos Públicos

boleano
contémExtras (chave de string)
 Generic map from result key to value.
boleano
é igual (objeto obj)
dobro
getCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
entrada de referência estática
Entrada de referência
final estático com.google.protobuf.Descriptors.Descriptor
Mapa<String, EntryValue >
obterExtras ()
Use getExtrasMap() em vez disso.
interno
getExtrasCount ()
 Generic map from result key to value.
Mapa<String, EntryValue >
getExtrasMap ()
 Generic map from result key to value.
Valor de entrada
getExtrasOrDefault (chave de string, EntryValue defaultValue)
 Generic map from result key to value.
Valor de entrada
getExtrasOrThrow (chave de string)
 Generic map from result key to value.
longo
getIters ()
 If a benchmark, how many iterations it was run for
 
int64 iters = 2;
Entrada Métrica
getMetrics (índice interno)
 Metric name, value and expected range.
interno
getMetricsCount ()
 Metric name, value and expected range.
Lista <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.
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.
interno
dobro
obter taxa de transferência ()
 Throughput (in MB/s)
 
double throughput = 5;
final com.google.protobuf.UnknownFieldSet
dobro
obterWallTime ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
interno
booleano final
BenchmarkEntry.Builder estático
BenchmarkEntry.Builder estático
newBuilder (protótipo BenchmarkEntry )
BenchmarkEntry.Builder
entrada de referência estática
parseDelimitedFrom (entrada InputStream)
entrada de referência estática
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
entrada de referência estática
parseFrom (dados de ByteBuffer)
entrada de referência estática
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
entrada de referência estática
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
entrada de referência estática
parseFrom (entrada com.google.protobuf.CodedInputStream)
entrada de referência estática
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
entrada de referência estática
parseFrom (dados com.google.protobuf.ByteString)
entrada de referência estática
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
entrada de referência estática
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BenchmarkEntry.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int CPU_TIME_FIELD_NUMBER

Valor Constante: 3

público estático final int EXTRAS_FIELD_NUMBER

Valor Constante: 6

público estático final int ITERS_FIELD_NUMBER

Valor Constante: 2

público estático final int METRICS_FIELD_NUMBER

Valor Constante: 7

int final estático público NAME_FIELD_NUMBER

Valor Constante: 1

público estático final int THROUGHPUT_FIELD_NUMBER

Valor Constante: 5

público estático final int WALL_TIME_FIELD_NUMBER

Valor Constante: 4

Métodos Públicos

public boolean contémExtras (chave String)

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

booleano público é igual (Object obj)

getCpuTime duplo público ()

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

público estático BenchmarkEntry getDefaultInstance ()

público BenchmarkEntry getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public Map<String, EntryValue > getExtras ()

Use getExtrasMap() em vez disso.

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 (chave String, EntryValue defaultValue)

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

public EntryValue getExtrasOrThrow (chave de string)

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

getIters longos públicos ()

 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;

público 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;

público 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<? 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;

String pública getNome ()

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

público 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 ()

público int getSerializedSize ()

público duplo getThroughput ()

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

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

getWallTime duplo público ()

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

hashCode int público ()

público final booleano isInitialized ()

público estático BenchmarkEntry.Builder newBuilder ()

público estático BenchmarkEntry.Builder newBuilder (protótipo BenchmarkEntry )

BenchmarkEntry.Builder público newBuilderForType ()

público estático BenchmarkEntry parseDelimitedFrom (entrada InputStream)

Lança
IOException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

público estático BenchmarkEntry parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

BenchmarkEntry.Builder público paraBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException