v0.1.6 Yodeling Yellowjacket
Large learnable parameter re-factor - learnable parameters can now supports arrays of all shapes and sizes.
Using parameters has slightly changed - they are completely separated from traces and call sites. You have to pass them into contexts, and manage them yourself. This cleanly separates a number of things, and I think is a good design choice in the long run.
Furthermore, this is the first official release which supports the new tuple indexing notation/selection specification for addresses.
To specify a selection, there is a universal interface:
sel = selection([(:x, ) => 5.0, (:x, :y, 1) => 10.0])
Here, commas in the tuple separate different levels of the call stack.
Indexing is done in a similar way:
# Some call site
cl[:x, :y, 10]
says, access the the choice in call :x
, in call :y
, at address 10.
This choice has also significantly cleaned up some weirdness associated with using Pairs
in addressing.
Addresses are now Any
as well. So go wild.