Skip to content

Commit a22c60d

Browse files
Update readme.md
1 parent 1b12b0e commit a22c60d

File tree

1 file changed

+12
-10
lines changed
  • examples/TF2MPLABH3_Model_Evaluation_Example

1 file changed

+12
-10
lines changed
Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# MPLAB® Harmony v3 Project Example
1+
# MPLAB® Harmony v3 Project Example
22

3-
This project example was created for the Microchip [SAMA5D29 Curiosity Development Board](https://www.microchip.com/en-us/development-tool/ev07r15a).
3+
This project example was created for the Microchip [SAMA5D29 Curiosity Development Board](https://www.microchip.com/en-us/development-tool/ev07r15a).
44

5+
---
56

7+
**How to use it**
68

7-
**How to use it ?**
9+
1. **Import the project** into MPLAB X IDE.
10+
2. **Add your `<model.c>` file** to the Source Files of the project.
811

9-
Simply import the project is the MPLAB X IDE and add the <model.c> file to the Source files.
12+
The provided `main.c` file contains a basic code sample that:
13+
- Creates an empty image to be used as the model input: `float input[1][128][128][3] = {0};`
14+
- Benchmarks the inference time over the number of repetitions defined by `#define NUM_RUNS 100`
15+
- Prints the inference times
1016

11-
The `main.c` file is populated with a basic code sample that
12-
- Creates an empty image that will be used as the model input `float input[1][128][128][3] = {0}`.
13-
- Benchmarks the inference time over the number of repetitions defined at this line: `#define NUM_RUNS 100`.
14-
- Print the inference times.
15-
16-
Depending on your custom model caracteristics, you may have to change the input format, and adapt the code logic.
17+
> **Note:**
18+
> Depending on your custom model’s characteristics, you may need to change the input format and adapt the code logic accordingly.

0 commit comments

Comments
 (0)