Skip to content

Commit bb48409

Browse files
saitcakmakfacebook-github-bot
authored andcommitted
Fix missing import in tutorial (#2065)
Summary: Pull Request resolved: #2065 Looks like land checks ignored OSS failure Reviewed By: Balandat Differential Revision: D50524118 fbshipit-source-id: 71be92193becb49cd3ec3670333654c1d63d3f81
1 parent 4757178 commit bb48409

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/custom_botorch_model_in_ax.ipynb

+3
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,16 @@
8888
},
8989
"outputs": [],
9090
"source": [
91+
"from typing import Optional\n",
92+
"\n",
9193
"from botorch.models.gpytorch import GPyTorchModel\n",
9294
"from botorch.utils.datasets import SupervisedDataset\n",
9395
"from gpytorch.distributions import MultivariateNormal\n",
9496
"from gpytorch.kernels import RBFKernel, ScaleKernel\n",
9597
"from gpytorch.likelihoods import GaussianLikelihood\n",
9698
"from gpytorch.means import ConstantMean\n",
9799
"from gpytorch.models import ExactGP\n",
100+
"from torch import Tensor\n",
98101
"\n",
99102
"\n",
100103
"class SimpleCustomGP(ExactGP, GPyTorchModel):\n",

0 commit comments

Comments
 (0)