LESSON 16.24 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Functional and accelerator environments
Watch one pure step function drive a whole batch of envs on a GPU.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 16.24 · ENV BAYENV 1 · STEP 3 · POS 2 → 3
01
Stage 1 of 5 · Pure step
A functional environment keeps no hidden state. Its step takes a state and returns a new state.
Explain it simply
You see one env on the top row. Each cell is a whole state: a position, a step count and a key. The step reads one cell and writes the next cell. It never changes the cell it read, so the same call gives the same answer.
Row 1 shows env 1 over 8 steps: positions 0, 1, 2, 3, 2, 3, 4, 2, 3. The panel shows step 3: position 2 goes in and position 3 comes out.
states, env stepsgoal reachedslips, call costspolicy on the GPUreset, idle
Toy: 4 to 16 envs in a 6-cell slippery corridor; the µs costs are illustrative
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The step maps the old state and an action to a new state.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.