Profile TFLite model

Profile TFLite model

post

Takes in a TFLite model and returns the latency, RAM and ROM used for this model. Updates are streamed over the websocket API (or can be retrieved through the /stdout endpoint). Use getProfileTfliteJobResult to get the results when the job is completed.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Body
tfliteFileBase64stringRequired

A base64 encoded TFLite file

devicestringRequired

MCU used for calculating latency, query latencyDevices in listProject for a list of supported devices (and use the "mcu" property here).

Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/jobs/profile-tflite HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "tfliteFileBase64": "text",
  "device": "text"
}
200

OK

{
  "success": true,
  "error": "text",
  "id": 12873488112
}

Last updated

Was this helpful?