Abstract: A neural network system includes a neural network circuit including first memory cells arranged in an array; and a self-referencing circuit electrically connected to a row line or a column line of the neural network circuit and configured to apply current to the connected row line or column line so that a plurality of target memory cells have preset target weights, wherein the target memory cells include all memory cells positioned on the row line or the column line to which the self-referencing circuit is connected.