'does pytorch customed data set has to output tensor
In pytorch offical documentation, it does not mention what data type need the torch.utils.data.Dataset return. I need to know it so I can made my own customized dataset. Therefore I want to ask, does the instance of Dataset has return Tensors or other data type like numpy arrays can also be returned?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
