lucidrains/x-transformers

Pad value not being used in `align_right` function

Closed this issue · 0 comments

It seems that the pad_id parameter is not being used in the align_right function when calling `F.pad(..., value=0).

t = F.pad(t, (max_pad_len, 0), value = 0)