Profile pretrained model

Profile pretrained model

post

Returns the latency, RAM and ROM used for the pretrained model - upload first via uploadPretrainedModel. This is using the project's selected latency device. 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

Query parameters
impulseIdintegerOptional

Impulse ID. If this is unset then the default impulse is used.

Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/pretrained-model/profile HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

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

Last updated

Was this helpful?