Use torch.cat to concatenate tensors x and y in the last dimension. ... in one epoch idx = torch.randperm(self.n) # resampling to approximate the sampling ...
確定! 回上一頁