I’m trying to convert torchvision dcn to tvm dcn. However, with the same inputs, i couldn’t get same output from torchvision dcn and tvm dcn.
I tried 2 versions of pytorch dcn implementation, torchvision & mmcv, get the sample outputs with the same inputs(data, offset, weight).
But, results from relay.nn.deformable_conv2d
and torchvision.ops.DeformConv2d
are not the same.
test codes can be find here. Results of the above test codes are
deformable_conv2d is not optimized for this platform.
pytorch torchvision res & tvm relay res 10.931563
mmcv dcn vs torchvision dcn 0.0