Skip to content

Conversation

@Lunderberg
Copy link
Contributor

Prior to this commit, the relax.op.take only allowed tensors as the indices argument. This commit extends R.take to also allow the index to be a relax::PrimValue.

Prior to this commit, the `relax.op.take` only allowed tensors as the
`indices` argument.  This commit extends `R.take` to also allow the
index to be a `relax::PrimValue`.
@Lunderberg Lunderberg requested a review from masahi April 27, 2024 01:20
@Lunderberg Lunderberg merged commit 081c23b into apache:main Apr 28, 2024
@Lunderberg Lunderberg deleted the relax_prim_value_as_take_index branch April 28, 2024 17:49
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.

3 participants