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

Make sparse tensors csr instead of coo when return_sparse_X=True #1120

Open
pablo-gar opened this issue Apr 30, 2024 · 0 comments
Open

Make sparse tensors csr instead of coo when return_sparse_X=True #1120

pablo-gar opened this issue Apr 30, 2024 · 0 comments
Assignees
Labels
P1 Priority 1 - Improvement with wide impact, fix within 1 week python api Related to the API pytorch user request

Comments

@pablo-gar
Copy link
Collaborator

When this parameter is set to True, make the tensor csr instead of coo

https://github.com/chanzuckerberg/cellxgene-census/blob/34d4dc0dc08602f1b444b36c44ee50d59111f7ed/api/python/cellxgene_census/src/cellxgene_census/experimental/ml/pytorch.py#L229C9-L229C24

cc @martinkim0

@pablo-gar pablo-gar added python api Related to the API P1 Priority 1 - Improvement with wide impact, fix within 1 week user request pytorch labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Priority 1 - Improvement with wide impact, fix within 1 week python api Related to the API pytorch user request
Projects
None yet
Development

No branches or pull requests

2 participants