Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Butsko Christina committed Nov 19, 2024
1 parent a53b5de commit fcfef83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,9 @@ def forward(x, dynamic_world, mask):
x, orig_indices, upd_mask = self.forward_encoder(
x, dynamic_world, mask, eval_task=False
)
x = self.model.decoder.add_masked_tokens(x.to(device), orig_indices.to(device), upd_mask.to(device))
x = self.model.decoder.add_masked_tokens(
x.to(device), orig_indices.to(device), upd_mask.to(device)
)
return self.model.decoder.reconstruct_inputs(x)

batch_size, timesteps = 2, 3
Expand Down

0 comments on commit fcfef83

Please sign in to comment.