The version of my torch is 1.10.1, why did this happen
I cannot reproduce the issue and the method is available in 1.10.0
as well as 1.10.1
:
>>> import torch
>>> torch.__version__
'1.10.0+cu113'
>>> torch.searchsorted
<built-in method searchsorted of type object at 0x7f141a8a61e0>
>>> import torch
>>> torch.__version__
'1.10.1+cu113'
>>> torch.searchsorted
<built-in method searchsorted of type object at 0x7f5e7b2371e0>