區別在於,torch要將設置值全部改爲Tensor類型的 mask_true = torch.where(torch.isnan(y_true), torch.full_like(y_true, 0), ...
確定! 回上一頁