dgl icon indicating copy to clipboard operation
dgl copied to clipboard

Sparse Ops: Submatrixing

Open jimjlu99 opened this issue 2 years ago • 2 comments

🔨Work Item

IMPORTANT:

  • This template is only for dev team to track project progress. For feature request or bug report, please use the corresponding issue templates.
  • DO NOT create a new work item if the purpose is to fix an existing issue or feature request. We will directly use the issue in the project tracker.

Project tracker: https://github.com/orgs/dmlc/projects/2

Description

  • A.submat(I, J), return induced submatrix (sparse)

Depending work items or issues

jimjlu99 avatar Aug 16 '22 21:08 jimjlu99

I suggest unifying the interface with slicing:

A[row_indices, col_indices]  # get submatrix corresponding to given rows/cols.

yzh119 avatar Aug 28 '22 01:08 yzh119

This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you

github-actions[bot] avatar Oct 08 '22 01:10 github-actions[bot]