Skip to content

Commit

Permalink
Update new.py (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyericardo authored and zasdfgbnm committed Dec 13, 2019
1 parent be84845 commit abc8f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchani/data/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def collate_fn(data, chunk_threshold, properties_info):
if properties_info['padding_values'][i] is None:
prop = torch.stack(prop)
else:
prop = torch.nn.utils.rnn.pad_sequence(batch_species,
prop = torch.nn.utils.rnn.pad_sequence(prop,
batch_first=True,
padding_value=properties_info['padding_values'][i])
# sort with number of atoms
Expand Down

0 comments on commit abc8f7f

Please sign in to comment.