Update compute.md

If I'm not mistaken, that's the correct API