The partition function of the hidden units is not affected by
the bottom-up and top-down weights. It depends only on the
lateral interactions between hidden units.