I've finished an example with x-y fit. It looks really nice since it combines both autodiff and gradient descent in one place with full customization, but the design is not final. There are still things I find non-intuitive. The example is the last test in the reference above.