Computation by neural networks