Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
willdumm committed Nov 15, 2024
1 parent 25173c6 commit eec4802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,9 @@ def forward(self, amino_acid_indices: Tensor, mask: Tensor) -> Tensor:
if self.output_dim == 1:
return self.single_value.expand(amino_acid_indices.shape)
else:
return self.single_value.expand(amino_acid_indices.shape + (self.output_dim,))
return self.single_value.expand(
amino_acid_indices.shape + (self.output_dim,)
)


class HitClassModel(nn.Module):
Expand Down

0 comments on commit eec4802

Please sign in to comment.