Jobs

Profile TFLite model

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.

post/api/{projectId}/jobs/profile-tflite

Request

Path parameters

projectIdinteger required

Project ID

Request body

tfliteFileBase64string required

A base64 encoded TFLite file

devicestring required

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

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

idinteger required

Job identifier. Status updates will include this identifier.

Example response

{
  "id": 12873488112
}

Changes

No recorded changes to this operation across all 1 revision of this API.