Skip to content

Commit a6faec7

Browse files
committed
Leo review addressed
1 parent 5aabef4 commit a6faec7

File tree

1 file changed

+1
-25
lines changed
  • content/hardware/03.nano/boards/nano-matter/tutorials/08.ml-magic-wand

1 file changed

+1
-25
lines changed

content/hardware/03.nano/boards/nano-matter/tutorials/08.ml-magic-wand/content.md

+1-25
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ author: 'Christopher Méndez, Leonardo Cavagnis and Andrea Richetta'
1414
hardware:
1515
- hardware/03.nano/boards/nano-matter
1616
software:
17-
- ide-v1
1817
- ide-v2
1918
- web-editor
20-
- iot-cloud
2119
---
2220

2321
## Overview
@@ -181,17 +179,6 @@ void setup() {
181179
interpreter = sl_tflite_micro_get_interpreter();
182180
output = sl_tflite_micro_get_output_tensor();
183181
184-
// Print model input parameters
185-
Serial.print("model_input->dims->size = ");
186-
Serial.println(model_input->dims->size);
187-
Serial.print("model_input->dims->data[0] = ");
188-
Serial.println(model_input->dims->data[0]);
189-
Serial.print("model_input->dims->data[1] = ");
190-
Serial.println(model_input->dims->data[1]);
191-
Serial.print("model_input->dims->data[2] = ");
192-
Serial.println(model_input->dims->data[2]);
193-
Serial.print("model_input->type = ");
194-
Serial.println(model_input->type);
195182
196183
// Check model input parameters
197184
if ((model_input->dims->size != 2) || (model_input->dims->data[0] != 1)
@@ -201,11 +188,6 @@ void setup() {
201188
while(1) ;
202189
}
203190
204-
// Print model input length
205-
input_length = model_input->bytes / sizeof(float);
206-
Serial.print("input_length = ");
207-
Serial.println(input_length);
208-
209191
// Initialize accelerometer
210192
bool setup_status = accelerometer_setup();
211193
if (!setup_status) {
@@ -219,7 +201,6 @@ void setup() {
219201
setPixel(i, BLUE);
220202
}
221203
222-
Serial.println("ready");
223204
}
224205
225206
void loop() {
@@ -456,10 +437,6 @@ void setup() {
456437
while(1) ;
457438
}
458439
459-
// Print model input length
460-
input_length = model_input->bytes / sizeof(float);
461-
Serial.print("input_length = ");
462-
Serial.println(input_length);
463440
464441
// Initialize accelerometer
465442
bool setup_status = accelerometer_setup();
@@ -474,7 +451,6 @@ void setup() {
474451
setPixel(i, BLUE);
475452
}
476453
477-
Serial.println("ready");
478454
}
479455
```
480456

@@ -640,7 +616,7 @@ Power the Nano Matter of your Magic Wand using a USB cable and start moving it f
640616

641617
## Conclusion
642618

643-
In this tutorial you learned how to use the Arduino Nano Matter as a Machine Learning gesture recognizer, leveraging the optimized Silicon Labs library for Tiny Machine Learning we showcased the board capabilities of running TinyML algorithms with ease thanks to the **hardware acceleration** achieved with the **Mathematical Vector Processor (MVP)** integrated in the Nano Matter microcontroller.
619+
In this tutorial you learned how to use the Arduino Nano Matter as a Machine Learning gesture recognizer, leveraging the optimized Silicon Labs library for Tiny Machine Learning we showcased the board capabilities of running TinyML algorithms with ease thanks to the **hardware acceleration** achieved with the **Matrix Vector Processor (MVP)** integrated in the Nano Matter microcontroller.
644620

645621
### Next Steps
646622

0 commit comments

Comments
 (0)