Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to gpflow 2.5.1 #550

Merged
merged 5 commits into from
May 4, 2022
Merged

Update to gpflow 2.5.1 #550

merged 5 commits into from
May 4, 2022

Conversation

uri-granta
Copy link
Collaborator

No description provided.

@uri-granta uri-granta requested a review from hstojic May 4, 2022 11:59
Copy link
Collaborator

@hstojic hstojic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, I had only one small question...

@@ -952,6 +952,7 @@ def update(self, dataset: Dataset) -> None:
)

num_data = dataset.query_points.shape[0]
assert self.model.num_data is not None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats this bit about?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

num_data is optional for svgp, though the call to self._ensure_variable_model_data ensures that we always have a variable to assign to here. The assert makes the type checker happy that this is the case.

@uri-granta uri-granta merged commit 1e43511 into develop May 4, 2022
@uri-granta uri-granta deleted the uri/update_to_gpflow_2_5_1 branch May 4, 2022 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants