def hopfield_energy(weight, input_data, output_data):
    return -0.5 * inner1d(input_data.dot(weight), output_data)
Compute Hopfield energy between input data, output data and
dataset/ETHPy150Open itdxer/neupy/neupy/algorithms/memory/utils.py/hopfield_energy