hi , I am trying to adapt the code for a neural network with 784 neuron in input layer and 9 neuron…

hi ,
I am trying to adapt the code for a neural network with 784 neuron in input layer and 9 neuron in output layer and 4 neuron in hidden layer.
Actually I am using 28×28 images of emnist dataset as input and classifying letters A (output = [1,0,…,0])to I(output = [0,0,…,1]).

So , I am stuck when I try to transpose training_set_outputs as it is a list of arrays.
Please suggest.
Thanks.

Source: Deep Learning on Medium