Skip to content

Fixes to ContextMMDDrift mypy errors and examples#466

Merged
ascillitoe merged 2 commits intoSeldonIO:masterfrom
ascillitoe:context_drift_fixes
Mar 17, 2022
Merged

Fixes to ContextMMDDrift mypy errors and examples#466
ascillitoe merged 2 commits intoSeldonIO:masterfrom
ascillitoe:context_drift_fixes

Conversation

@ascillitoe
Copy link
Contributor

  • Supresses the mypy errors in ContextMMDDriftTorch. These occur because we type x and c as np.ndarray in the method signature, but then cast them to torch.Tensor. The relevant lines could be unsuppressed in the future if we allow mypy redefinitions.

  • An issue with the heading levels in the example notebooks is fixed.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ascillitoe ascillitoe merged commit a6a3756 into SeldonIO:master Mar 17, 2022
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.

1 participant