Skip to content

Commit

Permalink
suppress errors in ax (#1142)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #1142

Differential Revision: D39534094

fbshipit-source-id: 3d711fbc9e187fc6e751f905fb31e58b7a2a3c5e
  • Loading branch information
Pyre Bot Jr authored and facebook-github-bot committed Sep 15, 2022
1 parent a16e66b commit d3d3ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ax/models/torch/alebo.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def forward(
# Compute kernel distance
z1 = torch.matmul(x1, U_t)
z2 = torch.matmul(x2, U_t)
# pyre-fixme[7]: Expected `Tensor` but got `Union[LinearOperator, Tensor]`.
return self.covar_dist(
z1,
z2,
Expand Down

0 comments on commit d3d3ca1

Please sign in to comment.