Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelExportFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelExportFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Represents export format supported by the Model. All formats export to Google Cloud Storage.
Instance Attribute Summary collapse
-
#exportable_contents ⇒ Array<String>
Output only.
-
#id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelExportFormat
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelExportFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelExportFormat
Returns a new instance of GoogleCloudAiplatformV1beta1ModelExportFormat.
16477 16478 16479 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exportable_contents ⇒ Array<String>
Output only. The content of this Model that may be exported.
Corresponds to the JSON property exportableContents
16464 16465 16466 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16464 def exportable_contents @exportable_contents end |
#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. Corresponds to the JSON propertyid
16475 16476 16477 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16475 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16482 16483 16484 16485 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16482 def update!(**args) @exportable_contents = args[:exportable_contents] if args.key?(:exportable_contents) @id = args[:id] if args.key?(:id) end |