Skip to content

Conversation

@algorithm1832
Copy link
Contributor

PR Docs

torch.utils.data.ChainDataset
torch.utils.data.ConcatDataset
torch.utils.data.Dataset
torch.utils.data.IterableDataset
torch.utils.data.Sampler
torch.utils.data.SequentialSampler
torch.utils.data.Subset
torch.utils.data.get_worker_info
torch.utils.data.random_split

PR APIs

torch.utils.data.ChainDataset
torch.utils.data.ConcatDataset
torch.utils.data.Dataset
torch.utils.data.IterableDataset
torch.utils.data.Sampler
torch.utils.data.SequentialSampler
torch.utils.data.Subset
torch.utils.data.get_worker_info
torch.utils.data.random_split

@paddle-bot
Copy link

paddle-bot bot commented Jan 27, 2026

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Jan 27, 2026
@algorithm1832
Copy link
Contributor Author

Paddle PR: PaddlePaddle/Paddle#77451

Used AI Studio


torch.utils.data.default_collate我在上面的#77451也添加了别名paddle.utils.data.default_collate

但torch中它还有一种用法:torch.utils.data.dataloader.default_collate,这个用法在torch文档里面没有,好像是旧用法,但是PaConvert测试中出现了这个用法,我没加别名测试应该通不过,所以没改

@zhwesky2010 zhwesky2010 changed the title [API Compatibility] Add alias for paddle.utils.data [API Compatibility] Support torch.utils.data.* compatibility Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant