It looks like torch.lerp 30 function is available but torch.slerp does not exist in PyTorch 1.0. 
I’m inspired to try its implementation from Sampling Generative Networks 12 paper for interpolation in latent space. Also recently introduced GAN 2.0 6 by NVIDIA also does Slerp 19 interpolation.
Has anyone implemented Slerp 19 in PyTorch? Here is a NumPy code snippet 9 on Wikipedia for reference but I’m new to Slerp 19 function so don’t understand what changes do I need to make to make it work in PyTorch…
Please help! @smth suggested me to look here for help from PyTorch issue 3 I created earlier.
I think it should be implemented right into PyTorch >=1.0. What do you think? Please vote below as per your preferences:
 Implement Don’t Implement8votersVotes are public.Show results