Clase 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 Clases anidadas
| enumeración | TestResults.BenchmarkType | The type of benchmark. | |
| clase | Resultadosdeprueba.Constructor | The output of one benchmark / test run. | |
Constantes
| entero | BENCHMARK_TYPE_FIELD_NUMBER | |
| entero | BUILD_CONFIGURATION_FIELD_NUMBER | |
| entero | COMMIT_ID_FIELD_NUMBER | |
| entero | ENTRIES_FIELD_NUMBER | |
| entero | MACHINE_CONFIGURATION_FIELD_NUMBER | |
| entero | NOMBRE_CAMPO_NÚMERO | |
| entero | RUN_CONFIGURATION_FIELD_NUMBER | |
| entero | RUN_MODE_FIELD_NUMBER | |
| entero | RUN_TIME_FIELD_NUMBER | |
| entero | START_TIME_FIELD_NUMBER | |
| entero | TARGET_FIELD_NUMBER | |
| entero | TF_VERSION_FIELD_NUMBER |
Métodos públicos
| booleano | es igual (Objeto obj) |
| TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| entero | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| Configuración de compilación | getConfiguración de compilación () 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. de confirmación | obtenerIdCommit () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| ConfirmarIdOrBuilder | getCommitIdOrBuilder () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| Resultados de prueba estáticos | |
| Resultados de la prueba | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Entradas de referencia | obtener entradas () The list of tests or benchmarks in this run. |
| BenchmarkEntriesOrBuilder | getEntriesOrBuilder () The list of tests or benchmarks in this run. |
| Configuración de la máquina | obtener configuración de máquina () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Configuración de máquina o constructor | getMachineConfigurationOrBuilder () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Cadena | obtenerNombre () Benchmark target identifier. |
| com.google.protobuf.ByteString | getNombreBytes () Benchmark target identifier. |
| Ejecutar configuración | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| Ejecutar configuración o constructor | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| Cadena | obtener modo de ejecución () Used for differentiating between continuous and debug builds. |
| com.google.protobuf.ByteString | getRunModeBytes () Used for differentiating between continuous and debug builds. |
| doble | obtener tiempo de ejecución () The amount of time the total run took (wall time in seconds) double run_time = 6; |
| entero | |
| largo | obtener hora de inicio () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
| Cadena | obtenerObjetivo () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
| com.google.protobuf.ByteString | obtenerBytesDestino () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
| Cadena | getTfVersion () TensorFlow version this benchmark runs against. |
| com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
| com.google.protobuf.UnknownFieldSet final | |
| booleano | tieneBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
| booleano | tieneIdCommit () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| booleano | tieneEntradas () The list of tests or benchmarks in this run. |
| booleano | tieneMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| booleano | hasRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| entero | código hash () |
| booleano final | |
| Resultados de prueba estáticos.Builder | newBuilder (prototipo TestResults ) |
| Resultados de prueba estáticos.Builder | |
| Resultadosdeprueba.Constructor | |
| Resultados de prueba estáticos | parseDelimitedFrom (entrada de InputStream) |
| Resultados de prueba estáticos | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Resultados de prueba estáticos | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Resultados de prueba estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| Resultados de prueba estáticos | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Resultados de prueba estáticos | parseFrom (datos de ByteBuffer) |
| Resultados de prueba estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| Resultados de prueba estáticos | parseFrom (datos com.google.protobuf.ByteString) |
| Resultados de prueba estáticos | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Resultados de prueba estáticos | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| estático | analizador () |
| Resultadosdeprueba.Constructor | |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público BENCHMARK_TYPE_FIELD_NUMBER
Valor constante: 10
int final estático público BUILD_CONFIGURATION_FIELD_NUMBER
Valor constante: 3
int final estático público COMMIT_ID_FIELD_NUMBER
Valor constante: 4
int final estático público ENTRIES_FIELD_NUMBER
Valor constante: 2
int final estático público MACHINE_CONFIGURATION_FIELD_NUMBER
Valor constante: 7
público estático final int NAME_FIELD_NUMBER
Valor constante: 9
int final estático público RUN_CONFIGURATION_FIELD_NUMBER
Valor constante: 8
int final estático público RUN_MODE_FIELD_NUMBER
Valor constante: 11
int final estático público 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
int final estático público TF_VERSION_FIELD_NUMBER
Valor constante: 12
Métodos públicos
público booleano es igual (Objeto obj)
público TestResults.BenchmarkType getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
público int getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
getBuildConfiguration pública BuildConfiguration ( )
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; público BuildConfigurationOrBuilder getBuildConfigurationOrBuilder ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; ID de compromiso público getId de compromiso ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; público CommitIdOrBuilder getCommitIdOrBuilder ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
entradas de referencia públicas 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; Configuración de máquina pública getMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; público MachineConfigurationOrBuilder getMachineConfigurationOrBuilder ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; cadena pública getName ()
Benchmark target identifier.
string name = 9; público com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9; público getParserForType ()
configuración de ejecución pública getRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; público RunConfigurationOrBuilder getRunConfigurationOrBuilder ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; cadena 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; público doble getRunTime ()
The amount of time the total run took (wall time in seconds)
double run_time = 6; público int getSerializedSize ()
público largo getStartTime ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5; cadena 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; cadena 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; público final 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; código hash int público ()
público final booleano isInitialized ()
TestResults estáticos públicos parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ParseFrom público estático de TestResults (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ParseFrom público estático de TestResults (entrada de com.google.protobuf.CodedInputStream)
Lanza
| IOExcepción |
|---|
análisis estático público de TestResultsFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
ParseFrom público estático de TestResults (datos de ByteBuffer)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
análisis estático público de TestResultsFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
ParseFrom público estático de TestResults (datos com.google.protobuf.ByteString)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
análisis estático público de TestResultsFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOExcepción |
|---|
análisis estático público de TestResultsFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| Excepción de buffer de protocolo no válido |
|---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOExcepción |
|---|