Skip to content

Gradient check fails?? #5

Description

@Miracle2333

I am able to build setup.py and run test_GPUpool without errors. But gradient check results are always wrong. And I got the following warnings:
UserWarning: At least one of the inputs that requires gradient is not of double precision floating point. This check will likely fail if all the inputs are not of double precision floating point. 'At least one of the inputs that requires gradient '
I check that the data type of X is float while that of spx is int.
Should spx be converted to float to pass the gradient check?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions