Skip to content

Commit 52c0971

Browse files
committed
refactor(loss): extract shift_mu function and simplify onsite shift calculation
The shift_mu function was extracted to avoid code duplication across multiple loss classes. The onsite shift calculation was simplified by using a more accurate formula that accounts for both node and edge features.
1 parent 2bf34be commit 52c0971

File tree

1 file changed

+95
-139
lines changed

1 file changed

+95
-139
lines changed

0 commit comments

Comments
 (0)