Teaching pack · UAT 462

A 15-week teaching plan, 5 worksheets, a scoring rubric and a map from the course description to the lessons, for instructors to evaluate and adapt before teaching.

Last updated: · 3(1-4-4) · Per week: lecture 1 h, lab 4 h, self-study 4 h; 75 contact hours per term

Coverage of the course description

The lessons fully teach 13 of 13 description topics. Each topic lists the modules and lesson sections that teach it, and incomplete topics say what is missing.

Description topicModulesWhere it is taughtStatus
Edge AI processing for unmanned aircraft systemsM1M4M5Module 1: Where to compute (on the aircraft, ground station or cloud; Example 1, the frame rate the mission needs and the data to send) · Module 4: Latency and throughput · Module 5: Fallbacks and safety (the on-board computer is an auxiliary system)Covered
Embedded computers and AI processing unitsM1Module 1: Platform families (MCU, Cortex-A, GPU modules, NPU and TPU accelerators) · Count the model's cost before buying the board (MACs, parameters, intermediate activations) · The roofline model: what limits the time · Choosing a platform from the constraintsCovered
Integration with cameras and sensorsM4Module 4: From the camera into memory (MIPI CSI-2, USB, bandwidth and zero-copy) · Sensor interfacing: the time budget of a bus (I2C, SPI, UART) · Time and data synchronisation (time stamps, TIMESYNC and the effect on image position)Covered
Preparation and deployment of AI modelsM2M5Module 2: From the training machine to the board · ONNX: graph, operators and opset · Unsupported operators and graph partitioning · Module 5: A verifiable release · A/B update and rollback · Monitoring and staged roll-outCovered
Real-time image and data processingM4Module 4: Latency and throughput (Little's law) · Queues, tail latency and dropping frames · BatchingCovered
Model optimization for resource-constrained platformsM2M3Module 2: FP16 numeric precision · Stacked acceleration, and measure before tuning · Module 3: Affine quantisation · Quantisation error and SQNR · Per-tensor or per-channel scales · Calibrating activations to the operating conditions · Pure integer arithmetic · Quantisation-aware training · Other ways to shrink: efficient architectures, pruning and distillationCovered
Power and thermal managementM5Module 5: Energy of the on-board computer (energy per inference, energy per real frame and the effect of mass on flight time) · Power modes and clock frequency · Heat and throttlingCovered
Latency and performance managementM1M4M5Module 1: The roofline model: what limits the time · Module 4: Latency and throughput · Queues, tail latency and dropping frames (p50, p95, p99) · Module 5: Monitoring and staged roll-out · Fallbacks and safety (the fallback ladder)Covered
System testingM5Module 5: System testing: test levels and how many samples are enough (five levels, the test card, Example 8 with the number of piles and flights needed) · Module lab and mini-project (the acceptance report)Covered
Edge AI applications to detectionM1M4M5The illegal-dumping detection case study across all five modules (training and accuracy of the detector are covered in UAT 306 and UAT 456) · Module 4: From detections to perception, navigation and autonomous missions (Example 8, confirming a pile and the false alarm rate) · Module 5: Monitoring and staged roll-out (Example 6)Covered
Edge AI applications to perceptionM4Module 4: From detections to perception, navigation and autonomous missions (the pinhole camera model, the ground position of a pile and its error budget, Example 7); the scope is locating detections, not image segmentation or depth estimationCovered
Edge AI applications to navigationM4Module 4: From detections to perception, navigation and autonomous missions (stopping distance versus latency and frame rate, the first half of Example 8, and the idea of PX4 collision prevention) · Visual odometry and SLAM on the edge (what VO, VIO and SLAM compute; front-end, back-end and loop closure; why they run on board; PX4 ODOMETRY and EKF2_EV_DELAY; VIO benchmarks on embedded boards; Example 9, the compute and latency budget and drift per distance)Covered
Edge AI applications to autonomous missionsM4M5Module 4: From detections to perception, navigation and autonomous missions (detect, confirm, pause, report and resume; the second half of Example 8) · Module 5: Fallbacks and safety (MAVLink heartbeat, offboard mode and PX4 failsafes)Covered

Weekly teaching plan

WeekTopicPre-classLectureLabEvidence
1 M1Mission, requirements and where to computeRead module 1 'Why this matters' and 'Where to compute'; run Example 1Requirements R1 to R6 of the case study; edge, fog and cloud; privacy and the Personal Data Protection Act; the minimum frame rate from mission geometryWorksheet 1 part A: read the manufacturers' pages of at least three boards the department has and make a specification table with URL and date checked, noting dense or sparseSpecification table with sources
2 M1Platform families and the model's costRead 'Platform families' and 'Count the model's cost before buying the board'; run Example 2MCU, Cortex-A, GPU modules, NPU and TPU; cautions about TOPS; counting MACs, parameters and activationsWorksheet 1 part B: edit the layer table to the group's model; count MACs, parameters and peak activations at int8 and float32; check whether it fits the board's memoryModel-cost table and memory-fit result
3 M1Roofline and choosing a platformRead 'The roofline model' and 'Choosing a platform from the constraints'; run Example 3; take the module 1 quizArithmetic intensity, the ridge, memory-bound layers, and the five-step selection orderWorksheet 1 part C: measure the working machine's bandwidth and compute rate with NumPy; compute the roofline of the available boards; write a one-page platform notePlatform note and module 1 quiz result
4 M2The conversion pipeline and ONNXRead 'From the training machine to the board' and 'ONNX: graph, operators and opset'; run Example 1Pipeline steps; ONNX Runtime, TensorRT, OpenVINO and Edge TPU; opsets; fusing Conv, BatchNorm and ReLUWorksheet 2 part A: export the model to ONNX with an opset that matches the runtime; run onnx.checker and compare with the original; report the maximum differenceA checked ONNX file and the output-difference table
5 M2Unsupported operators and graph partitioningRead 'Unsupported operators and graph partitioning'; run Example 2Multi-partition and prefix-only partitioning; boundary-crossing cost; Amdahl's bound; fixing unsupported operatorsWorksheet 2 part B: run at different optimisation levels, turn on profiling, find the three most time-consuming nodes and compute Amdahl's boundPer-node time table and Amdahl's bound
6 M2FP16 and stacked accelerationRead 'FP16 numeric precision' and 'Stacked acceleration, and measure before tuning'; run Examples 3 and 4; take the module 2 quizRange and resolution of FP16; accumulation; fusion; stacking acceleration in order of risk to accuracyWorksheet 2 part C: if an accelerator is available, compile with the vendor's tool and read the log for operators that fall back to the CPU; time before and after fusion and the change to FP16 (20 warm-up runs, 200 measured, report p50 and p95)Table of method, time, accuracy and CPU-fallback operators, and the module 2 quiz result
7 M3Affine quantisation and SQNRRead 'Affine quantisation' and 'Quantisation error and SQNR'; run Examples 1 and 2r = S(q − Z), a zero-point that represents 0.0 exactly, symmetric and asymmetric forms, and SQNR of about 6 dB per bit with the formula's conditionsWorksheet 3 part A: quantise the group's model to static INT8 with ONNX Runtime using at least 100 calibration images covering dawn and evening; compare file size, time and AP with the originalTable of size, time and accuracy before and after quantisation
8 M3Per-channel scales, calibration and integer-only arithmeticRead 'Per-tensor or per-channel scales', 'Calibrating activations' and 'Pure integer arithmetic'; run Examples 3 to 5Weights after folding BatchNorm; clipping methods MinMax, Entropy and Percentile; representative calibration sets; the multiplier M = M0 · 2^−nWorksheet 3 part B: change the range method, calibrate on one condition and test on another, compare per-channel with per-tensor, and compute M and M0 for one layerTable of the effect of calibration set and range method, and the M and M0 results
9 M3QAT, other compression methods; midtermRead 'Quantisation-aware training' and 'Other ways to shrink'; run Examples 6 to 8; review modules 1 to 3; take the module 3 quizMidterm examination (modules 1 to 3)Worksheet 3 part C: if accuracy after PTQ is below the criterion, enlarge the calibration set, skip sensitive layers, then try QAT, pruning or distillation; record every stepWorksheet 3 report, module 3 quiz result and midterm score
10 M4From the camera into memory; latency and throughputRead 'From the camera into memory' and 'Latency and throughput'; run Examples 1 and 2CSI-2 and USB; raw bandwidth; memory traffic per frame; DMABUF and zero-copy; latency and throughput of a pipeline; Little's lawWorksheet 4 part A: compute the group camera's bandwidth, capture continuously for 5 minutes and count dropped frames, then build a pipeline that time-stamps every stageTable of bandwidth, dropped frames and per-stage times of the pipeline
11 M4Queues, tail latency and batchingRead 'Queues, tail latency and dropping frames' and 'Batching'; run Examples 3 and 4Load above 1; unbounded against bounded queues that drop old frames; p50, p95, p99 and jitter; MLPerf-style reporting; batch sizes that suit the jobWorksheet 4 part B: compare an unbounded FIFO with a one-slot queue that drops the old frame on the group's pipeline; record p50, p95, p99 and dropped frames; compare zero-copy with copying if the tools support itTable of latency percentiles and dropped frames for each policy
12 M4Sensors, bus time budgets and timeRead 'Sensor interfacing' and 'Time and data synchronisation'; run Examples 5 and 6; take the module 4 quizTransaction time of I2C, SPI and UART; share of bus used; V4L2 time stamps; clock offset with TIMESYNC; Δx = vΔtWorksheet 4 part C: compute the bus time budget of the group's sensors and measure real read times; estimate the clock offset with TIMESYNC, comparing one exchange with short-RTT exchanges; compute the position errorWorksheet 4 report and module 4 quiz result
13 M5Energy per frame and power modesRead 'Energy of the on-board computer' and 'Power modes and clock frequency'; run Examples 1 and 2Energy per inference against energy per real frame; the effect of mass on flight power; the clock with the least energy per image; the evidence-mode deadlineWorksheet 5 part A: measure the board's power while idle and while running the model; compute energy per inference and per real frame, and the effect on the department aircraft's flight timeTable of power, energy per frame and remaining flight time
14 M5Heat, release and updateRead 'Heat and throttling', 'A verifiable release' and 'A/B update and rollback'; run Examples 3 to 5First-order thermal model, R and tau, throttling; manifests, hashes, signatures and rollback of an A/B updateWorksheet 5 part B: log SoC temperature under full load for 10 minutes in a closed enclosure and in airflow; fit R and tau; write and sign a manifest; test the installer with a one-bit-flipped file; simulate two failing updatesTemperature plot with R and tau, a signed manifest, and the update simulation results
15 M5Monitoring, fallbacks and mini-project presentationsRead 'Monitoring and staged roll-out' and 'Fallbacks and safety'; run Examples 6 and 7; take the module 5 quiz; prepare the acceptance report and deployment plan of at most 4 pagesCourse wrap-up and project criteria (KS test, staged roll-out, fallback ladder and hysteresis)Worksheet 5 part C: design a fallback ladder with hysteresis and test it with the real temperature log; then present the acceptance report and deployment plan to the municipality (role-play) and revise the plan from feedbackMini-project report and presentation, scored with the rubric, and the module 5 quiz result

Worksheets and instructor guide

One worksheet per module. Students open it on the web, print it or download the .docx. The instructor guide under each worksheet gives the class timing, expected results, discussion questions and notes for students with different backgrounds.

1Worksheet 1 Mission requirements and platform shortlist
Analysis activity · About 12 h of class time · CLO1

Objective: Set measurable mission requirements, compute the minimum frame rate, count the model's cost, use the roofline and shortlist platforms with figures checked at the manufacturers and by measurement

Equipment

  • Manufacturers' specification pages for at least three boards the department has
  • A computer with Python and NumPy and the example code at /downloads/uat-462/
  • The layer table of the model the group chose

Safety

  • Desk work, no flying
  • Record figures from the manufacturer's page with URL and date checked; do not use figures from sources that cannot be checked
  • Use only image data that is permitted and shows no identifiable person

Steps

  1. Read the manufacturers' pages and make a specification table, noting dense or sparse and the numeric precision of the TOPS
  2. Compute the mission's minimum frame rate with Example 1 from the group's GSD, speed and overlap, then write measurable requirements
  3. Edit the layer table in Example 2 to the group's model and count MACs, parameters and peak activations at int8 and float32
  4. Check whether it fits each board's memory and find the largest input that fits
  5. Write a NumPy script that measures the working machine's memory bandwidth and compute rate, then compute its ridge
  6. Compute the roofline of each board (Example 3), name the memory-bound layers, then write a one-page platform note

Deliverables

  • Specification table with sources and dates checked
  • Measurable mission requirements with the minimum frame rate
  • Model-cost table and memory-fit result
  • A one-page platform note with what still has to be measured

Checklist

  • Table 1 has at least three boards, and every row has a URL, date checked, dense or sparse and the numeric precision (Delivery, safety, privacy and communicating results)
  • Table 2 shows the minimum frame rate, MACs, parameters and peak activation at both int8 and float32, every value with a unit, and the runnable script is attached (Accuracy of calculations and code)
  • Table 2 states the conditions of the machine measurement (CPU model, array size, number of repeats) and does not use manufacturer figures in place of measurements (Measurement on real hardware and transparency of conditions)
  • The platform note drops options in the order of the criteria (memory, time, operators, power, cost) and lists what still has to be measured (Choosing methods and platform to meet requirements, with accuracy checked)

Instructor guide

Class timing 720 min

  1. Brief the case study and requirements R1 to R6; review the frame-rate, MAC and roofline formulas60 min
  2. Read the manufacturers' pages and fill in Table 1120 min
  3. Compute the minimum frame rate, write measurable requirements and count the model's cost180 min
  4. Write the NumPy script that measures the machine's bandwidth and compute rate120 min
  5. Compute the layer-by-layer roofline and fill in Table 3150 min
  6. Write the platform note, answer the questions and run the hand-in checklist90 min

Expected results

  1. Record: Table 1 Board specifications from the manufacturers' pagesTable 1 (figures depend on the department's boards and must match the manufacturers' pages). Examples the lesson checked: Jetson Orin Nano Super INT8 67 TOPS sparse and 33 TOPS dense, 8 GB at 102 GB/s, 7, 15 and 25 W modes; Raspberry Pi Pico 2, 520 KB SRAM and 4 MB flash; Hailo-8L 13 TOPS and Hailo-8 26 TOPS INT8; Coral Edge TPU 4 TOPS int8; RK3588 NPU 6 TOPS. A strong table separates sparse from dense (sparse is twice as high and applies only when weights are pruned to the 2:4 pattern).
  2. Record: Table 2 Mission requirement, model cost and the measured machineTable 2 with the lesson's example values (GSD 3 cm, 1,080 rows, 60% overlap, 8 m/s, WasteNet-S at input 640): footprint along track 32.4 m, spacing 12.96 m (1.62 s), minimum 0.62 fps, designed at 1 fps; 1.462 GMAC per image, 1.182 M parameters (int8 1.18 MB, float32 4.73 MB), peak activation int8 2,867 kB and float32 11,469 kB; the largest input within 70% of the 520 KB SRAM (364 kB) is 224 (351 kB). The machine measurement depends on the machine and has no fixed answer; check that the ridge is compute rate divided by bandwidth, in ops/byte. Accept rounding differences in the last digit.
  3. Record: Table 3 Layer-by-layer roofline of the chosen boardTable 3 with the GPU module's manufacturer figures (33 TOPS dense, 102 GB/s): ridge 324 ops/byte; intensity conv1 31, conv2 96, conv3 286, conv4 189, conv5 551, conv6 343, conv7 847, conv8 392, conv9 594, head 37. The memory-bound layers are conv1 to conv4 and head, taking 59% of the time; the lower bound is 0.14 ms per image (64% of peak). For the assumed Cortex-A board (0.2 TOPS, 12 GB/s) the ridge is 17 ops/byte, no layer is memory-bound and the lower bound is 14.62 ms.
  4. Question 1: How many times lower is the group's minimum frame rate than the camera's 30 fps? If the requirement followed the camera, how would the board choice, mass and energy change?With the example values 30 fps is about 48.6 times the 0.62 fps needed (and 30 times the 1 fps design). Following the camera would need a stronger, heavier, hotter and more power-hungry board and would cut flight time. A strong answer says the requirement comes from the mission geometry, not the camera's ability, and keeps the 10 fps evidence mode as a separate requirement.
  5. Question 2: If the model's weights fit the MCU's flash, why can the MCU still not be used? Explain with the peak activation memory in Table 2 and the object size in pixels when the input is reduced.Because the first layer must hold its input and output together, 2,867 kB at int8, more than five times the 520 KB SRAM. Shrinking the input to 224 brings it to 351 kB, but a 1.5 m pile is then only 5.8 pixels wide, too small for the detector to see well, and 0.179 GMAC is still slow on a 150 MHz MCU. A strong answer suggests the MCU may suit a much smaller helper task.
  6. Question 3: From Table 3, which layers are memory-bound? If you bought a board with twice the TOPS but the same bandwidth, would those layers get faster? Why?With the example values conv1 to conv4 and head are memory-bound (intensity below the 324 ridge). Their time is bytes divided by bandwidth, so doubling TOPS does not speed them up; the bytes moved must be reduced instead, for example by fusion and fewer bits (modules 2 and 3). A strong answer notes that more TOPS moves the ridge to the right, so even more layers become memory-bound.
  7. Question 4: Does the group's roofline time tell you the real time on the board? What work is not counted, and what must the group measure in the next module?No. The roofline value is a lower bound that excludes unsupported operators falling back to the CPU, accelerator start-up, image reading, resizing and post-processing, so the real time is always longer. To measure next: time on the real board after warm-up (p50, p95), unsupported operators, and accuracy after reducing numeric precision.

Discussion questions

  • If a vendor says their board has the highest TOPS, what three questions should we ask before believing it?
  • Why does processing on the aircraft help privacy requirement R6 more than sending all the video down?
  • If the mission changed to avoiding obstacles, would the frame-rate requirement still come only from image geometry?

Adapting to student background

Upper secondary (M.6)
Have them derive the convolution MAC formula by hand-counting a tiny layer before running the code, and pair them with a tool-confident peer for reading datasheets and setting up Python.
Vocational certificate
Give a fill-in table for the minimum frame rate step by step (footprint, spacing, then divide the speed), and let them edit only the numbers in the example's layer table rather than write new code.
Diploma
Extension: time the sample model on one real board and compare with the roofline lower bound; report how many times slower it is and which work likely makes up the difference.

Common student mistakes: Common mistakes in the module 1 lesson

2Worksheet 2 Convert, check and accelerate a model on the board
Lab · About 12 h of class time · CLO2, CLO3

Objective: Export a model to ONNX, check that the output matches the original, see the effects of fusion and partitioning, time before and after acceleration on the real board, and summarise the operators that fall back to the CPU

Equipment

  • At least one target board the department has (SBC, GPU module or accelerator)
  • The sample model the instructor sets, or the group's model
  • Python with onnx and onnxruntime, and the vendor's compile tool if available

Safety

  • A board under full load is hot; do not touch the heat sink while it runs
  • Take anti-static precautions when handling boards, and power off before connecting cables or accessories
  • Desk work, no flying

Steps

  1. Export the model to ONNX with an opset matching the board's runtime, run onnx.checker and compare with the original
  2. Run ONNX Runtime at different optimisation levels, save the optimised files and compare the node lists with Example 1
  3. Turn on profiling, sum time by operator name, find the three most time-consuming nodes and compute Amdahl's bound
  4. If an accelerator is available, compile with the vendor's tool, read the log for operators that fall back to the CPU and make a table with a fix plan following Example 2
  5. Time before and after fusion and the change to FP16 (20 warm-up runs, 200 measured, report p50 and p95)
  6. Summarise as a table: method, time, accuracy and CPU-fallback operators

Deliverables

  • A checked ONNX file and the output-difference table
  • Per-node time table and Amdahl's bound
  • Table of unsupported operators with a fix plan
  • Table of time before and after acceleration with the measurement conditions

Checklist

  • Table 1 states the opset, the onnx.checker result and the maximum difference from the original on the same input, with the node list at each optimisation level (Accuracy of calculations and code)
  • Every row of Table 3 was measured after 20 warm-up runs over 200 measured runs, and states the board, runtime, image size and power mode (Measurement on real hardware and transparency of conditions)
  • Every acceleration method in Table 3 has a validation accuracy, not only a time (Choosing methods and platform to meet requirements, with accuracy checked)
  • There is a table of CPU-fallback operators with a fix plan for each (or a note that no accelerator was available) (Choosing methods and platform to meet requirements, with accuracy checked)

Instructor guide

Class timing 720 min

  1. Safety briefing (heat, static, power off before connecting) and review of the pipeline from training machine to board45 min
  2. Export to ONNX, check it and compare with the original120 min
  3. Run the optimisation levels and profiling; fill in Table 2150 min
  4. Compile for the accelerator, read the log and build the unsupported-operator table150 min
  5. Time before and after fusion and FP16; fill in Table 3165 min
  6. Wrap-up, questions and hand-in checklist90 min

Expected results

  1. Record: Table 1 ONNX export and checksTable 1: an opset matching the board's runtime, onnx.checker passes, and the maximum float32 output difference about 1e-5 or less (Example 1 passes at 1e-5 at every level). The basic level folds BatchNorm into Conv, leaving Conv and Relu; the extended level leaves one node, com.microsoft.FusedConv, which is not a standard operator. The example's memory traffic falls from 320 to 192 and 64 KiB.
  2. Record: Table 2 Time by operator from profilingTable 2: values depend on the model and machine. For a convolutional model the top three are usually Conv or FusedConv. The shares should add up to close to 100%, and the times come from the dur field (microseconds) of the profiling file, summed by operator name.
  3. Record: Table 3 Time before and after accelerationTable 3: values depend on the board; use the proportions of Example 4 as a reference (assumed device): fp32 with BN and ReLU separate 4.29 ms, fp32 fused 3.03 ms (1.4 times), fp16 0.83 ms (5.2 times), int8 0.42 ms (10.3 times). If real results stray far from these proportions, look for CPU-fallback operators. The partition plans of Example 2: all on CPU 140.5 ms, prefix only 22.4 ms (6.3 times), multi-partition 17.9 ms (7.8 times), resize rewritten 12.8 ms (11.0 times).
  4. Question 1: From Table 2, if the three most time-consuming nodes became 4 times faster, by how much at most could the total speed up by Amdahl's bound, and what if they became infinitely fast? What does this say about choosing what to tune?It depends on the three nodes' share p, with S = 1/((1-p)+p/4): for example p = 50% gives 1.60 times, 70% gives 2.11 times and 90% gives 3.08 times; if infinitely fast the limit is 1/(1-p), that is 2.0, 3.3 and 10.0 times. A strong answer concludes that you profile first and that the part not accelerated is the limit.
  5. Question 2: How do the unsupported operators in Table 3 change the total time? Explain with single and multiple graph partitioning, and choose a fix that suits the group, with a reason.Unsupported operators force data across the CPU/accelerator boundary, and everything after them may stay on the CPU if the compiler partitions only once (Edge TPU style). In Example 2 the prefix-only plan gives only 6.3 times although the accelerated part is 25.7 times faster than the CPU, because the CPU still runs 14.5 ms (Amdahl caps it at 7.2 times). The best fix in the example is rewriting the resize to a supported mode (11.0 times), then re-checking accuracy. Other options: move it into post-processing, accept it if its time share is small, change the model, or change the target.
  6. Question 3: Why deliver the original ONNX file rather than the optimised file, even though the optimised one is faster?An optimised file saved offline is usable only on hardware compatible with the machine it was saved on, and the extended level may contain vendor-extension operators (such as com.microsoft.FusedConv) that other runtimes do not know. So deliver the original and let each target optimise it.
  7. Question 4: How much did the group's accuracy change with FP16? If it changed a lot, what is the likely cause, and what should you check about the runtime?A large accuracy drop usually comes from accumulating in FP16 or from values out of range. Example 3: FP16 storage with FP32 accumulation is off by 0.0010 from the exact -30.9021, while FP16 accumulation is off by 0.7927; the sum of squares of 4,096 values of 12 should be 589,824 but overflows to inf because the FP16 maximum is 65,504, and 1e-8 becomes 0. Check the precision the runtime accumulates at and whether BatchNorm has been folded.
  8. Question 5: Why warm up for 20 runs before measuring, and why report p95 together with p50 instead of the mean?The first run includes loading and memory allocation, so it is slower than normal; warm-up removes this. p95 shows the occasional slow frames the mean hides, and requirement R2 is set at p95 of at most 100 ms. A strong answer states the measurement conditions every time.

Discussion questions

  • Is a conversion that passes with no error enough evidence that the model is ready on the board? What more evidence is needed?
  • Between multi-partitioning and rewriting the operator, which is riskier for accuracy, and how would you prove it?
  • If two boards are equally fast but one falls back to the CPU on several operators, which is easier to maintain in the long run?

Adapting to student background

Upper secondary (M.6)
Have them fold BatchNorm into Conv by hand for one channel (practice question 2) and compute Amdahl's bound before touching the board, predicting results before measuring, with a hands-on peer helping connect the board.
Vocational certificate
Provide a ready timing script (warm-up, measure, print p50 and p95) so they focus on connecting the board, running commands and reading the log for CPU entries; explain Amdahl with the group's own times rather than the formula.
Diploma
Extension: actually fix one unsupported operator (for example change the resize mode or move nms into post-processing), recompile, and measure time and accuracy against the version before the fix.

Common student mistakes: Common mistakes in the module 2 lesson

3Worksheet 3 Quantise the model and measure the effect on accuracy
Lab · About 12 h of class time · CLO2

Objective: Quantise the group's model to INT8 with a representative calibration set, compare range methods and per-channel with per-tensor scales, and decide whether QAT or another compression method is needed

Equipment

  • The group's ONNX model
  • A calibration set of at least 100 images covering dawn and evening, and a labelled validation set
  • Python with onnxruntime, the example code at /downloads/uat-462/, and a target board for timing

Safety

  • Desk work, no flying
  • Use permitted images with no identifiable person, and store the data set according to personal-data guidance
  • A board under full load is hot; do not touch the heat sink

Steps

  1. Quantise the model to static INT8 with at least 100 calibration images, then compare size, time and AP with the original
  2. Change the range method (MinMax, Entropy, Percentile) and compare accuracy
  3. Calibrate on one condition and test on another; report the accuracy lost
  4. Compare per-channel with per-tensor scales if the tool supports it
  5. Use Example 5 to compute M and M0 for one layer and check that the fixed-point multiply matches the floating one
  6. If accuracy is below the criterion, reduce what can be reduced first, then try QAT, pruning or distillation; record every step

Deliverables

  • Table of size, time and accuracy before and after quantisation
  • Table of the effect of range method and calibration set
  • M and M0 results with the fixed-point check
  • A conclusion on whether QAT or another method is needed, with reasons

Checklist

  • Table 1 has every column for both the original and INT8 models, timed after warm-up on the same board, with the board named (Measurement on real hardware and transparency of conditions)
  • Table 2 has at least three range methods and one cross-condition test, and every row reports AP, not only SQNR or file size (Choosing methods and platform to meet requirements, with accuracy checked)
  • The calibration set has at least 100 images covering dawn and evening, with no identifiable person (Delivery, safety, privacy and communicating results)
  • Box 3 shows S_x, S_w, S_y, M, n, M0 and the int32 value of M0, with the difference between the fixed-point and floating multiplies (Accuracy of calculations and code)

Instructor guide

Class timing 720 min

  1. Briefing on image-data privacy and board heat; review r = S(q - Z) and SQNR45 min
  2. Prepare the calibration and validation sets, quantise statically and fill in Table 1165 min
  3. Change the range method and test across conditions; fill in Table 2180 min
  4. Compare per-channel with per-tensor scales and compute M and M0150 min
  5. Try the reductions or QAT if accuracy is still below the criterion120 min
  6. Wrap-up, questions and hand-in checklist60 min

Expected results

  1. Record: Table 1 Size, time and accuracy before and after quantisationTable 1: the INT8 file is about a quarter of FP32, for example WasteNet-S with 1.182 M parameters goes from 4.73 MB to 1.18 MB (real files differ slightly because of the graph, scales and zero-points). Time drops depending on the board. AP after 8-bit PTQ should be close to FP32 (Nagel et al. conclude 8-bit PTQ is mostly enough); if it falls below the group's criterion, check the calibration set first.
  2. Record: Table 2 Effect of range method, calibration set and scale typeTable 2: values depend on the group's data; use Example 4 as a guide (simulated data, measured as SQNR): calibrated on dawn with min-max, clip 14.31, 35.7 dB on dawn but 27.1 dB on noon; calibrated on noon, clip 27.62, 34.3 dB on noon but 30.2 dB on dawn; percentile 99.9 clips at 3.35 and falls to 21.7 and 15.3 dB because it cuts glare that is signal. Per-channel scales in Example 3 cut the mean weight error from 18.53% to 0.68%. The group must report AP.
  3. Record: Box 3 Working for M and M0 of one layer and the fixed-point checkBox 3 with the layer of Example 5: M = 0.002620 = 0.670753 x 2^-8, so n = 8 and M0 as int32 = 1,440,430,618; the fixed-point multiply differs from the floating one by 0 codes; the maximum error against the floating layer is 0.0386 (1.12 steps of S_y). Check the method with practice question 5: S_x = 0.02, S_w = 0.004, S_y = 0.1 gives M = 0.0008, n = 10, M0 = 0.8192 (int32 about 1,759,218,604).
  4. Question 1: Did the group's INT8 file shrink to exactly a quarter of FP32? If not, why? Does the time saved match the memory-bound layers found in module 1?If it is not exactly a quarter, the file holds parts that are not weights (the graph, scales, zero-points, int32 biases) or some layers stay in floating point. Time falls because four times fewer bytes move, so the memory-bound layers of module 1 (conv1 to conv4 and head in the example) should gain most. A strong answer links this to the roofline.
  5. Question 2: When calibrated on one condition and tested on another, how much did AP drop? Explain with the clipping value from the calibration set, and say which images a good calibration set for the group must contain.AP drops because the other condition's real values exceed the clip set by the calibration set and are cut off, or in the other direction the step is coarser than needed. A good calibration set includes every operating condition (dawn, daytime, evening, season), and is judged by the real task metric, AP, not SQNR alone.
  6. Question 3: Did the Percentile method help or hurt on the group's data? Are the rare high values in the data signal or noise, and how do you decide?Percentile assumes rare high values are noise. If they are real signal (like the glare off plastic bags in Example 4), clipping them ruins the result. Decide by looking at the images that cause the high values and comparing the AP of the two methods; no single rule is always right.
  7. Question 4: Why are per-channel scales better than per-tensor ones after folding BatchNorm? Explain with the number of levels a narrow channel can use.After folding BatchNorm each channel is multiplied by its own factor, so channel widths differ a lot, and a single tensor scale is set by the widest channel. From practice question 4, with a tensor maximum of 0.5 the step is 0.003937, so a channel with maximum 0.04 uses only about 21 levels (-10 to +10), while per-channel it uses about 255 levels, at the cost of one extra scale per channel.
  8. Question 5: Should the group use QAT? Give reasons from Tables 1 and 2 and the group's accuracy criterion.Always start with PTQ. If AP after PTQ is still below the criterion, first reduce what can be reduced (enlarge the calibration set, skip quantisation-sensitive layers), then use QAT, which needs extra training and labelled data. In Example 6 QAT helps clearly at 2 bits (92.8% to 97.2%) but is equal at 8 bits (98.0%). A strong answer cites the group's own numbers.

Discussion questions

  • If a customer asks for the smallest possible model, how would you choose between 4 bits, pruning and distillation, and what must you know about the hardware first?
  • Why does unstructured pruning not speed things up on a dense kernel?
  • How should calibration images be collected so that they represent real conditions while still protecting privacy?

Adapting to student background

Upper secondary (M.6)
Have them compute scale and zero-point by hand (practice question 1) and find n and M0 by repeated doubling before running the code, linking it to binary numbers from school, paired with a tool-confident peer for board timing.
Vocational certificate
Provide a quantisation script where the range method is one variable, so they focus on preparing the image sets, running each row and filling in the table; explain scale with the lesson's code-strip figure rather than the formula.
Diploma
Extension: skip quantising the first layer or the head (keep it in floating point), then measure both AP and board time to find which layer is most sensitive to quantisation.

Common student mistakes: Common mistakes in the module 3 lesson

4Worksheet 4 A real-time pipeline and sensors
Lab · About 12 h of class time · CLO3, CLO1

Objective: Measure the camera bandwidth, build a capture-to-result pipeline that time-stamps every stage, compare queue policies, compute the bus time budget of the sensors and estimate the clock offset to the flight controller

Equipment

  • A USB or CSI camera and a target board
  • Sensors on at least two of the I2C, SPI or UART buses, and a logic analyser if available
  • A flight controller with propellers removed, or a simulator, and Python with the example code at /downloads/uat-462/

Safety

  • Test on the bench only; remove the propellers and make connections with no battery power
  • Take anti-static precautions when handling boards and camera cables; never plug or unplug a CSI camera cable while the board is powered
  • Do not record identifiable people

Steps

  1. Fix the camera mode, compute the bandwidth B = W H b f, then capture continuously for 5 minutes and count dropped frames
  2. Build a pipeline of capture, pre-process, inference and post-process with a time stamp at every stage
  3. Compare an unbounded FIFO with a one-slot queue that drops the old frame; record p50, p95, p99 and dropped frames; start measuring after warm-up
  4. If the tools support it, compare copying with zero-copy at the camera's highest resolution
  5. Compute the bus time budget of the group's sensors following Example 5 and compare real read times with the calculation
  6. Estimate the clock offset to the flight controller with TIMESYNC, compare one exchange with short-RTT exchanges, and compute the position error

Deliverables

  • Table of bandwidth and dropped frames
  • Table of p50, p95 and p99 latency for each queue policy
  • Table of the share of bus used, calculated and measured
  • Clock-offset estimate and position error

Checklist

  • Table 1 shows the calculation B = W H b f with units and a full 5-minute capture (Accuracy of calculations and code)
  • Table 2 was measured after warm-up and has p50, p95, p99 and dropped frames for at least two policies, stating the board, model, image size and power mode (Measurement on real hardware and transparency of conditions)
  • Table 3 pairs a calculated and a measured value for every sensor, and no bus exceeds 50% without a fix plan (Choosing methods and platform to meet requirements, with accuracy checked)
  • Connections were made with no battery power, propellers were removed, and the recorded video has no identifiable people (Delivery, safety, privacy and communicating results)

Instructor guide

Class timing 720 min

  1. Safety briefing (propellers off, no battery power, static, CSI cables) and review of latency and throughput45 min
  2. Compute the bandwidth and capture for 5 minutes; fill in Table 190 min
  3. Build the time-stamped pipeline and compare queue policies; fill in Table 2210 min
  4. Compute and measure the sensor bus budget150 min
  5. Estimate the clock offset with TIMESYNC and compute the position error150 min
  6. Wrap-up, questions and hand-in checklist75 min

Expected results

  1. Record: Table 1 Camera bandwidth and dropped framesTable 1: B = W x H x 1.5 x f for NV12, for example 1920 x 1080 at 30 fps gives 93.3 MB/s (0.75 Gbit/s), within the usable USB 5 Gbit/s capacity of about 438 MB/s (70% efficiency as in Example 1); 4K30 gives 373.2 MB/s and 2560 x 1440 gives 165.9 MB/s. In 5 minutes at 30 fps there should be 9,000 frames; dropped frames should be near 0, and above about 1% check the link and camera mode.
  2. Record: Table 2 Latency by queue policyTable 2: values depend on the board; use Example 3 as a guide (simulated, load 1.14): unbounded FIFO drops nothing but p50 is 6,762 ms and p95 12,992 ms; a queue of 2 dropping the newest drops 12.2% with p95 159.3 ms; a queue of 1 dropping the oldest drops 11.8% with p50 52.5 ms, p95 71.4 ms and p99 129.3 ms, which meets R2. If the group's load is below 1, all policies will be close and the answer should say so.
  3. Record: Table 3 Bus time budget and clock offsetTable 3 with the sensor set of Example 5: a 1 kHz IMU on I2C at 400 kHz takes 390.0 us per transaction, 39.00% of the bus, and on SPI at 8 MHz 17.0 us, 1.70%; barometer, magnetometer, laser altimeter and power monitor together 6.71%, or 45.70% with the IMU; GNSS at 120 bytes 10 Hz on 115200 uses 10.42%, raw data at 1,600 bytes 5 Hz uses 69.44% (over the limit) and 17.36% at 460800. Clock offset (Example 6): one exchange is off by 0.52 ms on average, the four shortest-RTT exchanges by 0.06 ms; 20 ppm drift moves it 6.0 ms in 5 minutes. Measured read times can be longer than calculated because of Linux software time.
  4. Question 1: Check Little's law with the group's one-slot queue data: how many frames does throughput times mean time in the system give, does it match the count, and what does the value tell you?In the example 26.5 fps x 53.6 ms = 1.42 frames, matching the direct count of 1.42. The group's values should agree within about 5%; if not, check the time stamps. The value is the average number of frames in the system, used to size memory and the latency to allow for.
  5. Question 2: Why does the unbounded FIFO's latency keep growing in the group's run? Explain with the load (mean processing time divided by the frame interval), and say whether dropping frames loses evidence.When the load exceeds 1 (in the example 37.9 ms per frame divided by 33.3 ms gives 1.14), frames arrive faster than they can be processed, so an unbounded queue grows without stopping and the result is an image from seconds ago. Dropping frames in the detection pipeline loses no evidence if video is recorded on a separate path from the detection pipeline; a strong answer mentions this.
  6. Question 3: From Table 3, which sensor should move to SPI or which UART baud rate should rise, and why? Why is the measured time usually longer than the calculation?Move high-rate sensors such as the 1 kHz IMU to SPI (39% down to 1.70%), and if GNSS raw data is on, raise the baud rate (115200 uses 69.44%, over the 50% limit; 460800 leaves 17.36%). Measured times are longer because the calculation is a lower bound that excludes software, driver time and jitter, which is why the flight controller with its RTOS looks after the real-time buses.
  7. Question 4: How many centimetres does the group's estimated clock offset move the image position at the real flight speed, compared with the GSD? How much more if EOF time is used instead of SOE?dx = v dt: for example at 8 m/s a 1 ms error is 0.8 cm, less than the 3 cm GSD, but a stamp taken after a 50 ms software queue gives 40.0 cm, and EOF instead of SOE (10 ms exposure, 20 ms readout) is 30 ms, 24.0 cm, eight times the GSD. The group computes it at its own real speed.
  8. Question 5: If you used batching for the live camera in evidence mode, what batch size still keeps p95 within 100 ms, and what kind of work suits batching better?From Example 4 (batch time 9 + 2.5b ms): batch 1 worst case 11.5 ms, batch 2 47.3 ms passes, batch 4 119.0 ms exceeds 100 ms because the first frame waits for the others. So use batch 1 for the live camera, and batches for images that are ready together, such as the 12 crops of one frame (3.25 ms per image instead of 11.5 ms).

Discussion questions

  • A system that is fast on average but sometimes very slow, or one slightly slower but steady: which suits obstacle avoidance better, and why?
  • Dropping 12% of frames is acceptable for which jobs, and unacceptable for which?
  • Why is choosing the short-RTT TIMESYNC exchanges better than averaging all of them when the outbound and return delays differ?

Adapting to student background

Upper secondary (M.6)
Have them explain Little's law and dx = v dt with a restaurant queue and a moving car, compute the bus budget on paper first, and get extra time wiring sensors and using the logic analyser with a peer.
Vocational certificate
Focus them on wiring, time stamping and reading the logic analyser; for the calculation use a fill-in table of clock periods per byte (I2C 9, SPI 8, UART 10 bits) multiplied by the rate.
Diploma
Extension: actually move the IMU or a high-rate sensor from I2C to SPI on the test board and measure the bus share before and after, or compare copying with zero-copy using GStreamer.

Common student mistakes: Common mistakes in the module 4 lesson

5Worksheet 5 Power, heat, release and the mini-project
Lab · About 12 h of class time · CLO3, CLO1

Objective: Measure the energy and heat of the on-board computer, compute the effect on flight time, make a signed release, test update and rollback, design a fallback ladder, and summarise it as an acceptance report and deployment plan

Equipment

  • A power meter for the board and a tool to read SoC temperature (vcgencmd or tegrastats)
  • A closed mock equipment enclosure and a fan or airflow source
  • Python with scipy and cryptography, the example code at /downloads/uat-462/, and the department aircraft's data

Safety

  • A board under full load is hot; do not touch the heat sink, and limit full-load ground tests to the time calculated
  • Test installation and updates on the bench only; never on an aircraft with propellers fitted and the battery connected
  • Any real flying follows CAAT conditions in visual line of sight with people kept clear; check lithium batteries and propellers before every flight
  • Log only metrics; do not store images of people

Steps

  1. Measure the board's power while idle and while running the model; compute energy per inference and per real frame at the frame rates of both modes
  2. Compute the effect on the department aircraft's flight time including added mass, and compare with the 1.3-times criterion
  3. Log SoC temperature for 10 minutes under full load in the closed enclosure and in airflow, fit R and tau, and predict when throttling starts
  4. Write the release manifest, sign it and test the installer with a one-bit-flipped file
  5. Simulate two failing A/B updates (does not boot, and over the time budget) and design a fallback ladder with hysteresis
  6. Write an acceptance report and deployment plan of at most 4 pages checking each requirement, with a model card, then present it

Deliverables

  • Table of power, energy per frame and remaining flight time
  • Temperature plot with R and tau and the time throttling starts
  • Signed manifest and the installer and update test results
  • Acceptance report and deployment plan with a model card and a staged roll-out plan

Checklist

  • Table 1 separates energy per inference, average power and energy per real frame, includes the mass power in the flight time, and gives every value a unit (Accuracy of calculations and code)
  • Table 2 comes from real 10-minute temperature logs in both the closed enclosure and airflow, stating room temperature, power mode and the temperature tool (Measurement on real hardware and transparency of conditions)
  • Table 3 has the one-bit-flipped file, both failing updates with rollback, and the fallback ladder with hysteresis (Delivery, safety, privacy and communicating results)
  • The acceptance report checks each requirement with measured numbers, includes a model card, and logs only metrics with no images of people (Delivery, safety, privacy and communicating results)
  • The final power mode or platform is chosen by energy per real frame and the time budget, not TOPS per watt (Choosing methods and platform to meet requirements, with accuracy checked)

Instructor guide

Class timing 720 min

  1. Safety briefing (heat, no updates on an aircraft with propellers and battery, CAAT conditions if flying) and review of the energy and thermal formulas45 min
  2. Measure power, compute energy and flight time; fill in Table 1150 min
  3. Log temperature in the closed enclosure and airflow, fit R and tau; fill in Table 2150 min
  4. Make the signed release, test the installer, the A/B updates and the fallback ladder165 min
  5. Write the test cards and the acceptance report150 min
  6. Presentations, questions and hand-in checklist60 min

Expected results

  1. Record: Table 1 Power, energy and flight timeTable 1 with the values of Example 1 (5.2 kg aircraft, 6S 16 Ah battery, 80% usable = 284 Wh, 560 W cruise): baseline endurance 30.4 min, needed 27.1 min (1.3 x 20.8). SBC with NPU: 0.28 J per inference, 4.66 J per real frame at 1 fps, mass costs 26.0 W, 28.9 min of flight, 0.61 J per frame in evidence mode; GPU module 0.21 J, 5.13 J, 40.9 W, 28.1 min; CPU-only SBC 1.16 J, 3.73 J, 19.5 W, 29.2 min but cannot do 10 fps (at most 6.9 fps). Real values depend on the department's meter and aircraft.
  2. Record: Table 2 Temperature fit and time to throttlingTable 2 with the values of Example 3 (9 W, 45 C air, C = 25 J/C, 80 C threshold): closed enclosure R = 7, tau 175 s, steady state 108 C, reaches 80 C in 142 s and then sustains only 5.0 W, about 33% of the full work; in airflow R = 3.5, tau 87.5 s, steady state 76.5 C, never reaches the threshold. The fit to the simulated log gives R = 6.97 and tau 174 s. For the group, accept the fitted R when the curve passes through the measured points and the log lasts several times tau.
  3. Record: Table 3 Release, update and fallback-ladder testsTable 3: intact files accepted; one bit flipped in the model rejected, naming the file whose hash does not match; manifest edited after signing rejected because the signature fails; the release that does not boot is tried 3 times then rolled back; the release with p95 134 ms over the 100 ms budget is rolled back; in both cases the old release still runs. The fallback ladder without hysteresis switched 246 times in 30 minutes and with 4 C hysteresis only 6 times (simulated, Example 7); the group's run should show a clear drop in switching.
  4. Question 1: Is the board with the lowest energy per inference the best one for patrol mode? Explain with the energy per real frame and the power added by mass.Not necessarily. At 1 fps the board is idle almost all the time, so idle energy dominates. In the example the GPU module has the lowest energy per inference, 0.21 J, but the highest energy per real frame, 5.13 J, and its 250 g needs 40.9 W more, about eight times the board's average electrical power. The right measure is energy per real frame at the job's frame rate, including the effect of mass.
  5. Question 2: Does the department's aircraft meet the 1.3-times flight-time criterion with the computer fitted, and which adds more power: the board's electricity or its mass?With the example values all three meet 27.1 min (28.1 to 29.2 min), and the mass power (19.5 to 40.9 W) exceeds the board's electrical power (3.7 to 5.1 W) for every candidate. The group uses its real mass with dP = P0[((m+dm)/m)^1.5 - 1] and its measured power.
  6. Question 3: From Table 2, how many seconds at most should a full-load ground test last, and why? How do ground results differ from those in the air?With the example values the closed enclosure reaches 80 C in 142 s, so a full-load ground test should not last longer. With the propellers still there is no airflow, so R is higher than in the air and the board runs hotter on the ground; concluding from the ground may wrongly suggest it overheats, or the reverse if tested in a room cooler than the 45 C bay.
  7. Question 4: Why must the update health check include the p95 time budget and not only a successful boot? Give an example from the group's tests.A release that boots but is too slow (Example v1.3, p95 134 ms because the accelerator was left off) would pass a boot-only check and make R2 fail, so the health check must include the time budget and the job's metrics. A strong answer cites the group's tests and notes the old release in the other slot was never touched.
  8. Question 5: If 20 test flights show no failure, what per-flight failure rate can you claim to be below at 95% confidence? What does this say about the roles of flight tests and of fault injection in simulation?No failure in 20 flights only supports a per-flight failure rate below 0.139 at 95% confidence (rule of three 0.150). Showing below 5% needs 59 flights with no failure, and below 1% needs 299. Flights therefore cannot practically prove that rare failures are rare; they must be sought by fault injection on the bench and in SITL or HITL, with the computer designed as an auxiliary system, while flights confirm the whole chain works together.

Discussion questions

  • If the municipality wanted detection at 10 fps all the time to be safe, how would you explain the cost in energy, heat and flight time?
  • The record-only level of the fallback ladder must alert the operator. What would happen in real use if it stayed silent?
  • Why does monitoring the confidence distribution protect privacy better than storing images, and what are its limits?

Adapting to student background

Upper secondary (M.6)
Have them derive P proportional to m^1.5 and the first-order thermal model from school physics, then predict the time to 80 C before measuring, paired with a hands-on peer for wiring the power meter.
Vocational certificate
Focus them on wiring the meter, reading temperature and testing the installer with prepared steps; use a fill-in table for the calculations (average power, energy per frame, mass power) and the supplied fitting code, changing only the log file name.
Diploma
Extension: test three real power modes of the board, measure time per image and power, find the mode with the lowest energy per image that still meets a 45 ms budget, and compare with the pattern of Example 2.

Common student mistakes: Common mistakes in the module 5 lesson

Scoring rubric

For worksheets and the mini-project. Each criterion scores level (1–4) ÷ 4 × weight.

CriterionWeightExcellent (4)Good (3)Fair (2)Needs work (1)
Accuracy of calculations and code30%MACs, roofline, scale and zero-point, SQNR, queues, energy and temperature all correct, with reproducible code and units checkedNearly all correct, method shown, with small slips that do not change the conclusionsSome errors or missing steps, or code that cannot be reproducedMany errors or no method
Measurement on real hardware and transparency of conditions25%Measures after warm-up; reports p50, p95 and the maximum with the machine, runtime, image size and power mode; separates model time from whole-system time and bench results from board resultsMeasured correctly, with nearly all conditions reportedIncomplete measurement: missing warm-up or percentiles, or unclear conditionsNo real measurement, or manufacturer figures quoted as the model's result
Choosing methods and platform to meet requirements, with accuracy checked25%Chooses the platform and the acceleration or compression methods from measurable requirements, checks accuracy after every step, uses a representative calibration set and explains trade-offs with numbersA reasonable choice, with accuracy checked at nearly every stepChooses from a single figure such as TOPS, or does not check accuracy after changesNo reasoning from the requirements
Delivery, safety, privacy and communicating results20%The release has a manifest, hashes and a signature, with a rollback plan, monitoring, a fallback ladder with hysteresis and a model card; privacy is kept and the assisting computer is separated from flight control; the report is clear and states limitsMostly complete, with some details missingMissing a rollback plan or monitoring, or an unclear reportNo attention to safety or privacy

Assessment map: CLOs and how they are assessed Draft

The CLOs are a web-team draft; the course owner sets the final ones (curriculum book, part 4). This table is built from the worksheet and module-quiz data, so it follows any change to the CLOs.

CLOWorksheetsModule quizzes
CLO1 Explain the memory, bandwidth, latency and energy limits of edge AI and select a platform to match the missionW 1W 4W 5M1M4M5
CLO2 Convert, accelerate, compress and quantise models for edge devices and check the effect on accuracyW 2W 3M2M3
CLO3 Measure and report time, energy and temperature on real hardware, interface sensors, and plan safe deploymentW 2W 4W 5M4M5