-
-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Description
Motivation and description
The attached is actually a jupyter notebook, but I saved with a .txt extension to upload.
In summary, I defined two functions
f₁(x) = sum(abs2, exp.(log.(x) .* (1:length(x))))
f₂(x) = sum(abs2, x.^(1:length(x)))
Their gradients agree on the CPU. When the argument is on the GPU, the first function's gradient is consistent with the CPU calculation, the later function throws an exception.
Possible Implementation
No response
Metadata
Metadata
Assignees
Labels
No labels