The most general framework of continuous Hopfield neural networks