Encoding a Feature Vector for PyTorch Deep Learning (3.3)