Skip to content

Commit 6e1395d

Browse files
committed
Remove unnecessary num_outputs properties
Summary: These have become are unnecessary in non-multi-output models with D14709315. Let's remove them to keep things clean. Reviewed By: danielrjiang Differential Revision: D14839611 fbshipit-source-id: ebc8f547eab4c3253214253b034c5018d231b350
1 parent d122d4a commit 6e1395d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

botorch/models/gp_regression.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ def __init__(
7777
)
7878
self.to(train_X)
7979

80-
@property
81-
def num_outputs(self) -> int:
82-
return 1
83-
8480
def forward(self, x: Tensor) -> MultivariateNormal:
8581
mean_x = self.mean_module(x)
8682
covar_x = self.covar_module(x)

0 commit comments

Comments
 (0)