Classe finale publique 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
de type Protobuf.TestResults Classes imbriquées
énumération | TestResults.BenchmarkType | The type of benchmark. | |
classe | TestResults.Builder | The output of one benchmark / test run. |
Constantes
Méthodes publiques
booléen | est égal (Obj objet) |
TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
int | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
ConstruireConfiguration | 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 de validation | 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; |
Résultats de test statiques | |
Résultats des tests | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Entrées de référence | getEntries () The list of tests or benchmarks in this run. |
BenchmarkEntriesOrBuilder | getEntriesOrBuilder () The list of tests or benchmarks in this run. |
Configuration de la machine | getMachineConfiguration () 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; |
Chaîne | obtenirNom () Benchmark target identifier. |
com.google.protobuf.ByteString | getNameBytes () Benchmark target identifier. |
Exécuter la configuration | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
ExécuterConfigurationOrBuilder | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
Chaîne | getRunMode () Used for differentiating between continuous and debug builds. |
com.google.protobuf.ByteString | getRunModeBytes () Used for differentiating between continuous and debug builds. |
double | getRunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
int | |
long | getStartTime () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
Chaîne | obtenirCible () 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; |
Chaîne | getTfVersion () TensorFlow version this benchmark runs against. |
com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
final com.google.protobuf.UnknownFieldSet | |
booléen | hasBuildConfiguration () The configuration of the build (compiled opt? with cuda? any copts?) .tensorflow.BuildConfiguration build_configuration = 3; |
booléen | hasCommitId () The commit id (git hash or changelist) .tensorflow.CommitId commit_id = 4; |
booléen | hasEntries () The list of tests or benchmarks in this run. |
booléen | hasMachineConfiguration () Machine-specific parameters (Platform and CPU info) .tensorflow.MachineConfiguration machine_configuration = 7; |
booléen | hasRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
int | |
booléen final | |
TestResults.Builder statique | newBuilder (prototype TestResults ) |
TestResults.Builder statique | |
TestResults.Builder | |
Résultats de test statiques | parseDelimitedFrom (entrée InputStream) |
Résultats de test statiques | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Résultats de test statiques | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Résultats de test statiques | parseFrom (entrée com.google.protobuf.CodedInputStream) |
Résultats de test statiques | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Résultats de test statiques | parseFrom (données ByteBuffer) |
Résultats de test statiques | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Résultats de test statiques | parseFrom (données com.google.protobuf.ByteString) |
Résultats de test statiques | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Résultats de test statiques | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
TestResults.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int BENCHMARK_TYPE_FIELD_NUMBER
Valeur constante : 10
public statique final int BUILD_CONFIGURATION_FIELD_NUMBER
Valeur constante : 3
public statique final int COMMIT_ID_FIELD_NUMBER
Valeur constante : 4
public statique final int ENTRIES_FIELD_NUMBER
Valeur constante : 2
public statique final int MACHINE_CONFIGURATION_FIELD_NUMBER
Valeur constante : 7
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 9
public statique final int RUN_CONFIGURATION_FIELD_NUMBER
Valeur constante : 8
public statique final int RUN_MODE_FIELD_NUMBER
Valeur constante : 11
public statique final int RUN_TIME_FIELD_NUMBER
Valeur constante : 6
public statique final entier START_TIME_FIELD_NUMBER
Valeur constante : 5
public statique final entier TARGET_FIELD_NUMBER
Valeur constante : 1
public statique final int TF_VERSION_FIELD_NUMBER
Valeur constante : 12
Méthodes publiques
public booléen égal (Objet obj)
public 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 statique final 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;
chaîne publique getName ()
Benchmark target identifier.
string name = 9;
public com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9;
publique 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;
chaîne publique 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;
public double getRunTime ()
The amount of time the total run took (wall time in seconds)
double run_time = 6;
public int getSerializedSize ()
public long getStartTime ()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5;
chaîne publique 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;
chaîne publique 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen hasBuildConfiguration ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
public booléen hasCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
public booléen hasEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
public booléen hasMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
public booléen hasRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
code de hachage int public ()
public final booléen isInitialized ()
public static TestResults parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static TestResults parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TestResults parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static TestResults parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TestResults parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
parseFrom TestResults statique public (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static TestResults parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique TestResults parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|