X2Paddle icon indicating copy to clipboard operation
X2Paddle copied to clipboard

Fix resize and gemm

Open qqj1130247885 opened this issue 3 years ago • 0 comments

Create A Good Pull Request

下面的文字请保留在PR说明的最后面,并在提完PR后,根据实际情况勾选确认以下情况

Please check the follow step before merging this pull request

  • [x] Python code style verification
  • [x] Review all the code diff by yourself
  • [ ] All models(TensorFLow/Caffe/ONNX/PyTorch) testing passed
  • [ ] Details about your pull request, releated issues

If this PR add new model support, please update model_zoo.md and add model to out test model zoos(@wjj19950828)

  • [ ] New Model Supported
  • [x] No New Model Supported

主要修改

1 gemm节点input只有两个有效值,没有val_c。进行了修改。 2 Resize节点无法转换,在paddle的interpolate,当mode为nearest时,不支持3d的输入tensor。通过unsqueeze+interpolate+squeeze解决。

qqj1130247885 avatar Jul 27 '22 06:07 qqj1130247885