Open mvafin opened 8 months ago
.take
Thank you for looking into this issue! Please let us know if you have any questions or require any help.
Hello @mvafin, can you please show me where the aten::reflection_pad2d
has been implemented? Thanks.
Hello @thinhngo-x, are you still working on this?
.take
Thank you for looking into this issue! Please let us know if you have any questions or require any help.
Hi, I have some question.
How pytorch/src/transforms/prim_list_construct_pad.cpp is related to pytorch/src/op/pad.cpp.
The test for ReflectionPad in test_pad.py
passes (also torch.nn.ReflectionPad1d
is the same as ReflectionPad2d
and ReflectionPad3d
i.e accepts 4-tuple and returns same output). https://github.com/openvinotoolkit/openvino/blob/68bdbbe0fba08386677071c83018be9d07f58916/tests/layer_tests/pytorch_tests/test_pad.py#L205
So it seems to me the relevant logic is already converted to openVINO ops.
Thank you.
.take
Thank you for looking into this issue! Please let us know if you have any questions or require any help.
Context
OpenVINO component responsible for support of PyTorch models is called as PyTorch Frontend (PT FE). PT FE converts a model represented as TorchScript model to a model in OpenVINO opset.
aten::reflection_pad2d
is already supported, what needs to be done is to also support other sizes.What needs to be done?
Example Pull Requests
18998
Resources
Contact points
@openvinotoolkit/openvino-pytorch-frontend-maintainers
Ticket
TBD