Skip to content

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