Closed allaffa closed 1 year ago
Looks alright to me. One minor thing is why need x.to(torch.float) in line 105 given x is already float? Maybe do the conversion for atomicdescriptors_torch_tensor
x.to(torch.float)
x
atomicdescriptors_torch_tensor
@pzhanggit this conversion was already in the older version of the routine. https://github.com/ORNL/HydraGNN/blob/c78e7ac5ecd79788b54c1f60253e57f6eaf9d738/hydragnn/utils/smiles_utils.py
I did not change this conversion in this PR only because this is not the object of the PR. :-) I made a small change in this regard. :)
@pzhanggit this conversion was already in the older version of the routine. https://github.com/ORNL/HydraGNN/blob/c78e7ac5ecd79788b54c1f60253e57f6eaf9d738/hydragnn/utils/smiles_utils.py
I did not change this conversion in this PR only because this is not the object of the PR. :-) I made a small change in this regard. :)