That's not looking at the weights. The other response pointing at https://scikit-learn.org/stable/auto_examples/neural_network... was more what the OP meant.