thunlp / SDLM-pytorch

Code accompanying EMNLP 2018 paper Language Modeling with Sparse Product of Sememe Experts
25 stars 5 forks source link

hownet_utisl.py #3

Closed ZTurboX closed 5 years ago

ZTurboX commented 5 years ago

请问hownet_utils.py的作用是什么,对应于文章哪个公式,我不是太理解这里

wmyw96 commented 5 years ago

Thank you for your interests.

hownet_utils.py targets to do the efficient backpropagation for sparse matmul (since pytorch doesn't support that when we implement our code).