Class ModelExportOutputConfig (2.14.0)

ModelExportOutputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Output configuration for ModelExport Action.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
gcs_destination google.cloud.automl_v1beta1.types.GcsDestination
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". Under the directory given as the destination a new one with name "model-export--", where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, will be created. Inside the model and any of its supporting files will be written. This field is a member of oneof_ destination.
gcr_destination google.cloud.automl_v1beta1.types.GcrDestination
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI. This field is a member of oneof_ destination.
model_format str
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): - For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". - For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). - For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". - For Video Classification cloud, "tf_saved_model". - For Video Object Tracking cloud, "tf_saved_model". - For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". - For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". - For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". - For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". - For Tables: "docker". Formats description: - tflite - Used for Android mobile devices. - edgetpu_tflite - Used for `Edge TPU
params MutableMapping[str, str]
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. - For docker format: cpu_architecture - (string) "x86_64" (default). gpu_architecture - (string) "none" (default), "nvidia".

Classes

ParamsEntry

ParamsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.