Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Enforcing dtype in K.zeros_like for mask - #517

Open
ashutoshsingh0223 wants to merge 1 commit into
keras-team:masterfrom
ashutoshsingh0223:ashutoshsingh0223-patch-1
Open

ashutoshsingh0223 wants to merge 1 commit into
keras-team:masterfrom
ashutoshsingh0223:ashutoshsingh0223-patch-1

Conversation

@ashutoshsingh0223

Copy link
Copy Markdown

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.

Passed dtype of mask as parameter to K.zeros_like

This pull request fixes #498 and #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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error while adding mask_zero=True

1 participant