Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
18e63f1c
Unverified
Commit
18e63f1c
authored
Oct 15, 2019
by
Farhad Ramezanghorbani
Committed by
GitHub
Oct 15, 2019
Browse files
Update utils.py (#338)
parent
053f0863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torchani/utils.py
torchani/utils.py
+2
-2
No files found.
torchani/utils.py
View file @
18e63f1c
...
@@ -215,8 +215,8 @@ class EnergyShifter(torch.nn.Module):
...
@@ -215,8 +215,8 @@ class EnergyShifter(torch.nn.Module):
"""(species, molecular energies)->(species, molecular energies + sae)
"""(species, molecular energies)->(species, molecular energies + sae)
"""
"""
species
,
energies
=
species_energies
species
,
energies
=
species_energies
sae
=
self
.
sae
(
species
).
to
(
energies
.
dtype
).
to
(
energies
.
device
)
sae
=
self
.
sae
(
species
).
to
(
energies
.
device
)
return
species
,
energies
+
sae
return
species
,
energies
.
to
(
sae
.
dtype
)
+
sae
class
ChemicalSymbolsToInts
:
class
ChemicalSymbolsToInts
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment