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

fix a bug in leakyReLU #48265

Closed
wants to merge 1 commit into from
Closed

Commits on Nov 19, 2020

  1. fix a bug in leakyReLU

    Summary: The scale variable needs to be a scalar, otherwise it will report the following error: "RuntimeError: Cannot input a tensor of dimension other than 0 as a scalar argument"
    
    Test Plan: Tested locally and the error disappeared.
    
    Reviewed By: jerryzh168
    
    Differential Revision: D25094562
    
    fbshipit-source-id: ad9803afb4d650585ca291d823003326e3f8342f
    Zhi-Zheng Wu authored and facebook-github-bot committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    082abf8 View commit details
    Browse the repository at this point in the history