Found in 1 comment on Hacker News
Chainer's Define-by-run apporach is also described here https://www.oreilly.com/learning/complex-neural-networks-mad...