Class ModelType (1.50.0)

ModelType(value)

Enum values:

MODEL_TYPE_UNSPECIFIED (0):
    Should not be set.
CLOUD_HIGH_ACCURACY_1 (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_LOW_ACCURACY_1 (2):
    A model to be used via prediction calls to
    uCAIP API. Expected to have a lower latency but
    relatively lower prediction quality.
MOBILE_TF_LOW_LATENCY_1 (3):
    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.

Methods

ModelType

ModelType(value)

Enum values:

MODEL_TYPE_UNSPECIFIED (0):
    Should not be set.
CLOUD_HIGH_ACCURACY_1 (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_LOW_ACCURACY_1 (2):
    A model to be used via prediction calls to
    uCAIP API. Expected to have a lower latency but
    relatively lower prediction quality.
MOBILE_TF_LOW_LATENCY_1 (3):
    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.

ModelType

ModelType(value)

Enum values:

MODEL_TYPE_UNSPECIFIED (0):
    Should not be set.
CLOUD_HIGH_ACCURACY_1 (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_LOW_ACCURACY_1 (2):
    A model to be used via prediction calls to
    uCAIP API. Expected to have a lower latency but
    relatively lower prediction quality.
MOBILE_TF_LOW_LATENCY_1 (3):
    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.