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

Enforcing dtype in K.zeros_like for mask #1

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

ashutoshsingh0223
Copy link
Owner

Enforcing dtype in K.zeros_like for mask in recursion function. K.zeros_like failed to infer dtype of mask when a Masking layer is used.

Enforced dtype by passing dtype of mask as parameter to K.zeros_like.

This pull request fixes keras-team#498 and keras-team#515

Enforcing dtype in `K.zeros_like` for mask in `recursion` function. `K.zeros_like` failed to infer dtype of `mask` when a Masking layer is used.
@ashutoshsingh0223 ashutoshsingh0223 merged commit 239c8bb into master Sep 12, 2019
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

Successfully merging this pull request may close these issues.

Error while adding mask_zero=True
1 participant