TestResults della classe finale pubblica
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 Classi nidificate
| enum | TestResults.BenchmarkType | The type of benchmark. | |
| classe | TestResults.Builder | The output of one benchmark / test run. | |
Costanti
Metodi pubblici
| booleano | è uguale a (Oggetto oggetto) |
| TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| int | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
| CostruisciConfigurazione | getBuildConfigurazione () 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 impegno | 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; |
| risultati test statici | |
| Risultati del test | |
| com.google.protobuf.Descriptors.Descriptor statico finale | |
| Voci di benchmark | getEntries () The list of tests or benchmarks in this run. |
| BenchmarkEntriesOrBuilder | getEntriesOrBuilder () The list of tests or benchmarks in this run. |
| Configurazione macchina | getConfigurazioneMacchina () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| MachineConfigurationOrBuilder | 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. |
| EseguiConfigurazione | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| EseguiConfigurationOrBuilder | 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. |
| raddoppiare | getRunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
| int | |
| lungo | getStartTime () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
| Corda | getTarget () 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 | getTfVersione () TensorFlow version this benchmark runs against. |
| com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
| finale 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 | haVoci () The list of tests or benchmarks in this run. |
| booleano | hasMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
| booleano | hasRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
| int | codicehash () |
| booleano finale | |
| TestResults.Builder statico | newBuilder (prototipo TestResults ) |
| TestResults.Builder statico | |
| TestResults.Builder | |
| risultati test statici | parseDelimitedFrom (input InputStream) |
| risultati test statici | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| risultati test statici | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| risultati test statici | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
| risultati test statici | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| risultati test statici | parseFrom (dati ByteBuffer) |
| risultati test statici | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
| risultati test statici | parseFrom (dati com.google.protobuf.ByteString) |
| risultati test statici | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| risultati test statici | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
| statico | analizzatore () |
| TestResults.Builder | toBuilder () |
| vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int BENCHMARK_TYPE_FIELD_NUMBER
Valore costante: 10
public static final int BUILD_CONFIGURATION_FIELD_NUMBER
Valore costante: 3
public static final int COMMIT_ID_FIELD_NUMBER
Valore costante: 4
public static final int ENTRIES_FIELD_NUMBER
Valore costante: 2
public static final int MACHINE_CONFIGURATION_FIELD_NUMBER
Valore costante: 7
public static final int NAME_FIELD_NUMBER
Valore costante: 9
public static final int RUN_CONFIGURATION_FIELD_NUMBER
Valore costante: 8
public static final int RUN_MODE_FIELD_NUMBER
Valore costante: 11
public static final int RUN_TIME_FIELD_NUMBER
Valore costante: 6
pubblico statico finale int START_TIME_FIELD_NUMBER
Valore costante: 5
public static final int TARGET_FIELD_NUMBER
Valore costante: 1
public static final int TF_VERSION_FIELD_NUMBER
Valore costante: 12
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
pubblico TestResults.BenchmarkType getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
public int getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
public BuildConfiguration 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; public CommitId getCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; public CommitIdOrBuilder getCommitIdOrBuilder ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public BenchmarkEntries getEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; pubblico 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; pubblico MachineConfigurationOrBuilder getMachineConfigurationOrBuilder ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; stringa pubblica getName ()
Benchmark target identifier.
string name = 9; pubblico com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9; pubblico getParserForType ()
public 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; stringa pubblica 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; pubblico 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; pubblico doppio getRunTime ()
The amount of time the total run took (wall time in seconds)
double run_time = 6; public int getSerializedSize ()
pubblico lungo getStartTime ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5; public String getTarget ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; pubblico com.google.protobuf.ByteString getTargetBytes ()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1; stringa pubblica getTfVersion ()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12; pubblico 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; pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasBuildConfiguration booleano pubblico ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3; hasCommitId booleano pubblico ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4; hasEntries booleane pubbliche ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2; pubblico booleano hasMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7; hasRunConfiguration booleano pubblico ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8; public int hashCode ()
public final booleano isInitialized ()
TestResults statici pubblici parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
TestResults statici pubblici parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
TestResults statici pubblici parseFrom (input com.google.protobuf.CodedInputStream)
Lancia
| IOException |
|---|
TestResults statici pubblici parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
TestResults statici pubblici parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
TestResults statici pubblici parseFrom (dati com.google.protobuf.ByteString)
Lancia
| InvalidProtocolBufferException |
|---|
TestResults statici pubblici parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| IOException |
|---|
TestResults statici pubblici parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
| InvalidProtocolBufferException |
|---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
| IOException |
|---|