Closed praeclarum closed 1 year ago
Turns out WebGPU pow
does not handle negative inputs even when the exponent is an integer.
Put in special logic to detect this: https://github.com/praeclarum/webgpu-torch/commit/0f1c13c564af9c8b0d07c329f0f55d16c629d511
NaNs show up in the result.