Print variable state history

See How to print the computational graph of a Variable?