gpytorch
gpytorch copied to clipboard
Start adding typing annotations to ExactGP
This pull request does 3 things:
-
It starts adding typing annotations to ExactGP.
-
It standardize
super()
calls:# old super(ExactGP, self).foo() # new super().foo()
-
It fixes the error message in
ExactGP.__call__()
to clarify that it only needstrain_inputs
to be given. It is OK fortrain_outputs=None
.