class Google::Apis::FirebasemlV1beta2::TfLiteModel
Information that is specific to TfLite models.
Attributes
The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API) Corresponds to the JSON property `automlModel` @return [String]
The TfLite file containing the model. (Stored in Google
Cloud). The gcs_tflite_uri
should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file. Corresponds to the JSON property `gcsTfliteUri` @return [String]
Output only. The size of the TFLite model Corresponds to the JSON property `sizeBytes` @return [String]
Public Class Methods
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 368 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 373 def update!(**args) @automl_model = args[:automl_model] if args.key?(:automl_model) @gcs_tflite_uri = args[:gcs_tflite_uri] if args.key?(:gcs_tflite_uri) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end