Skip to content

Add Support for count_include_pad in AveragePool in Caffe2 ONNX Backend#9458

Closed
hl475 wants to merge 1 commit intopytorch:masterfrom
hl475:export-D8852180
Closed

Add Support for count_include_pad in AveragePool in Caffe2 ONNX Backend#9458
hl475 wants to merge 1 commit intopytorch:masterfrom
hl475:export-D8852180

Conversation

@hl475
Copy link
Contributor

@hl475 hl475 commented Jul 15, 2018

Summary:
The goal is to support count_include_pad in Caffe2 ONNX backend. This commit contains the first step - support 4-D tensor cases.
AveragePool with count_include_pad can be expressed as PadImage + AveragePool.

Differential Revision: D8852180

@hl475 hl475 force-pushed the export-D8852180 branch from 70599fd to 90936cb Compare July 15, 2018 17:03
@hl475
Copy link
Contributor Author

hl475 commented Jul 16, 2018

@houseroad @bddppq, please take a look. Thanks!

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@hl475 hl475 force-pushed the export-D8852180 branch from 90936cb to 22b64fa Compare July 17, 2018 00:19
@hl475 hl475 force-pushed the export-D8852180 branch from 22b64fa to 3ec57ee Compare July 17, 2018 01:00

This comment was marked as off-topic.

This comment was marked as off-topic.

…nd (pytorch#9458)

Summary:
Pull Request resolved: pytorch#9458

The goal is to support count_include_pad in Caffe2 ONNX backend. This commit contains the first step - support 4-D tensor cases.
AveragePool with count_include_pad can be expressed as PadImage + AveragePool.

Differential Revision: D8852180

fbshipit-source-id: 1bb9ad484998b6950eadb8c7efbed1e636fb06bf
@hl475 hl475 force-pushed the export-D8852180 branch from 3fd2d53 to 2ae8d3c Compare July 17, 2018 18:35
@hl475
Copy link
Contributor Author

hl475 commented Jul 17, 2018

@pytorchbot retest this please

1 similar comment
@houseroad
Copy link
Member

@pytorchbot retest this please

@hl475 hl475 deleted the export-D8852180 branch July 18, 2018 02:22
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
…nd (pytorch#9458)

Summary:
Pull Request resolved: pytorch#9458

The goal is to support count_include_pad in Caffe2 ONNX backend. This commit contains the first step - support 4-D tensor cases.
AveragePool with count_include_pad can be expressed as PadImage + AveragePool.

Reviewed By: houseroad

Differential Revision: D8852180

fbshipit-source-id: 4db00e9771be7a000a2d92850dfd066d9c9c38bf
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…nd (pytorch#9458)

Summary:
Pull Request resolved: pytorch#9458

The goal is to support count_include_pad in Caffe2 ONNX backend. This commit contains the first step - support 4-D tensor cases.
AveragePool with count_include_pad can be expressed as PadImage + AveragePool.

Reviewed By: houseroad

Differential Revision: D8852180

fbshipit-source-id: 4db00e9771be7a000a2d92850dfd066d9c9c38bf
@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.

3 participants