Skip to content

Commit b1a589d

Browse files
committed
fix
Signed-off-by: Onur Berk Töre <onurberk_t@hotmail.com>
1 parent bc65968 commit b1a589d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prototype_source/nestedtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def zipf_sentence_lengths(alpha: float, batch_size: int) -> np.ndarray:
453453

454454
# embeddings are assumed to be the same
455455
E = E_total
456-
mha_lib = torch.nn.MultiheadAttention(E, nheads, batch_first=True, device=device)
456+
mha_lib = torch.nn.MultiheadAttention(E, nheads, batch_first=True, device=device)
457457
mha_lib.eval()
458458

459459
######################################################################

0 commit comments

Comments
 (0)