I am trying to figure out how to target certain model weights withtin my 1000x 1000 feed forward network in keras
>>>weights = loaded_model.layers.get_weights() >>> type(weights)  list >>> len(weights)  2 >>> weights.shape  (1000, 1000) >>> weights.shape  (1000,)
I know that weights is the layer biases for each input and that weights is the values for each the weights of each neural connection.
I am trying to get a list of all the connections weights for each neuron. The only problem is that I can't seem to figure out if I would need to pull the nth row of the (1000, 1000) weights matrix or the nth column of the (1000, 1000) weights matrix.
TLDR: is the weights for the input of the nth neuron located at (1000, n) or (n, 1000)