When using ___ForQuestionAnswering, where ___ can be BERT, RoBERTa, etc., start_logits
and end_logits
are made contiguous, but I don’t know why. Can anyone explain? I know that it makes them contiguous in memory, but why do that?
When using ___ForQuestionAnswering, where ___ can be BERT, RoBERTa, etc., start_logits
and end_logits
are made contiguous, but I don’t know why. Can anyone explain? I know that it makes them contiguous in memory, but why do that?