Skip to content

Commit

Permalink
Merge branch 'lanl:development' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
shinkle-lanl authored Jan 22, 2024
2 parents 2423590 + 8e99f0e commit a630f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hippynn/layers/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def forward(self, features, species):

class VecMag(torch.nn.Module):
def forward(self, vector_feature):
return torch.norm(vector_feature, dim=1).unsqueeze(1)
return torch.norm(vector_feature, dim=1)


class CombineEnergy(torch.nn.Module):
Expand Down

0 comments on commit a630f14

Please sign in to comment.