How to get the partial derivative of the output data with the middle layer data

Presumably label contains the labels as class identifier numbers, not as a 1-hot encoding.

1 Like