Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethink how we do masking #74

Open
pstjohn opened this issue Apr 28, 2021 · 0 comments
Open

Rethink how we do masking #74

pstjohn opened this issue Apr 28, 2021 · 0 comments

Comments

@pstjohn
Copy link
Collaborator

pstjohn commented Apr 28, 2021

It might be nice to not have to assume a mask value for the users input, we could perhaps add an additional field to policy_inputs 'mask': 1, that gets padded with zeros.

batched_inputs_with_mask += [layers.Masking(mask_dict[input_name])(batched_input)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant