Abstract neural network PSD