When a network processes a whole batch of examples at once, a layer computes
Z=XW+b
where X stores one example per row, W holds the layer's weights, and the bias row vector b is added to every row of XW.
Here is a batch of two examples, each with three features:
X=[1−12302]
Layer 1 maps 3 features to 2 units:
W1=201−134,b1=[1−2]
Layer 2 takes layer 1's output and maps 2 units to 2 units:
W2=[13−21],b2=[05]
So the forward pass is
H=XW1+b1,O=HW2+b2
Report the sum of all four numbers in the final output matrix O.
Your answer is a whole number.