Skip to content
ml-recall

#state-dict

5 questions from Deep Learning Frameworks, PyTorch

Timed test

5 questions · 5 min · score and explanations at the end

Take a test
Q 1 / 5Score 0 / 0

Question 1: Short answer

mediumAI-checkedDeep Learning Frameworks
bn = nn.BatchNorm1d(10)
print(sum(p.numel() for p in bn.parameters()), len(bn.state_dict()))

The line prints (trainable numbers) and (entries of the state dict).

Fill in every blank (hints in the boxes). Enter moves to the next blank.