Our outputŷ = a [2] , so we can rephrase this as L CE (a [2] , y) = − y log a [2] Figure 7 .17 Sample computation graph for a simple 2-layer neural net (= 1 hidden layer) with two input dimensions and 2 hidden dimensions.