edu icon indicating copy to clipboard operation
edu copied to clipboard

Use .modules in parameter pruning in performance/pruning_cnn

Open charlesfrye opened this issue 4 years ago • 1 comments

See projects/constrained_emotion_classifier.ipynb for an example. This is better than the name-sensitive style being used elsewhere.

charlesfrye avatar Jun 08 '21 03:06 charlesfrye

Worth looking at other places where I iterate over components of a module (parameters, buffers) and seeing whether .modules is a better choice.

charlesfrye avatar Jun 08 '21 03:06 charlesfrye