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

Implement PRELU as a binary operator instead of a one-off operator type #7034

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 6, 2024

  1. Implement PRELU as a binary operator instead of a one-off operator type

    This improves things in a few ways:
    - Removes a one-off operator implementation in favor of just using a standard binary operator.
    - The old PRELU packed weights, the new implementation just uses broadcasting like any other binary operator.
    - This should be more flexible and avoids initialization overhead and memory usage.
    
    PiperOrigin-RevId: 668770049
    dsharletg authored and xnnpack-bot committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    66de398 View commit details
    Browse the repository at this point in the history