【Hackathon 5th No.23】Add ConcatDataset API to Paddle by Patrick-Star125 · Pull Request #57720 · PaddlePaddle/Paddle
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
添加datasets的类型判断
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
具体是对什么类型做判断呢,判断是否为sequence(list、tuple)吗?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以加上typehint吗,Iterable[Dataset]表示Dataset是一个可迭代对象
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done