Skip to content

[RELAY][EXPR] Make const numpy consistent - #2349

Merged
tqchen merged 4 commits into
apache:masterfrom
tqchen:master
Dec 29, 2018
Merged

tqchen merged 4 commits into
apache:masterfrom
tqchen:master

Conversation

@tqchen

@tqchen tqchen commented Dec 28, 2018

Copy link
Copy Markdown
Member

This is PR tries to rectify the relay.const API, as well as tvm's low-level API to be numpy consistent. This means 1 integer now maps to int64 and float 1.0 now maps to float64.

Although this choice will make some uncomfortableness in the short term, hopefully this will be better for the users in the long run.

cc @were @jroesch

@jroesch

jroesch commented Dec 28, 2018

Copy link
Copy Markdown
Member

I think this is a great change.

I've run into this problem multiple times, and having a consistent default would be good.

@tqchen
tqchen merged commit 6d1f4c0 into apache:master Dec 29, 2018
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Jan 10, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
tqchen added a commit to tqchen/tvm that referenced this pull request Mar 29, 2020
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.

2 participants