TfLiteModelResponse

data class TfLiteModelResponse(val automlModel: String, val gcsTfliteUri: String, val sizeBytes: String)

Information that is specific to TfLite models.

Constructors

Link copied to clipboard
fun TfLiteModelResponse(automlModel: String, gcsTfliteUri: String, sizeBytes: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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)

Link copied to clipboard

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.

Link copied to clipboard

The size of the TFLite model