Skip to content

Add MaskedLinearOperator#69

Merged
gpleiss merged 5 commits intocornellius-gp:mainfrom
Turakar:masked_linear_operator
Jul 6, 2023
Merged

Add MaskedLinearOperator#69
gpleiss merged 5 commits intocornellius-gp:mainfrom
Turakar:masked_linear_operator

Conversation

@Turakar
Copy link
Contributor

@Turakar Turakar commented Jun 7, 2023

For cornellius-gp/gpytorch#2288

This PR adds a new MaskedLinearOperator (documented, tested, linted), that supports wrapping a base LinearOperator using two boolean masks, one for the rows and one for the columns.

I also changed LinearOperator.type() to only work on floating-point types and ignore integral arguments, to avoid workarounds like they were present in InterpolatedLinearOperator.

@Turakar Turakar marked this pull request as draft June 7, 2023 13:03
@Turakar Turakar marked this pull request as ready for review June 7, 2023 16:28
@gpleiss gpleiss merged commit 4e4ec54 into cornellius-gp:main Jul 6, 2023
@Turakar Turakar deleted the masked_linear_operator branch July 16, 2023 11:39
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

Comments