TestResults de clase final pública
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.tipo
tensorflow.TestResults
Clases anidadas
enumeración | TestResults.BenchmarkType | The type of benchmark. | |
clase | TestResults.Builder | The output of one benchmark / test run. |
Constantes
Métodos públicos
booleano | es igual a (Objeto obj) |
TestResults.BenchmarkType | getBenchmarkType () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
En t | getBenchmarkTypeValue () .tensorflow.TestResults.BenchmarkType benchmark_type = 10; |
BuildConfiguration | 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; |
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; |
TestResults estáticos | |
Resultados de la prueba | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Entradas de referencia | getEntries () 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 | 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; |
Cuerda | getName () Benchmark target identifier. |
com.google.protobuf.ByteString | getNameBytes () Benchmark target identifier. |
RunConfiguration | getRunConfiguration () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
RunConfigurationOrBuilder | getRunConfigurationOrBuilder () Run-specific parameters (arguments, etc) .tensorflow.RunConfiguration run_configuration = 8; |
Cuerda | getRunMode () Used for differentiating between continuous and debug builds. |
com.google.protobuf.ByteString | getRunModeBytes () Used for differentiating between continuous and debug builds. |
doble | getRunTime () The amount of time the total run took (wall time in seconds) double run_time = 6; |
En t | |
largo | getStartTime () The time the run started (in seconds of UTC time since Unix epoch) int64 start_time = 5; |
Cuerda | 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; |
Cuerda | getTfVersion () TensorFlow version this benchmark runs against. |
com.google.protobuf.ByteString | getTfVersionBytes () TensorFlow version this benchmark runs against. |
final 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 | hasEntries () 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; |
En t | hashCode () |
booleano final | |
static TestResults.Builder | newBuilder (prototipo TestResults ) |
static TestResults.Builder | newBuilder () |
TestResults.Builder | |
TestResults estáticos | parseDelimitedFrom (entrada InputStream) |
TestResults estáticos | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestResults estáticos | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestResults estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream) |
TestResults estáticos | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestResults estáticos | parseFrom (datos ByteBuffer) |
TestResults estáticos | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestResults estáticos | parseFrom (datos com.google.protobuf.ByteString) |
TestResults estáticos | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestResults estáticos | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
TestResults.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int BENCHMARK_TYPE_FIELD_NUMBER
Valor constante: 10
public static final int BUILD_CONFIGURATION_FIELD_NUMBER
Valor constante: 3
público estático final int COMMIT_ID_FIELD_NUMBER
Valor constante: 4
public static final int ENTRIES_FIELD_NUMBER
Valor constante: 2
public static final int MACHINE_CONFIGURATION_FIELD_NUMBER
Valor constante: 7
public static final int NAME_FIELD_NUMBER
Valor constante: 9
public static final int RUN_CONFIGURATION_FIELD_NUMBER
Valor constante: 8
public static final int RUN_MODE_FIELD_NUMBER
Valor constante: 11
public static final int RUN_TIME_FIELD_NUMBER
Valor constante: 6
public static final int START_TIME_FIELD_NUMBER
Valor constante: 5
public static final int TARGET_FIELD_NUMBER
Valor constante: 1
público estático final int TF_VERSION_FIELD_NUMBER
Valor constante: 12
Métodos públicos
public boolean es igual a (Object 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;
público estático 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;
public String getName ()
Benchmark target identifier.
string name = 9;
public com.google.protobuf.ByteString getNameBytes ()
Benchmark target identifier.
string name = 9;
público 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;
public String 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;
public String 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;
public String 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 boolean hasBuildConfiguration ()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
public boolean hasCommitId ()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
public boolean hasEntries ()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
public boolean hasMachineConfiguration ()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
public boolean hasRunConfiguration ()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
public int hashCode ()
public final boolean isInitialized ()
public static TestResults parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
Public static TestResults parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
TestResults estático público parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
TestResults estáticos públicos parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
TestResults estáticos públicos parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
TestResults estáticos públicos parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
Public static TestResults parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
TestResults estáticos públicos parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|