1. A method for forming a semiconductor device, the method comprising: sequentially depositing a semiconducting layer, a top insulating layer, and a shunting layer onto a base insulating layer; and etching selective portions of the top insulating layer corresponding to resistance values associated with weights of a crossbar that implements a neural network.