I am currently working on class Embedding() in PyTorch and I looked at its implementation.
In the forward() method, it calls the F.embedding() method: https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/sparse.py#L124 9.
Then I found that F.embedding() method finally calls the torch.embedding() method: https://github.com/pytorch/pytorch/blob/master/torch/nn/functional.py#L1814 3.
However, I could not find where is the implementation of the method torch.embedding().
Could someone help me, please?
Thanks!