First create a boolean mask to identify where your condition is true; ... When input is on CUDA, torch.nonzero() causes host-device ...
確定! 回上一頁