I am wondering how can I make use of torch.scatter_() or any other built-in masking function for this one-hot masking task-
torch.scatter_()
I have two tensors-