public static enum TestResults.BenchmarkType extends Enum<TestResults.BenchmarkType> implements com.google.protobuf.ProtocolMessageEnum
The type of benchmark.Protobuf enum
tensorflow.TestResults.BenchmarkType| Enum Constant and Description |
|---|
ANDROID_BENCHMARK
ANDROID_BENCHMARK = 3; |
CPP_MICROBENCHMARK
CPP_MICROBENCHMARK = 1; |
PYTHON_BENCHMARK
PYTHON_BENCHMARK = 2; |
UNKNOWN
Fallback for protos written before Type was introduced.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANDROID_BENCHMARK_VALUE
ANDROID_BENCHMARK = 3; |
static int |
CPP_MICROBENCHMARK_VALUE
CPP_MICROBENCHMARK = 1; |
static int |
PYTHON_BENCHMARK_VALUE
PYTHON_BENCHMARK = 2; |
static int |
UNKNOWN_VALUE
Fallback for protos written before Type was introduced.
|
| Modifier and Type | Method and Description |
|---|---|
static TestResults.BenchmarkType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TestResults.BenchmarkType> |
internalGetValueMap() |
static TestResults.BenchmarkType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestResults.BenchmarkType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TestResults.BenchmarkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestResults.BenchmarkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestResults.BenchmarkType UNKNOWN
Fallback for protos written before Type was introduced.
UNKNOWN = 0;public static final TestResults.BenchmarkType CPP_MICROBENCHMARK
CPP_MICROBENCHMARK = 1;public static final TestResults.BenchmarkType PYTHON_BENCHMARK
PYTHON_BENCHMARK = 2;public static final TestResults.BenchmarkType ANDROID_BENCHMARK
ANDROID_BENCHMARK = 3;public static final TestResults.BenchmarkType UNRECOGNIZED
public static final int UNKNOWN_VALUE
Fallback for protos written before Type was introduced.
UNKNOWN = 0;public static final int CPP_MICROBENCHMARK_VALUE
CPP_MICROBENCHMARK = 1;public static final int PYTHON_BENCHMARK_VALUE
PYTHON_BENCHMARK = 2;public static final int ANDROID_BENCHMARK_VALUE
ANDROID_BENCHMARK = 3;public static TestResults.BenchmarkType[] values()
for (TestResults.BenchmarkType c : TestResults.BenchmarkType.values()) System.out.println(c);
public static TestResults.BenchmarkType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TestResults.BenchmarkType valueOf(int value)
forNumber(int) instead.public static TestResults.BenchmarkType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TestResults.BenchmarkType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TestResults.BenchmarkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015–2019. All rights reserved.