Hasil Tes kelas akhir publik
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 Kelas Bersarang
| enum | Hasil Tes.Tipe Benchmark | The type of benchmark. | |
| kelas | Hasil Tes.Pembangun | The output of one benchmark / test run. | |
Konstanta
| ke dalam | BENCHMARK_TYPE_FIELD_NUMBER | |
| ke dalam | BUILD_CONFIGURATION_FIELD_NUMBER | |
| ke dalam | COMMIT_ID_FIELD_NUMBER | |
| ke dalam | ENTRIES_FIELD_NUMBER | |
| ke dalam | MACHINE_CONFIGURATION_FIELD_NUMBER | |
| ke dalam | NAME_FIELD_NUMBER | |
| ke dalam | RUN_CONFIGURATION_FIELD_NUMBER | |
| ke dalam | RUN_MODE_FIELD_NUMBER | |
| ke dalam | RUN_TIME_FIELD_NUMBER | |
| ke dalam | START_TIME_FIELD_NUMBER | |
| ke dalam | TARGET_FIELD_NUMBER | |
| ke dalam | TF_VERSION_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| Hasil Tes.Tipe Benchmark | dapatkanJenis Benchmark () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| ke dalam | dapatkanBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| Konfigurasi Bangun | dapatkanBuildConfiguration () 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 Komit | dapatkanCommitId () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| CommitIdOrBuilder | dapatkanCommitIdOrBuilder () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| Hasil Tes statis | |
| Hasil Tes | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| Entri Tolok Ukur | dapatkan Entri () The list of tests or benchmarks in this run. |
| BenchmarkEntriesOrBuilder | dapatkanEntriesOrBuilder () The list of tests or benchmarks in this run. |
| Konfigurasi Mesin | dapatkan Konfigurasi Mesin () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Konfigurasi MesinOrBuilder | dapatkanMachineConfigurationOrBuilder () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| Rangkaian | dapatkan Nama () Benchmark target identifier. |
| com.google.protobuf.ByteString | dapatkanNamaBytes () Benchmark target identifier. |
| Jalankan Konfigurasi | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| JalankanConfigurationOrBuilder | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| Rangkaian | dapatkanRunMode () Used for differentiating between continuous and debug builds. |
| com.google.protobuf.ByteString | dapatkanRunModeBytes () Used for differentiating between continuous and debug builds. |
| dobel | dapatkan RunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
| ke dalam | |
| panjang | dapatkan Waktu Mulai () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
| Rangkaian | dapatkan Target () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
| com.google.protobuf.ByteString | dapatkanTargetBytes () The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test string target = 1; |
| Rangkaian | dapatkan Versi Tf () TensorFlow version this benchmark runs against. |
| com.google.protobuf.ByteString | dapatkanTfVersionBytes () TensorFlow version this benchmark runs against. |
| final com.google.protobuf.UnknownFieldSet | |
| boolean | hasBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
| boolean | hasCommitId () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
| boolean | memilikiEntri () The list of tests or benchmarks in this run. |
| boolean | hasMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| boolean | hasRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| ke dalam | Kode hash () |
| boolean terakhir | |
| Hasil Tes statis.Builder | newBuilder (prototipe Hasil Tes ) |
| Hasil Tes statis.Builder | |
| Hasil Tes.Pembangun | |
| Hasil Tes statis | parseDelimitedFrom (masukan Aliran Masukan) |
| Hasil Tes statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Hasil Tes statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Hasil Tes statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| Hasil Tes statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Hasil Tes statis | parseFrom (data ByteBuffer) |
| Hasil Tes statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Hasil Tes statis | parseFrom (com.google.protobuf.ByteString data) |
| Hasil Tes statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Hasil Tes statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| Hasil Tes.Pembangun | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik BENCHMARK_TYPE_FIELD_NUMBER
Nilai Konstan: 10
int final statis publik BUILD_CONFIGURATION_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik COMMIT_ID_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik ENTRIES_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik MACHINE_CONFIGURATION_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik NAME_FIELD_NUMBER
Nilai Konstan: 9
int final statis publik RUN_CONFIGURATION_FIELD_NUMBER
Nilai Konstan: 8
int final statis publik RUN_MODE_FIELD_NUMBER
Nilai Konstan: 11
int akhir statis publik RUN_TIME_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik START_TIME_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik TARGET_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik TF_VERSION_FIELD_NUMBER
Nilai Konstan: 12
Metode Publik
boolean publik sama (Obj objek)
Hasil Tes publik.BenchmarkType getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
publik int getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
BuildConfiguration publik getBuildConfiguration ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; BuildConfigurationOrBuilder publik getBuildConfigurationOrBuilder ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; CommitId publik getCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; CommitIdOrBuilder publik getCommitIdOrBuilder ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
BenchmarkEntries publik getEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; BenchmarkEntriesOrBuilder publik getEntriesOrBuilder ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; Konfigurasi Mesin publik getMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; MachineConfigurationOrBuilder publik getMachineConfigurationOrBuilder ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; GetName String publik ()
Benchmark target identifier.
string name = 9; publik com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9; publik dapatkanParserForType ()
RunConfiguration publik getRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; RunConfigurationOrBuilder publik getRunConfigurationOrBuilder ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; String publik 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; publik 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 ganda publik ()
The amount of time the total run took (wall time in seconds)
double run_time = 6; publik int getSerializedSize ()
getStartTime panjang publik ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5; GetTarget String publik ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; com.google.protobuf.ByteString publik getTargetBytes ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; String publik getTfVersion ()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12; publik 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; public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasBuildConfiguration ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; boolean publik hasCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; hasEntries boolean publik ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; boolean publik hasMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; boolean publik hasRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; kode hash int publik ()
boolean akhir publik diinisialisasi ()
Hasil Tes statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom Hasil Tes statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom TestResults statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
| Pengecualian IO |
|---|
Hasil Tes statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom Hasil Tes statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom Hasil Tes statis publik (com.google.protobuf.ByteString data)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
parseFrom Hasil Tes statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom Hasil Tes statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
| Pengecualian IO |
|---|