getLogger(__name__) class BatchSampler(torch.utils.data.sampler. ... if self.shuffle is True: idx = torch.randperm(self.n_obs).tolist() else: idx ...
確定! 回上一頁