Rung

Encode

A number becomes rungs, not a slot.

Type a magnitude the model never trained. Place value already has a column for it. One-hot would have needed a new input for every value.

Place-value inputs

10

One-hot slots to name this value

513

Expansion

2^9

Rungs · LSB left

0
1
2
3
4
5
6
7
8
9

Vector

{
  "value": 512,
  "width": 10,
  "bits": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1
  ]
}

Same vector from the API. Read the contract.