Skip to content

Commit

Permalink
CASTER: typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Nikolov committed Feb 3, 2022
1 parent 8205759 commit a9aaae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chemicalx/models/caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def dictionary_encoder(
r = drug_pair_features_latent[:, None, :].matmul(dict_feat_closed_form.transpose(2, 1)).squeeze(1)
return r

def forward(self, drug_pair_features: torch.FloatTensor) -> Tuple[torch.FloatTensor]:
def forward(self, drug_pair_features: torch.FloatTensor) -> Tuple[torch.FloatTensor, ...]:
"""Run a forward pass of the CASTER model.
:param drug_pair_features: functional representation of each drug pair (see unpack method)
Expand Down

0 comments on commit a9aaae8

Please sign in to comment.