🔥Act IV · Bridge Console
0 XP
Chapter 1 / 6

Wire the bridge

New here? Read the 60-sec briefing ↗

Your kernels run deep in the reactor, but the bridge crew drives everything from a Python control deck. Expose your signal filter as a named custom op so the deck can call it by name.

A MAX custom op is a Mojo kernel registered under a name the Python graph can call. The @compiler.register decorator is the plug that connects reactor-level Mojo to the bridge.

YOUR TASK
  1. 1Name the op so the Python bridge can find it.
  2. 2Register the struct as "conv1d".
💡 Register the struct as a named op: @compiler.register("conv1d").
ops/conv1d.mojo
PUZZLE 17 · CUSTOM OP
Clear all 6 chapters to forge🐍 Bridge Console Core Shard