Skip to content

Commit

Permalink
SDK release v1.48.6
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Mar 22, 2024
1 parent e3cf021 commit 8f5b193
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 6 additions & 3 deletions EdgeImpulse.EI-SDK.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
<name>EI-SDK</name>
<license>LICENSE-apache-2.0.txt</license>
<description>Edge Impulse SDK</description>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.4/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.6/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.48.4" tag="v1.48.4" date="2024-03-20" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.4/EdgeImpulse.EI-SDK.1.48.4.pack">
<release version="1.48.6" tag="v1.48.6" date="2024-03-22" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.6/EdgeImpulse.EI-SDK.1.48.6.pack">
EI-SDK
</release>
<release version="1.48.4" tag="v1.48.4" date="2024-03-20" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.4/EdgeImpulse.EI-SDK.1.48.4.pack">
EI-SDK
</release>
<release version="1.48.2" tag="v1.48.2" date="2024-03-18" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.2/EdgeImpulse.EI-SDK.1.48.2.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -92,7 +95,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.48.4">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.48.6">
<description>Edge Impulse SDK</description>
<!-- short component description -->
<files>
Expand Down
4 changes: 2 additions & 2 deletions EdgeImpulse.pidx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>EdgeImpulse</vendor>
<url>https://raw.githubusercontent.com/edgeimpulse/edge-impulse-sdk-pack/main/</url>
<timestamp>2024-03-20 13:19:39</timestamp>
<timestamp>2024-03-22 15:37:33</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.4/" vendor="EdgeImpulse" name="EI-SDK" version="1.48.4"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.48.6/" vendor="EdgeImpulse" name="EI-SDK" version="1.48.6"/>
</pindex>
</index>
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ EI_IMPULSE_ERROR run_nn_inference(
memx_status status = MEMX_STATUS_OK;
int32_t ifmap_height, ifmap_width, ifmap_channel_number, ifmap_format;
int32_t ofmap_height, ofmap_width, ofmap_channel_number, ofmap_format;
int32_t z;
uint64_t ctx_start_us = 0;
uint64_t ctx_end_us = 0;

Expand All @@ -226,13 +227,13 @@ EI_IMPULSE_ERROR run_nn_inference(

/* 4. get input shape - Not needed during runtime, available only for debugging */
if(verbose_debug) {
status = memx_get_ifmap_size(model_id, flow_id, &ifmap_height, &ifmap_width, &ifmap_channel_number, &ifmap_format);
status = memx_get_ifmap_size(model_id, flow_id, &ifmap_height, &ifmap_width, &z, &ifmap_channel_number, &ifmap_format);
ei_printf("status = %d, ifmap shape = (%d, %d, %d), format = %d\n",
status, ifmap_height, ifmap_width, ifmap_channel_number, ifmap_format);
}

// 5. get output shape
status = memx_get_ofmap_size(model_id, flow_id, &ofmap_height, &ofmap_width, &ofmap_channel_number, &ofmap_format);
status = memx_get_ofmap_size(model_id, flow_id, &ofmap_height, &ofmap_width, &z, &ofmap_channel_number, &ofmap_format);
if(debug) {
ei_printf("status = %d, ofmap shape = (%d, %d, %d), format = %d\n",
status, ofmap_height, ofmap_width, ofmap_channel_number, ofmap_format);
Expand Down

0 comments on commit 8f5b193

Please sign in to comment.