promptdojo_

CNNs and local patterns — step 5 of 7

This edge detector reports [0, 5, 0, 0] — it found the up-jump and claims the signal never comes back down. But the signal clearly drops at the end. The window loop is one position short, so the final window (covering the down-jump) is never computed: a silently truncated output, no crash. Fix the range.

The break is on line 5 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.