text-segmentation icon indicating copy to clipboard operation
text-segmentation copied to clipboard

Redundant padding method in models?

Open UrosOgrizovic opened this issue 4 years ago • 0 comments

Why the need for both pad(self, s, max_length) and pad_document(self, d, max_document_length) in from_presentation.py, max_sentence_embedding.py and single_lstm.py? To me, it seems that those two methods perform the same task - they just have different variable names.

UrosOgrizovic avatar Jan 14 '21 21:01 UrosOgrizovic