Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay][Frontend][TFLite] Add constant input support for elemwise ops #4666

Merged
merged 2 commits into from
Jan 15, 2020

Conversation

wyc-ruiker
Copy link
Contributor

TFLite elementwise ops (like ADD, MUL, etc.) only support rhs_expr is a constant value. But lhs_expr can also be a constant value.
In fact, the other ops like RESHAPE can also have a constant value as input. But there are too many cases to be modified. We need more discuss for in_expr = self.get_expr(input_tensor_idx) in every operator.

@tqchen
Copy link
Member

tqchen commented Jan 10, 2020

please request reviews by at reviewers

@wyc-ruiker
Copy link
Contributor Author

Could you check this PR, @kevinthesun @FrozenGene

@tqchen tqchen merged commit 83da72f into apache:master Jan 15, 2020
@tqchen
Copy link
Member

tqchen commented Jan 15, 2020

Thanks @wyc-ruiker @FrozenGene

alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 26, 2020
…apache#4666)

* [Relay][Frontend][TFLite] Add constant input support for elemwise ops

* modify in tflite.py
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 28, 2020
…apache#4666)

* [Relay][Frontend][TFLite] Add constant input support for elemwise ops

* modify in tflite.py
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2020
…apache#4666)

* [Relay][Frontend][TFLite] Add constant input support for elemwise ops

* modify in tflite.py
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.

3 participants