публичный финальный класс 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 Вложенные классы
| перечисление | TestResults.BenchmarkType | The type of benchmark. | |
| сорт | TestResults.Builder | The output of one benchmark / test run. | |
Константы
| интервал | BENCHMARK_TYPE_FIELD_NUMBER | |
| интервал | BUILD_CONFIGURATION_FIELD_NUMBER | |
| интервал | COMMIT_ID_FIELD_NUMBER | |
| интервал | ENTRIES_FIELD_NUMBER | |
| интервал | MACHINE_CONFIGURATION_FIELD_NUMBER | |
| интервал | NAME_FIELD_NUMBER | |
| интервал | RUN_CONFIGURATION_FIELD_NUMBER | |
| интервал | RUN_MODE_FIELD_NUMBER | |
| интервал | RUN_TIME_FIELD_NUMBER | |
| интервал | START_TIME_FIELD_NUMBER | |
| интервал | TARGET_FIELD_NUMBER | |
| интервал | TF_VERSION_FIELD_NUMBER |
Публичные методы
| логическое значение | равно (Объект obj) |
| TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| интервал | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| Конфигурация сборки | getBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
| Билдконфигуратионорбилдер | getBuildConfigurationOrBuilder () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
| Ид фиксации | получитьИдКоммита () 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; |
| статические результаты тестирования | |
| Результаты теста | |
| окончательный статический com.google.protobuf.Descriptors.Descriptor | |
| Контрольные записи | getEntries () The list of tests or benchmarks in this run. |
| BenchmarkEntriesOrBuilder | getEntriesOrBuilder () The list of tests or benchmarks in this run. |
| Конфигурация машины | получитьMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Машинная конфигурацияилистроитель | getMachineConfigurationOrBuilder () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Нить | получитьИмя () Benchmark target identifier. |
| com.google.protobuf.ByteString | getNameBytes () Benchmark target identifier. |
| Запустить конфигурацию | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| ЗапуститьConfigurationOrBuilder | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| Нить | getRunMode () Used for differentiating between continuous and debug builds. |
| com.google.protobuf.ByteString | getRunModeBytes () Used for differentiating between continuous and debug builds. |
| двойной | getRunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
| интервал | |
| длинный | getStartTime () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
| Нить | получить цель () 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; |
| Нить | getTfVersion () TensorFlow version this benchmark runs against. |
| com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
| окончательный com.google.protobuf.UnknownFieldSet | |
| логическое значение | имеетБилдКонфигуратион () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
| логическое значение | имеетИдКоммита () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| логическое значение | имеет записи () The list of tests or benchmarks in this run. |
| логическое значение | имеетMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| логическое значение | имеетRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| интервал | хэш-код () |
| последнее логическое значение | |
| статический TestResults.Builder | newBuilder (прототип TestResults ) |
| статический TestResults.Builder | |
| TestResults.Builder | |
| статические результаты тестирования | parseDelimitedFrom (входной поток) |
| статические результаты тестирования | parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статические результаты тестирования | parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статические результаты тестирования | parseFrom (вход com.google.protobuf.CodedInputStream) |
| статические результаты тестирования | parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статические результаты тестирования | parseFrom (данные ByteBuffer) |
| статические результаты тестирования | parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статические результаты тестирования | parseFrom (данные com.google.protobuf.ByteString) |
| статические результаты тестирования | parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статические результаты тестирования | parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический | парсер () |
| TestResults.Builder | toBuilder () |
| пустота | writeTo (вывод com.google.protobuf.CodedOutputStream) |
Унаследованные методы
Константы
общедоступный статический окончательный int BENCHMARK_TYPE_FIELD_NUMBER
Постоянное значение: 10
общедоступный статический окончательный int BUILD_CONFIGURATION_FIELD_NUMBER
Постоянное значение: 3
общедоступный статический окончательный int COMMIT_ID_FIELD_NUMBER
Постоянное значение: 4
общедоступный статический окончательный int ENTRIES_FIELD_NUMBER
Постоянное значение: 2
общедоступный статический окончательный int MACHINE_CONFIGURATION_FIELD_NUMBER
Постоянное значение: 7
общедоступный статический окончательный int NAME_FIELD_NUMBER
Постоянное значение: 9
общедоступный статический окончательный int RUN_CONFIGURATION_FIELD_NUMBER
Постоянное значение: 8
общедоступный статический окончательный int RUN_MODE_FIELD_NUMBER
Постоянное значение: 11
общедоступный статический окончательный int RUN_TIME_FIELD_NUMBER
Постоянное значение: 6
общедоступный статический окончательный int START_TIME_FIELD_NUMBER
Постоянное значение: 5
общедоступный статический окончательный int TARGET_FIELD_NUMBER
Постоянное значение: 1
общедоступный статический окончательный int TF_VERSION_FIELD_NUMBER
Постоянное значение: 12
Публичные методы
общедоступное логическое значение равно (Object obj)
общедоступный TestResults.BenchmarkType getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
public int getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
общедоступная конфигурация сборки getBuildConfiguration ()
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 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; общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public BenchmarkEntries getEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; public BenchmarkEntriesOrBuilder getEntriesOrBuilder ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; public MachineConfiguration 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; общедоступная строка getName ()
Benchmark target identifier.
string name = 9; public com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9; общественный getParserForType ()
общественная RunConfiguration getRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; public RunConfigurationOrBuilder getRunConfigurationOrBuilder ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; публичная строка 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; public 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 ()
The amount of time the total run took (wall time in seconds)
double run_time = 6; public int getSerializedSize ()
публичный длинный getStartTime ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5; публичная строка getTarget ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; public com.google.protobuf.ByteString getTargetBytes ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; публичная строка getTfVersion ()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12; public 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; публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()
общедоступное логическое значение hasBuildConfiguration ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; общедоступное логическое значение hasCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; общедоступное логическое значение hasEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; общедоступное логическое значение hasMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; общедоступное логическое значение hasRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; public int hashCode ()
публичное окончательное логическое значение isInitialized ()
общедоступный статический TestResults parseDelimitedFrom (входной поток InputStream)
Броски
| Исключение IO |
|---|
общедоступный статический TestResults parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
public static TestResults parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический анализ результатов TestResults (вход com.google.protobuf.CodedInputStream)
Броски
| Исключение IO |
|---|
public static TestResults parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический TestResults parseFrom (данные ByteBuffer)
Броски
| Инвалидпротоколбуфферисключение |
|---|
public static TestResults parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
общедоступный статический анализ результатов TestResults (данные com.google.protobuf.ByteString)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический анализ результатов TestResults (входной поток InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
public static TestResults parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общественный статический парсер ()
public void writeTo (вывод com.google.protobuf.CodedOutputStream)
Броски
| Исключение IO |
|---|