Skip to content

Maxence/mlp like sequential container#253

Open
maxencelebaron wants to merge 7 commits into
growingnet:mainfrom
maxencelebaron:maxence/mlp-like-sequential-container
Open

Maxence/mlp like sequential container#253
maxencelebaron wants to merge 7 commits into
growingnet:mainfrom
maxencelebaron:maxence/mlp-like-sequential-container

Conversation

@maxencelebaron
Copy link
Copy Markdown
Collaborator

This PR refactors the growing MLP containers by turning them into SequentialGrowingContainer objects.

The goal is to simplify the implementation of functions manipulating the models by avoiding architecture-specific case distinctions.

  • Refactored:

    • growing_mlp.py
    • growing_mlp_mixer.py
    • growing_residual_mlp.py
  • Converted the corresponding model structures to SequentialGrowingContainer.

This makes downstream model manipulation code cleaner and more generic.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 94.41% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/gromo/containers/growing_mlp.py 100.00% <100.00%> (ø)
src/gromo/containers/growing_mlp_mixer.py 96.62% <100.00%> (ø)
src/gromo/containers/growing_residual_mlp.py 83.80% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant