Open rentainhe opened 2 years ago
https://rentainhe.github.io/2022/02/04/python-weakref/#more
最近学习detectron2, 发现在hook中有使用到weakref这个功能函数, 属于python中的弱引用, 所以记录一下弱引用相关的学习内容
https://rentainhe.github.io/2022/02/04/python-weakref/#more
最近学习detectron2, 发现在hook中有使用到weakref这个功能函数, 属于python中的弱引用, 所以记录一下弱引用相关的学习内容