TfLiteModelResponse class

Information that is specific to TfLite models.

Constructors

TfLiteModelResponse({required Input<String> automlModel, required Input<String> gcsTfliteUri, required Input<String> sizeBytes})
Creates a new TfLiteModelResponse. automlModel 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) gcsTfliteUri 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. sizeBytes The size of the TFLite model
const
TfLiteModelResponse.fromMap(Map<String, dynamic> map)
factory

Properties

automlModel → Input<String>
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)
final
gcsTfliteUri → Input<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.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → Input<String>
The size of the TFLite model
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited