classe final estática pública 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 de protobuf
tensorflow.BenchmarkEntry
Métodos Públicos
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (índice interno) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Entrada de referência | construir () |
Entrada de referência | |
BenchmarkEntry.Builder | claro () |
BenchmarkEntry.Builder | limparCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | limparExtras () |
BenchmarkEntry.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
BenchmarkEntry.Builder | limparIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | limparMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | limparNome () The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
BenchmarkEntry.Builder | limparThroughput () Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder | limparWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
BenchmarkEntry.Builder | clonar () |
boleano | contémExtras (chave de string) Generic map from result key to value. |
dobro | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
Entrada de referência | |
final estático com.google.protobuf.Descriptors.Descriptor | |
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 | |
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. |
MetricEntry.Builder | getMetricsBuilder (índice interno) Metric name, value and expected range. |
Lista< MetricEntry.Builder > | getMetricsBuilderList () 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. |
Mapa<String, EntryValue > | getMutableExtras () Use acessadores de mutação alternativos. |
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. |
dobro | obter taxa de transferência () Throughput (in MB/s) double throughput = 5; |
dobro | obterWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
booleano final | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message outro) |
BenchmarkEntry.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | removeExtras (chave de string) Generic map from result key to value. |
BenchmarkEntry.Builder | removeMetrics (índice interno) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (valor duplo) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
BenchmarkEntry.Builder | setIters (valor longo) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valor da string) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (valor com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
BenchmarkEntry.Builder | setThroughput (valor duplo) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
BenchmarkEntry.Builder | setWallTime (valor duplo) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Métodos herdados
Métodos Públicos
public BenchmarkEntry.Builder addAllMetrics (Iterable<? estende MetricEntry > valores)
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 BenchmarkEntry.Builder addMetrics (índice 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;
público BenchmarkEntry.Builder addMetrics (índice int, valor 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;
público BenchmarkEntry.Builder addMetrics (valor 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;
público 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;
público MetricEntry.Builder addMetricsBuilder (í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 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, valor do objeto)
público BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
público BenchmarkEntry.Builder clearIters ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
público 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;
público BenchmarkEntry.Builder clearName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
público BenchmarkEntry.Builder clearWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public boolean contémExtras (chave String)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
getCpuTime duplo público ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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 (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 MetricEntry.Builder getMetricsBuilder (í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< 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;
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 duplo getThroughput ()
Throughput (in MB/s)
double throughput = 5;
getWallTime duplo público ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
público final booleano isInitialized ()
public BenchmarkEntry.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > valores)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (chave String, valor EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
público BenchmarkEntry.Builder removeExtras (chave String)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
público BenchmarkEntry.Builder removeMetrics (í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 BenchmarkEntry.Builder setCpuTime (valor duplo)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público BenchmarkEntry.Builder setIters (valor longo)
If a benchmark, how many iterations it was run for
int64 iters = 2;
público BenchmarkEntry.Builder setMetrics (índice 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;
público BenchmarkEntry.Builder setMetrics (índice int, valor 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;
público BenchmarkEntry.Builder setName (valor da string)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
público BenchmarkEntry.Builder setNameBytes (valor 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, índice int, valor do objeto)
público BenchmarkEntry.Builder setThroughput (valor duplo)
Throughput (in MB/s)
double throughput = 5;
público final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público BenchmarkEntry.Builder setWallTime (valor duplo)
Total wall time used for all iterations (in seconds)
double wall_time = 4;
classe final estática pública 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 de protobuf
tensorflow.BenchmarkEntry
Métodos Públicos
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
MetricEntry.Builder | addMetricsBuilder (índice interno) Metric name, value and expected range. |
MetricEntry.Builder | addMetricsBuilder () Metric name, value and expected range. |
BenchmarkEntry.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Entrada de referência | construir () |
Entrada de referência | |
BenchmarkEntry.Builder | claro () |
BenchmarkEntry.Builder | limparCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | limparExtras () |
BenchmarkEntry.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
BenchmarkEntry.Builder | limparIters () If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | limparMetrics () Metric name, value and expected range. |
BenchmarkEntry.Builder | limparNome () The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
BenchmarkEntry.Builder | limparThroughput () Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder | limparWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
BenchmarkEntry.Builder | clonar () |
boleano | contémExtras (chave de string) Generic map from result key to value. |
dobro | getCpuTime () Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
Entrada de referência | |
final estático com.google.protobuf.Descriptors.Descriptor | |
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 | |
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. |
MetricEntry.Builder | getMetricsBuilder (índice interno) Metric name, value and expected range. |
Lista< MetricEntry.Builder > | getMetricsBuilderList () 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. |
Mapa<String, EntryValue > | getMutableExtras () Use acessadores de mutação alternativos. |
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. |
dobro | obter taxa de transferência () Throughput (in MB/s) double throughput = 5; |
dobro | obterWallTime () Total wall time used for all iterations (in seconds) double wall_time = 4; |
booleano final | |
BenchmarkEntry.Builder | mergeFrom (com.google.protobuf.Message outro) |
BenchmarkEntry.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BenchmarkEntry.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | removeExtras (chave de string) Generic map from result key to value. |
BenchmarkEntry.Builder | removeMetrics (índice interno) Metric name, value and expected range. |
BenchmarkEntry.Builder | setCpuTime (valor duplo) Total cpu time used for all iterations (in seconds) double cpu_time = 3; |
BenchmarkEntry.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
BenchmarkEntry.Builder | setIters (valor longo) If a benchmark, how many iterations it was run for int64 iters = 2; |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | |
BenchmarkEntry.Builder | setName (valor da string) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setNameBytes (valor com.google.protobuf.ByteString) The name of the specific benchmark or test (e.g. |
BenchmarkEntry.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
BenchmarkEntry.Builder | setThroughput (valor duplo) Throughput (in MB/s) double throughput = 5; |
BenchmarkEntry.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
BenchmarkEntry.Builder | setWallTime (valor duplo) Total wall time used for all iterations (in seconds) double wall_time = 4; |
Métodos herdados
Métodos Públicos
public BenchmarkEntry.Builder addAllMetrics (Iterable<? estende MetricEntry > valores)
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 BenchmarkEntry.Builder addMetrics (índice 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;
público BenchmarkEntry.Builder addMetrics (índice int, valor 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;
público BenchmarkEntry.Builder addMetrics (valor 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;
público 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;
público MetricEntry.Builder addMetricsBuilder (í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 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, valor do objeto)
público BenchmarkEntry.Builder clearCpuTime ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
público BenchmarkEntry.Builder clearIters ()
If a benchmark, how many iterations it was run for
int64 iters = 2;
público 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;
público BenchmarkEntry.Builder clearName ()
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
público BenchmarkEntry.Builder clearWallTime ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
public boolean contémExtras (chave String)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
getCpuTime duplo público ()
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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 (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 MetricEntry.Builder getMetricsBuilder (í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< 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;
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 duplo getThroughput ()
Throughput (in MB/s)
double throughput = 5;
getWallTime duplo público ()
Total wall time used for all iterations (in seconds)
double wall_time = 4;
público final booleano isInitialized ()
public BenchmarkEntry.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final BenchmarkEntry.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public BenchmarkEntry.Builder putAllExtras (Map<String, EntryValue > valores)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
public BenchmarkEntry.Builder putExtras (chave String, valor EntryValue )
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
público BenchmarkEntry.Builder removeExtras (chave String)
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6;
público BenchmarkEntry.Builder removeMetrics (í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 BenchmarkEntry.Builder setCpuTime (valor duplo)
Total cpu time used for all iterations (in seconds)
double cpu_time = 3;
public BenchmarkEntry.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público BenchmarkEntry.Builder setIters (valor longo)
If a benchmark, how many iterations it was run for
int64 iters = 2;
público BenchmarkEntry.Builder setMetrics (índice 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;
público BenchmarkEntry.Builder setMetrics (índice int, valor 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;
público BenchmarkEntry.Builder setName (valor da string)
The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;
público BenchmarkEntry.Builder setNameBytes (valor 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, índice int, valor do objeto)
público BenchmarkEntry.Builder setThroughput (valor duplo)
Throughput (in MB/s)
double throughput = 5;
público final BenchmarkEntry.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público BenchmarkEntry.Builder setWallTime (valor duplo)
Total wall time used for all iterations (in seconds)
double wall_time = 4;