Skip to content

Conversation

@Austinrg14
Copy link

  • Added the HessianNode, HVPVectorNode, HVPNode, and TrueHVPNode classes in hippynn/graphs/nodes/physics.py

  • Added the Hessian, HVPVector, HVP, and TrueHVP modules in hippynn/layers/physics.py

  • Modified the h6_pyanitools.py in hippynn/databases/ to be compatible with the Hessian matrices with shape (B, 3N, 3N). It now pads dimensions with sizes that are any multiple of N.

  • Modified the WeightedMSELoss function in hippynn/layers/algebra.py so that it checks if the weights and the losses have the same shape and makes sure the mask dtype is equal to the unweighted loss dtype

  • Added the training script for Hessian training (hessian_training.py) in the examples directory

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.

2 participants