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

[Torch] Simplify contiguous #7544

Merged
merged 1 commit into from
Feb 27, 2021
Merged

Conversation

comaniac
Copy link
Contributor

contiguous in PyTorch creates a continguous tensor which is required for some future operators such as view. However, it is not a case in Relay. As a result, it is safe to simply bypass this op in PyTorch frontend.

cc @alexwong @masahi @apivovarov

Copy link
Member

@yzhliu yzhliu left a comment

Choose a reason for hiding this comment

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

good to me.

@masahi masahi merged commit 22ba2c4 into apache:main Feb 27, 2021
@masahi
Copy link
Member

masahi commented Feb 27, 2021

@comaniac @yzhliu

Lokiiiiii pushed a commit to Lokiiiiii/tvm that referenced this pull request Mar 2, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2021
@comaniac comaniac deleted the pytorch_contiguous branch March 12, 2021 22:56
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.

3 participants