Skip to content

Commit 0842cbb

Browse files
authored
Merge pull request #546 from Adam27X/patch-1
Pad cyclic_period to ensure tensors passed to forward have a static size
2 parents c9b6af1 + ab3b088 commit 0842cbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/boltz/data/feature/featurizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ def process_token_features(
644644
resolved_mask = pad_dim(resolved_mask, 0, pad_len)
645645
disto_mask = pad_dim(disto_mask, 0, pad_len)
646646
pocket_feature = pad_dim(pocket_feature, 0, pad_len)
647+
cyclic_period = pad_dim(cyclic_period, 0, pad_len)
647648

648649
token_features = {
649650
"token_index": token_index,

0 commit comments

Comments
 (0)