The optoelelectronical implemention of Hopfield neural network with an active interconnection matrix parallelly assembled by training vector is proposed in this paper. Unlearning, attention and forgetting can be realized and experimental results are given.