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?
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?