torchinterp1d icon indicating copy to clipboard operation
torchinterp1d copied to clipboard

Use torch.searchsorted()

Open krihabu opened this issue 5 years ago • 3 comments

Hi! The new version of PyTorch contains a searchsorted function: https://pytorch.org/docs/master/generated/torch.searchsorted.html

Are there any plans to integrate it in your code and loose the dependency of your own torchsearchsorted module?

krihabu avatar Jul 06 '20 15:07 krihabu

hi yes indeed, at last! I'll be glad to abandon the dependency on my searchsorted to switch to pytorch no time noW though, feel free to PR this, it should be a minor change

aliutkus avatar Jul 06 '20 22:07 aliutkus

I already changed it locally, so that should be no problem. It's not yet in the latest stable release though, do you want to wait for that?

krihabu avatar Jul 07 '20 07:07 krihabu

Since torch.searchsorted is now in the stable release, I made PR #9

xeTaiz avatar Aug 05 '20 08:08 xeTaiz