SIGN IN SIGN UP

Dynamic Conv1d + W2L (#2976)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/2976

Conv1d uses static reshape operator, in order to convert 3d tensor to 4d tensor so xnnpack can operate using conv2d.

For dynamism, reshape only accepts a single dynamic dimension, which is denoted as dynamic with a dim of 0.

Reviewed By: digantdesai, kirklandsign

Differential Revision: D55815092

fbshipit-source-id: a3c96bc5c86c130291c1d54f8174a6ff5d25a6b8
M
Max Ren committed
7b375fe7f37deae36e8fd0ef6a6bf29ce7fae631
Parent: 15f141b
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 4/16/2024, 12:21:43 AM