Skip to content

Conversation

@lixiaoquan
Copy link
Contributor

@lixiaoquan lixiaoquan commented Nov 10, 2020

tensor_array_scatter constructs helper functions according to dtype
and shape of element. When there are multiple scatter operations with
same dtype and element shape but different indicies_shape, there will
be name conflict in prelude.
@kevinthesun @zhiics Please take a look, thanks.

@tqchen
Copy link
Member

tqchen commented Nov 12, 2020

cc @mbrookhart @jroesch

@tqchen
Copy link
Member

tqchen commented Dec 10, 2020

ping @lixiaoquan @kevinthesun please followup

@lixiaoquan
Copy link
Contributor Author

@kevinthesun Sorry for late reply, I've enhanced get_name, please take a look.

@lixiaoquan
Copy link
Contributor Author

@kevinthesun Could you please take a look again? Thanks

@masahi
Copy link
Member

masahi commented Jan 9, 2022

@lixiaoquan please fix the conflict, I'll merge this.

  tensor_array_scatter constructs helper functions according to dtype
  and shape of element. When there are multiple scatter operations with
  same dtype and element shape but different indicies_shape, there will
  be name conflict in prelude.
@lixiaoquan
Copy link
Contributor Author

@masahi It is rebased, thanks for reviewing

@masahi masahi merged commit a427efb into apache:main Jan 21, 2022
yuanfz98 pushed a commit to yuanfz98/tvm that referenced this pull request Jan 24, 2022
* [Relay] Fix a bug in tensor_array_scatter

  tensor_array_scatter constructs helper functions according to dtype
  and shape of element. When there are multiple scatter operations with
  same dtype and element shape but different indicies_shape, there will
  be name conflict in prelude.

* Refine get_name
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
* [Relay] Fix a bug in tensor_array_scatter

  tensor_array_scatter constructs helper functions according to dtype
  and shape of element. When there are multiple scatter operations with
  same dtype and element shape but different indicies_shape, there will
  be name conflict in prelude.

* Refine get_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants