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] Handle ndarray_size in FoldConstant #6156

Merged
merged 2 commits into from
Jul 28, 2020

Conversation

lixiaoquan
Copy link
Contributor

@lixiaoquan lixiaoquan commented Jul 28, 2020

@icemelon9 @MarisaKirisame Could you please review? Thanks

return ConstEvaluate(ret);
}

bool GetConstantShape(const Expr& input, tvm::Array<IndexExpr>* ishape) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use optional.

@MarisaKirisame MarisaKirisame merged commit 44ff1f3 into apache:master Jul 28, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
* [Relay] Handle ndarray_size in FoldConstant

* Use Optional
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
* [Relay] Handle ndarray_size in FoldConstant

* Use Optional
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
* [Relay] Handle ndarray_size in FoldConstant

* Use Optional
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Sep 2, 2020
* [Relay] Handle ndarray_size in FoldConstant

* Use Optional
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 3, 2020
* [Relay] Handle ndarray_size in FoldConstant

* Use Optional
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