Api session event editor overlay set tensor normalized
API Endpoint: editoroverlay/set_tensor_normalized.
API Endpoint name is Api session event editor overlay set tensor normalized.
Use this endpoint to Set whether an input tensor of an Inference Overlay should be normalized when provided to a Neural Network.
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (OVERLAY Integer ID) | Inference Overlay ID | |
| 1 | REQUIRED | (Integer number) | Tensor Link ID | |
| 2 | REQUIRED | (true, false) | Normalize | true or false |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Curl example POST:
curl 'https://engine.tygron.com/api/session/event/editoroverlay/set_tensor_normalized/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ 1, 1, true ]'JavaScript example POST:
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
body: '[ 1, 1, true ]'
};
fetch("https://engine.tygron.com/api/session/event/editoroverlay/set_tensor_normalized/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));