~/talk

Implementing the Convolutional Neural Network U-Net in APL

Talkat Dyalog '22 · 2022-10-09..10-13· [machine-learning]
slides:none on file

An end-to-end U‑Net is implemented in Dyalog APL from scratch, mapping the U topology into multi‑axis arrays, expressing convolutions as stencils and inner products, and encoding the flow with five arrow functions (CV, CC, MX, UP, C1). The code leverages stencil operator optimizations and a custom compiler backend; runtime and code‑size comparisons against a PyTorch reference show it runs at about 2× slower than PyTorch while remaining compact and workable.

AI-written summary · about

  1. 0:00Introduction
  2. 2:26What is a U-net Convolutional Neutral Network (CNN)?
  3. 4:45Motivation and method
  4. 6:10How to arrange a u-net as matrices rectangular arrays
  5. 13:18What else did I learn?
  6. 13:52Inner products and axes
  7. 15:06Optimised cases of the stencil operator
  8. 20:23Conclusion: Understanding APL solutions gives you super powers
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.