classe final pública TestResults
The output of one benchmark / test run. Each run contains a list of tests or benchmarks, stored as BenchmarkEntry messages. This message should be emitted by the reporter (which runs the test / BM in a subprocess and then reads the emitted BenchmarkEntry messages; usually from a serialized json file, finally collecting them along with additional information about the test run.
tensorflow.TestResults
Classes aninhadas
enumeração | TestResults.BenchmarkType | The type of benchmark. | |
aula | TestResults.Builder | The output of one benchmark / test run. |
Constantes
interno | BENCHMARK_TYPE_FIELD_NUMBER | |
interno | BUILD_CONFIGURATION_FIELD_NUMBER | |
interno | COMMIT_ID_FIELD_NUMBER | |
interno | ENTRIES_FIELD_NUMBER | |
interno | MACHINE_CONFIGURATION_FIELD_NUMBER | |
interno | NAME_FIELD_NUMBER | |
interno | RUN_CONFIGURATION_FIELD_NUMBER | |
interno | RUN_MODE_FIELD_NUMBER | |
interno | RUN_TIME_FIELD_NUMBER | |
interno | START_TIME_FIELD_NUMBER | |
interno | TARGET_FIELD_NUMBER | |
interno | TF_VERSION_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
interno | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
Configuração de compilação | getBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
BuildConfigurationOrBuilder | getBuildConfigurationOrBuilder () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
ID do commit | getCommitID () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
CommitIdOrBuilder | getCommitIdOrBuilder () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
resultados de testes estáticos | |
Resultados dos testes | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Entradas de referência | getEntradas () The list of tests or benchmarks in this run. |
BenchmarkEntriesOrBuilder | getEntriesOrBuilder () The list of tests or benchmarks in this run. |
Configuração da Máquina | getMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
MáquinaConfiguraçãoOrBuilder | getMachineConfigurationOrBuilder () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
Corda | getNome () Benchmark target identifier. |
com.google.protobuf.ByteString | getNomeBytes () Benchmark target identifier. |
Executar configuração | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
RunConfigurationOrBuilder | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
Corda | getRunMode () Used for differentiating between continuous and debug builds. |
com.google.protobuf.ByteString | getRunModeBytes () Used for differentiating between continuous and debug builds. |
dobro | getRunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
interno | |
longo | getStartTime () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
Corda | obterTarget () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
com.google.protobuf.ByteString | getTargetBytes () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
Corda | getTfVersion () TensorFlow version this benchmark runs against. |
com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
final com.google.protobuf.UnknownFieldSet | |
booleano | hasBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
booleano | hasCommitID () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
booleano | hasEntradas () The list of tests or benchmarks in this run. |
booleano | hasMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
booleano | hasRunConfiguração () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
interno | código hash () |
booleano final | |
TestResults.Builder estático | newBuilder (protótipo TestResults ) |
TestResults.Builder estático | |
TestResults.Builder | |
resultados de testes estáticos | parseDelimitedFrom (entrada InputStream) |
resultados de testes estáticos | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
resultados de testes estáticos | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
resultados de testes estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream) |
resultados de testes estáticos | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
resultados de testes estáticos | parseFrom (dados de ByteBuffer) |
resultados de testes estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
resultados de testes estáticos | parseFrom (dados com.google.protobuf.ByteString) |
resultados de testes estáticos | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
resultados de testes estáticos | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
TestResults.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int BENCHMARK_TYPE_FIELD_NUMBER
Valor Constante: 10
público estático final int BUILD_CONFIGURATION_FIELD_NUMBER
Valor Constante: 3
público estático final int COMMIT_ID_FIELD_NUMBER
Valor Constante: 4
público estático final int ENTRIES_FIELD_NUMBER
Valor Constante: 2
público estático final int MACHINE_CONFIGURATION_FIELD_NUMBER
Valor Constante: 7
int final estático público NAME_FIELD_NUMBER
Valor Constante: 9
público estático final int RUN_CONFIGURATION_FIELD_NUMBER
Valor Constante: 8
público estático final int RUN_MODE_FIELD_NUMBER
Valor Constante: 11
público estático final int RUN_TIME_FIELD_NUMBER
Valor Constante: 6
int final estático público START_TIME_FIELD_NUMBER
Valor Constante: 5
int final estático público TARGET_FIELD_NUMBER
Valor Constante: 1
público estático final int TF_VERSION_FIELD_NUMBER
Valor Constante: 12
Métodos Públicos
booleano público é igual (Object obj)
público TestResults.BenchmarkType getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
público int getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
public BuildConfigurationgetBuildConfiguration ( )
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
public BuildConfigurationOrBuilder getBuildConfigurationOrBuilder ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
CommitId público getCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
public CommitIdOrBuildergetCommitIdOrBuilder ( )
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public BenchmarkEntries getEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
público BenchmarkEntriesOrBuilder getEntriesOrBuilder ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
configuração de máquina pública getMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
public MachineConfigurationOrBuilder getMachineConfigurationOrBuilder ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
String pública getNome ()
Benchmark target identifier.
string name = 9;
público com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9;
público getParserForType ()
runConfiguration pública getRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
public RunConfigurationOrBuilder getRunConfigurationOrBuilder ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
String pública getRunMode ()
Used for differentiating between continuous and debug builds. Must be one of: * cbuild: results from continuous build. * presubmit: results from oneshot requests. * culprit: results from culprit finder rerun.
string run_mode = 11;
público com.google.protobuf.ByteString getRunModeBytes ()
Used for differentiating between continuous and debug builds. Must be one of: * cbuild: results from continuous build. * presubmit: results from oneshot requests. * culprit: results from culprit finder rerun.
string run_mode = 11;
getRunTime duplo público ()
The amount of time the total run took (wall time in seconds)
double run_time = 6;
público int getSerializedSize ()
getStartTime longo público ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5;
String pública getTarget ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1;
público com.google.protobuf.ByteString getTargetBytes ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1;
String pública getTfVersion ()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12;
público com.google.protobuf.ByteString getTfVersionBytes ()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12;
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasBuildConfiguration booleano público ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
hasCommitId booleano público ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
hasEntries booleano público ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
hasMachineConfiguration booleano público ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
hasRunConfiguration booleano público ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
hashCode int público ()
público final booleano isInitialized ()
public static TestResults parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TestResults parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
testResults estático público parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static TestResults parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static TestResults parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
parseFrom de TestResults estático público (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static TestResults parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static TestResults parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|