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

[FIX] Sparse2CorpusSliceable: add support for np.ndarray as key #737

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

PrimozGodec
Copy link
Collaborator

@PrimozGodec PrimozGodec commented Oct 25, 2021

Issue

Fixes #735

Description of changes

When implementing __getitems__ for Sparse2CorpusSliceable I forgot for the scenario when the key is np.ndarray instead of a list. Adding this option.

Includes
  • Code changes
  • Tests
  • Documentation

@ajdapretnar ajdapretnar merged commit a902166 into biolab:master Oct 25, 2021
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.

Selection by indices broken for sparse data
2 participants