Skip to content

Add ideep copy for TensorCPU<long> in IDEEPFallbackOp#9480

Closed
vishar0 wants to merge 1 commit intopytorch:masterfrom
vishar0:export-D8872671
Closed

Add ideep copy for TensorCPU<long> in IDEEPFallbackOp#9480
vishar0 wants to merge 1 commit intopytorch:masterfrom
vishar0:export-D8872671

Conversation

@vishar0
Copy link
Contributor

@vishar0 vishar0 commented Jul 17, 2018

Summary:
Ops like Reshape sometimes take a second input tensor of long with the new
shape (can also be specified in arg). If this input tensor is passed in via
external input (which ONNX does sometimes), LoadOp fails with an exception.

Such ops anyway are executed by IDEEPFallbackOp, so this should be fine.

Reviewed By: yinghai

Differential Revision: D8872671

Summary:
Pull Request resolved: pytorch#9480

Ops like Reshape sometimes take a second input tensor of long with the new
shape (can also be specified in arg). If this input tensor is passed in via
external input (which ONNX does sometimes), LoadOp fails with an exception.

Such ops anyway are executed by IDEEPFallbackOp, so this should be fine.

Reviewed By: yinghai

Differential Revision: D8872671

fbshipit-source-id: 2d3ecf39d77deed5fa0c714eebfd73429e6026b3
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary:
Pull Request resolved: pytorch#9480

Ops like Reshape sometimes take a second input tensor of long with the new
shape (can also be specified in arg). If this input tensor is passed in via
external input (which ONNX does sometimes), LoadOp fails with an exception.

Such ops anyway are executed by IDEEPFallbackOp, so this should be fine.

Reviewed By: yinghai

Differential Revision: D8872671

fbshipit-source-id: 659a02416c374e373ce041a7d65a174be828702d
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Pull Request resolved: pytorch#9480

Ops like Reshape sometimes take a second input tensor of long with the new
shape (can also be specified in arg). If this input tensor is passed in via
external input (which ONNX does sometimes), LoadOp fails with an exception.

Such ops anyway are executed by IDEEPFallbackOp, so this should be fine.

Reviewed By: yinghai

Differential Revision: D8872671

fbshipit-source-id: 659a02416c374e373ce041a7d65a174be828702d
@ezyang ezyang added the merged label Jun 26, 2019
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