← Questions
MLP tensor shapes and PyTorch broadcasting
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Given a small multi-layer perceptron and a batch of inputs, write down the shape of every weight, bias, activation and gradient. Then explain PyTorch's broadcasting rules, how the bias is broadcast across the batch, and the shape bugs broadcasting can hide.
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
