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][TOPI][OP] intel_graphics conv2d alterlayout support relay, added stack op #2729

Merged
merged 9 commits into from
Mar 6, 2019

Conversation

Laurawly
Copy link
Contributor

@Laurawly Laurawly commented Mar 4, 2019

Also concatenate op moved compute to align with other ops.

@Laurawly Laurawly requested review from tqchen and icemelon March 4, 2019 19:51
@Laurawly Laurawly requested a review from Huyuwei as a code owner March 4, 2019 19:51
@Laurawly Laurawly requested a review from yzhliu March 4, 2019 19:51
@Laurawly Laurawly changed the title [Relay][TOPI][OP] Intel graphics conv2d support relay, added stack op [Relay][TOPI][OP] intel_graphics conv2d alterlayout support relay, added stack op Mar 4, 2019
if F == sym:
out = F.contrib.conv2d_NCHWc(*copy_inputs, **new_attrs)
else:
out = F.nn.contrib_conv2d_nchwc(*copy_inputs, **new_attrs)
Copy link
Member

Choose a reason for hiding this comment

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

does it work? Conv2dAttr contains layout in nnvm while in Relay the name is data_layout though

Copy link
Contributor Author

@Laurawly Laurawly Mar 5, 2019

Choose a reason for hiding this comment

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

@yzhliu It seems working for me. relay.nn.contrib_conv2d_nchwc

Copy link
Member

Choose a reason for hiding this comment

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

oh yes, because it is copy, relay copies to relay, nnvm copies to nnvm.

@Laurawly Laurawly requested a review from masahi March 5, 2019 19:07
@yzhliu yzhliu merged commit ef58291 into apache:master Mar 6, 2019
@yzhliu
Copy link
Member

yzhliu commented Mar 6, 2019

Thanks @Laurawly

bwasti pushed a commit to facebookexperimental/tvm that referenced this pull request Mar 6, 2019
…ded stack op (apache#2729)

* add stack op frontend

* concate moved

* topi stack added

* stack added

* fix stack bugs and tested

* conv2d alterlayout udpated for relay

* fix pylint

* fix cmake warnings

* cmake warnings fixed
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 9, 2019
…ded stack op (apache#2729)

* add stack op frontend

* concate moved

* topi stack added

* stack added

* fix stack bugs and tested

* conv2d alterlayout udpated for relay

* fix pylint

* fix cmake warnings

* cmake warnings fixed
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 12, 2019
…ded stack op (apache#2729)

* add stack op frontend

* concate moved

* topi stack added

* stack added

* fix stack bugs and tested

* conv2d alterlayout udpated for relay

* fix pylint

* fix cmake warnings

* cmake warnings fixed
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 12, 2019
…ded stack op (apache#2729)

* add stack op frontend

* concate moved

* topi stack added

* stack added

* fix stack bugs and tested

* conv2d alterlayout udpated for relay

* fix pylint

* fix cmake warnings

* cmake warnings fixed
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.

2 participants