First, we import PyTorch. rand() function with shape passed as argument to the ... converting an integer index set to a Boolean mask for the entire dataset.
確定! 回上一頁