↓ 2 callersFunctiongraph_encoder_layer :param enc_input: (batch_size, n_blocks, emb_dim) :param attn_bias: (batch_size, n_head, n_blocks, n_blocks) :param graph_attn_bias: (
NLP/EMNLP2021-SgSum/src/models/encoder.py:193
↓ 2 callersFunctiongraph_scaled_dot_product_attention Graph Scaled Dot-Product Attention :param q: (batch_size, n_head, n_block, dim_per_head) :param k: (batch_size, n_head, n_b
NLP/ACL2020-GraphSum/src/models/attention.py:439
↓ 2 callersFunctiongraph_scaled_dot_product_attention Graph Scaled Dot-Product Attention :param q: (batch_size, n_head, n_block, dim_per_head) :param k: (batch_size, n_head, n_b
NLP/EMNLP2021-SgSum/src/models/attention.py:440