Why make logits contiguous
When using ___ForQuestionAnswering, where ___ can be BERT, RoBERTa, etc.,start_logitsandend_logitsare made contiguous, but I don’t know why. Can anyone explain? I know that it makes them contiguous in memory, but why do that?Here is a link to BertForQuestionAnswering for reference.