When a network processes a whole batch of examples at once, a layer computes
where stores one example per row, holds the layer's weights, and the bias row vector is added to every row of .
Here is a batch of two examples, each with three features:
Layer 1 maps features to units:
Layer 2 takes layer 1's output and maps units to units:
So the forward pass is
Report the sum of all four numbers in the final output matrix .
Your answer is a whole number.
Once you get it right, the reasoning behind the answer shows up here.