Google Cloud Ai Platform V1 Client - Class ExportFormat (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExportFormat.

Represents export format supported by the Model.

All formats export to Google Cloud Storage.

Generated from protobuf message google.cloud.aiplatform.v1.Model.ExportFormat

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Model

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Output only. The ID of the export format. The possible format IDs are: * tflite Used for Android mobile devices. * edgetpu-tflite Used for Edge TPU devices. * tf-saved-model A tensorflow model in SavedModel format. * tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript. * core-ml Used for iOS mobile devices. * custom-trained A Model that was uploaded or trained by custom code.

↳ exportable_contents array

Output only. The content of this Model that may be exported.

getId

Output only. The ID of the export format.

The possible format IDs are:

  • tflite Used for Android mobile devices.
  • edgetpu-tflite Used for Edge TPU devices.
  • tf-saved-model A tensorflow model in SavedModel format.
  • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
  • core-ml Used for iOS mobile devices.
  • custom-trained A Model that was uploaded or trained by custom code.
Returns
Type Description
string

setId

Output only. The ID of the export format.

The possible format IDs are:

  • tflite Used for Android mobile devices.
  • edgetpu-tflite Used for Edge TPU devices.
  • tf-saved-model A tensorflow model in SavedModel format.
  • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
  • core-ml Used for iOS mobile devices.
  • custom-trained A Model that was uploaded or trained by custom code.
Parameter
Name Description
var string
Returns
Type Description
$this

getExportableContents

Output only. The content of this Model that may be exported.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExportableContents

Output only. The content of this Model that may be exported.

Parameter
Name Description
var int[]
Returns
Type Description
$this