public static enum AutoMlImageSegmentationInputs.ModelType extends Enum<AutoMlImageSegmentationInputs.ModelType> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.ModelType| Enum Constant and Description |
|---|
CLOUD_HIGH_ACCURACY_1
A model to be used via prediction calls to uCAIP API.
|
CLOUD_LOW_ACCURACY_1
A model to be used via prediction calls to uCAIP API.
|
MOBILE_TF_LOW_LATENCY_1
A model that, in addition to being available within Google
Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow
model and used on a mobile or edge device afterwards.
|
MODEL_TYPE_UNSPECIFIED
Should not be set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_HIGH_ACCURACY_1_VALUE
A model to be used via prediction calls to uCAIP API.
|
static int |
CLOUD_LOW_ACCURACY_1_VALUE
A model to be used via prediction calls to uCAIP API.
|
static int |
MOBILE_TF_LOW_LATENCY_1_VALUE
A model that, in addition to being available within Google
Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow
model and used on a mobile or edge device afterwards.
|
static int |
MODEL_TYPE_UNSPECIFIED_VALUE
Should not be set.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoMlImageSegmentationInputs.ModelType |
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<AutoMlImageSegmentationInputs.ModelType> |
internalGetValueMap() |
static AutoMlImageSegmentationInputs.ModelType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AutoMlImageSegmentationInputs.ModelType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AutoMlImageSegmentationInputs.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoMlImageSegmentationInputs.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoMlImageSegmentationInputs.ModelType MODEL_TYPE_UNSPECIFIED
Should not be set.
MODEL_TYPE_UNSPECIFIED = 0;public static final AutoMlImageSegmentationInputs.ModelType CLOUD_HIGH_ACCURACY_1
A model to be used via prediction calls to uCAIP API. Expected to have a higher latency, but should also have a higher prediction quality than other models.
CLOUD_HIGH_ACCURACY_1 = 1;public static final AutoMlImageSegmentationInputs.ModelType CLOUD_LOW_ACCURACY_1
A model to be used via prediction calls to uCAIP API. Expected to have a lower latency but relatively lower prediction quality.
CLOUD_LOW_ACCURACY_1 = 2;public static final AutoMlImageSegmentationInputs.ModelType MOBILE_TF_LOW_LATENCY_1
A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow model and used on a mobile or edge device afterwards. Expected to have low latency, but may have lower prediction quality than other mobile models.
MOBILE_TF_LOW_LATENCY_1 = 3;public static final AutoMlImageSegmentationInputs.ModelType UNRECOGNIZED
public static final int MODEL_TYPE_UNSPECIFIED_VALUE
Should not be set.
MODEL_TYPE_UNSPECIFIED = 0;public static final int CLOUD_HIGH_ACCURACY_1_VALUE
A model to be used via prediction calls to uCAIP API. Expected to have a higher latency, but should also have a higher prediction quality than other models.
CLOUD_HIGH_ACCURACY_1 = 1;public static final int CLOUD_LOW_ACCURACY_1_VALUE
A model to be used via prediction calls to uCAIP API. Expected to have a lower latency but relatively lower prediction quality.
CLOUD_LOW_ACCURACY_1 = 2;public static final int MOBILE_TF_LOW_LATENCY_1_VALUE
A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow model and used on a mobile or edge device afterwards. Expected to have low latency, but may have lower prediction quality than other mobile models.
MOBILE_TF_LOW_LATENCY_1 = 3;public static AutoMlImageSegmentationInputs.ModelType[] values()
for (AutoMlImageSegmentationInputs.ModelType c : AutoMlImageSegmentationInputs.ModelType.values()) System.out.println(c);
public static AutoMlImageSegmentationInputs.ModelType 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 AutoMlImageSegmentationInputs.ModelType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AutoMlImageSegmentationInputs.ModelType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AutoMlImageSegmentationInputs.ModelType> 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 AutoMlImageSegmentationInputs.ModelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.