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

[Feature Request]: Add mask management to BatchNormalization layer #1198

Open
Utanapishtim31 opened this issue Oct 18, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Utanapishtim31
Copy link

Background and Feature Description

BatchNormalization output is sensitive to masking. Masking should be handled in the same way as RNN layers.

The mask tensor should be detected as an input of the BatchNormalization layer by the dependency detection mechanism to avoid the current exceptions raised when a Mask is declared for RNN layers. The same fix should be done for the RNN layers.

API Definition and Usage

public class BatchNormalizationOptionalArgs : IOptionalArgs
{
    public string Identifier => "BatchNormalization";
    public Tensor Mask { get; set; }
}

Alternatives

No response

Risks

Minimal

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

No branches or pull requests

2 participants