逐行源码阅读中文笔记。
blog解读:https://blog.csdn.net/qq_39388410/article/details/104951012
建议阅读顺序:network.py-->non-local-embedded_gaussian.py-->non-local_concatenation.py-->non-local-dot_product.py-->non-local-gaussian.py(后面三个都是embedded_gaussian的变体,计算Attention有点不一样)
原paper: Non-local Neural Networks