Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelExportFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelExportFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1ModelExportFormat
constructor
A new instance of GoogleCloudAiplatformV1ModelExportFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelExportFormat
Returns a new instance of GoogleCloudAiplatformV1ModelExportFormat.
15913 15914 15915 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15913 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
15900 15901 15902 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15900 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
15911 15912 15913 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15911 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15918 15919 15920 15921 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15918 def update!(**args) @exportable_contents = args[:exportable_contents] if args.key?(:exportable_contents) @id = args[:id] if args.key?(:id) end |