sgnlp.models.rumour_detection_twitter.utils.get_attention_masks

get_attention_masks(padded_sequence, padding_idx)[source]