Skip to content

A bug? #21

Closed
kli-casia opened this issue Nov 3, 2022 · 1 comment · Fixed by #26
Closed

A bug? #21

kli-casia opened this issue Nov 3, 2022 · 1 comment · Fixed by #26
Labels
bug Something isn't working

Comments

@kli-casia
Copy link

mask = np.hstack(

self.seq_len - states.shape[0] always equal to 0 because pad_along_axis before this line.

@Howuhh
Copy link
Contributor

Howuhh commented Nov 3, 2022

@kli-casia Yes, indeed! The mask must be created before the paddings. You can do PR with a fix if you want. Otherwise, I'll fix it.

@Howuhh Howuhh added the bug Something isn't working label Nov 3, 2022
@Howuhh Howuhh linked a pull request Nov 4, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants