pydata / pydata/sparse

Support Tensor views

Open
#786 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
668
Forks
141
Avg merge
2d 8h
Merged PRs (30d)
4

Description

MLIR backend should support Tensor views so that operations, such as slicing, indexing, and broadcasting, don't create a copy.

For example broadcast_to (https://github.com/pydata/sparse/pull/782) should support it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the MLIR backend and the implementation of tensor operations such as slicing, indexing, broadcasting, and broadcast_to. Review the behavior described in pull request 782. Done means these operations support Tensor views without creating copies.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.