Intel_Novel:

Looks like no internal conversion as I can see and I would say it is better to feed with Tensors because this way we can relay on cuda stuff.
Any comments?


No conversion is made. You are right, I’d recommend you to use Tensors instead of Numpy arrays. I encourage you to spend some time checking out the implementation of Dataset and Dataloaders 16, it’s pure Python. You will see eventually that no conversion is made.



 Intel_Novel:

Further check shows that the feed element need to be a sequence. Any kind of sequence where insde are numeric values.


As I said, the object must have at least the methods len and getitem defined, otherwise it won’t work. For instance, the method getitem in what allows you to use the brackets operator:
>>> [1, 2, 3].__getitem__(1)
2
>>> [1, 2, 3][1]
2
>>>