未验证 提交 ee61e017 编写于 作者: H Huang Zhengjie 提交者: GitHub

Merge pull request #115 from OleNet/main

revise comment for bigbird wrapper
...@@ -38,7 +38,7 @@ def masked_select(input, mask): ...@@ -38,7 +38,7 @@ def masked_select(input, mask):
class BigBirdWrapper(pgl.graph_wrapper.BaseGraphWrapper): class BigBirdWrapper(pgl.graph_wrapper.BaseGraphWrapper):
"""Implement of Edge Drop """ """Implement of Big Bird by PGL graph wrapper """
def __init__(self, input_mask): def __init__(self, input_mask):
super(BigBirdWrapper, self).__init__() super(BigBirdWrapper, self).__init__()
max_seqlen = L.shape(input_mask)[1] max_seqlen = L.shape(input_mask)[1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册