PyTorch torch.nn library and the difference between nn and nn.functional
Educational 53Machine Learning 1Technology 46tutorial 30 activation functions Buffers Conv2d Dropout Linear load_state_dict loss functions nn.functional nn.Module nn.Sequential Parameters state_dict torch.nn
Tutorial explaining PyTorch’s torch.nn library and the differences between nn (module classes) and nn.functional (functional interfaces). Covers Parameters and ParameterList/ParameterDict, common layers (Conv2d, Linear, ReLU, MaxPool), containers (Sequential, ModuleList, ModuleDict), differences between parameters and buffers, dropout behavior in train/eval, and state_dict/load_state_dict usage.