useful magic function - jenhaoyang/ml_blog GitHub Wiki

auto reload

%load_ext autoreload
%autoreload 2

參考:
https://switowski.com/blog/ipython-autoreload