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.
 
tensorflow.BenchmarkEntry tipo tensorflow.BenchmarkEntry

Classes aninhadas

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

Constantes

intCPU_TIME_FIELD_NUMBER
int EXTRAS_FIELD_NUMBER
int ITERS_FIELD_NUMBER
int METRICS_FIELD_NUMBER
int NAME_FIELD_NUMBER
int THROUGHPUT_FIELD_NUMBER
int WALL_TIME_FIELD_NUMBER

Métodos Públicos

boleano
containsExtras (chave String)
 Generic map from result key to value.
boleano
igual a (objeto obj)
Duplo
getCpuTime ()
 Total cpu time used for all iterations (in seconds)
 
double cpu_time = 3;
estático BenchmarkEntry
BenchmarkEntry
final static 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.
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.
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.
int
Duplo
getThroughput ()
 Throughput (in MB/s)
 
double throughput = 5;
final com.google.protobuf.UnknownFieldSet
Duplo
getWallTime ()
 Total wall time used for all iterations (in seconds)
 
double wall_time = 4;
int
final booleano
static BenchmarkEntry.Builder
static BenchmarkEntry.Builder
newBuilder (protótipo BenchmarkEntry )
BenchmarkEntry.Builder
estático BenchmarkEntry
parseDelimitedFrom (InputStream input)
estático BenchmarkEntry
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (dados ByteBuffer)
BenchmarkEntry estático
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BenchmarkEntry estático
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático BenchmarkEntry
parseFrom (com.google.protobuf.CodedInputStream input)
estático BenchmarkEntry
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático BenchmarkEntry
parseFrom (com.google.protobuf.ByteString data)
estático BenchmarkEntry
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático BenchmarkEntry
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BenchmarkEntry.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static 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

public static 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 (String key)

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

public boolean equals (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 ()

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 (int index)

 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 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 (protótipo BenchmarkEntry )

public BenchmarkEntry.Builder newBuilderForType ()

public static BenchmarkEntry parseDelimitedFrom (InputStream input)

Lança
IOException

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

Lança
IOException

public static BenchmarkEntry parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

public static BenchmarkEntry parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

estática pública analisador ()

public BenchmarkEntry.Builder toBuilder ()

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

Lança
IOException