Hi,
In the current master branch (not sure if it is in 0.3), there is a torch.where that corresponds to np.where.
You can get argmin from the min operation when you specify a dimension: min_val, min_ind = tensor.min(dim=0). If you want to get the 2D coordinate of the minimum of a 2D tensor, you’ll have to apply the min function twice.