File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
examples/TF2MPLABH3_Model_Evaluation_Example Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
- # MPLAB® Harmony v3 Project Example
1
+ # MPLAB® Harmony v3 Project Example
2
2
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 ) .
4
4
5
+ ---
5
6
7
+ ** How to use it**
6
8
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.
8
11
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
10
16
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.
You can’t perform that action at this time.
0 commit comments