How would one implement a two-state or analog Hopfield network model, exploring its capacity as a function of the dimensionality N using the outer product learning rule? I a