edu
edu copied to clipboard
Use .modules in parameter pruning in performance/pruning_cnn
See projects/constrained_emotion_classifier.ipynb for an example. This is better than the name-sensitive style being used elsewhere.
Worth looking at other places where I iterate over components of a module (parameters, buffers) and seeing whether .modules is a better choice.