You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it has been answered before but I was wondering what is the use of the following, padList = zeroPadding(indexes_batch)
in the function, inputVar(l, voc)
We already have the correct batch here, indexes_batch = [indexesFromSentence(voc, sentence) for sentence in l]
the indexes_batch contains the input (with length) which gets changed by the zeroPadding function call! Any explanation?
The text was updated successfully, but these errors were encountered:
I don't know if it has been answered before but I was wondering what is the use of the following,
padList = zeroPadding(indexes_batch)
in the function, inputVar(l, voc)
We already have the correct batch here,
indexes_batch = [indexesFromSentence(voc, sentence) for sentence in l]
the indexes_batch contains the input (with length) which gets changed by the zeroPadding function call! Any explanation?
The text was updated successfully, but these errors were encountered: