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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getExportableContents

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExportableContents

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

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this