FindDefinition:

if all bottleneck functions in dataloader code are written in c++


Would this mean that the standard approach of using e.g. ImageFolder or a custom Dataset wouldn’t be suitable for this approach?
If so, I think it might be a great extension (so feel free to create a feature request on GitHub for it and explain your interest in implementing it).