Which API can I use to instead of torch.multinomial

Qualcomm QNN / SNPE didn’t support torch.multinomial ops .
May I get to know which API I can use it for insteading of torch.multinomial.

Either C++ or python language is fine .