feature is usually an array, target is usually the label.
You can ignore the target if you dont want it.
See an example for a custom data loader here:
https://github.com/QuantScientist/Deep-Learning-Boot-Camp/blob/master/day%2002%20PyTORCH%20and%20PyCUDA/PyTorch/09%20PyTorch%20Kaggle%20Image%20Data-set%20loading%20with%20CNN.ipynb 125
https://github.com/QuantScientist/Deep-Learning-Boot-Camp/blob/master/day%2002%20PyTORCH%20and%20PyCUDA/PyTorch/21-PyTorch-CIFAR-10-Custom-data-loader-from-scratch.ipynb 96