Skip to content

zeckendorf-prune 0.2.1

Choose a tag to compare

@ezexe ezexe released this 23 Sep 14:33
· 354 commits to main since this release
  • Fix: prune_head=False now leaves the model's last Conv2d/Linear layer
    (the classifier head) dense whatever layer_types selects. 0.2.0 left
    the last layer_types match dense instead, so layer_types=(nn.Conv2d,)
    kept the last conv whole (ResNet-18 on CIFAR-10: 60.3% conv density
    over 19 layers instead of about 50% over 20).
  • New test for the conv-only case.