Skip to content

Interventions leading dims - #80

Merged
pietrobarbiero merged 5 commits into
pyc-team:devfrom
pietrobarbiero:interventions-leading-dims
Sep 25, 2026
Merged

pietrobarbiero merged 5 commits into
pyc-team:devfrom
pietrobarbiero:interventions-leading-dims

Conversation

@pietrobarbiero

Copy link
Copy Markdown
Collaborator

Now interventions can be applied even when tensors have weird leading dims

@pietrobarbiero
pietrobarbiero merged commit 762e903 into pyc-team:dev Sep 25, 2026
1 check passed
@codecov

codecov Bot commented Sep 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.69014% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ncepts/nn/modules/low/intervention/intervention.py 65.21% 4 Missing and 4 partials ⚠️
torch_concepts/nn/modules/low/base/intervention.py 86.48% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

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