https://github.com/zasdfgbnm/TorchSnooper

 

pip install torchsnooper

在函数前加装饰器@torchsnooper.snoop()

posted on 2019-06-19 21:29  Manuel  阅读(351)  评论(0编辑  收藏  举报