Skip to content

Semantic fixes for backpropagation and improved graph representation - #27

Merged
nhornischer merged 11 commits into
mainfrom
nhornischer-backprop-fixes
Sep 11, 2026
Merged

nhornischer merged 11 commits into
mainfrom
nhornischer-backprop-fixes

Conversation

@nhornischer

Copy link
Copy Markdown
Member

This PR introduces fixes to both backpropagation semantic and graph representations. Including fixes to parallel edge creation (Closes #25), catching of wrong input types to backpropagation (Closes #26), handling gradients with respect to itself by introducing seeds (Closes #20), and handling shared vectors (Closes #19)

@nhornischer nhornischer self-assigned this Sep 11, 2026

@erikscheurer erikscheurer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@nhornischer
nhornischer merged commit 518f317 into main Sep 11, 2026
2 checks passed
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.

Invalid inputs to back propagation are not catched Bugs in graph representation Missing scalar self-gradient Incorrect PETSc vector accumulation

2 participants