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.
13245 13246 13247 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13245 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
13232 13233 13234 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13232 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-mlUsed for iOS mobile devices. *custom-trainedA Model that was uploaded or trained by custom code. Corresponds to the JSON propertyid
13243 13244 13245 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13243 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13250 13251 13252 13253 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13250 def update!(**args) @exportable_contents = args[:exportable_contents] if args.key?(:exportable_contents) @id = args[:id] if args.key?(:id) end |