onnx-mlir
onnx-mlir copied to clipboard
Add the implementation of shape inference for max_roi_pool op
Signed-off-by: david.cheng [email protected]
Can one of the admins verify this patch?
@jenkins-droid test this please
We are not going to write shape inference code directly in ONNXOps.cpp but put them into folder src/Dialect/ONNX/ShapeInference
. Also, we should use IndexExpr to compute shape inference because it will be used to allocate memory in the op lowering.
You can take RoiAlign as an example: https://github.com/onnx/onnx-mlir/blob/main/src/Dialect/ONNX/ShapeInference/RoiAlign.cpp
We are not going to write shape inference code directly in ONNXOps.cpp but put them into folder
src/Dialect/ONNX/ShapeInference
. Also, we should use IndexExpr to compute shape inference because it will be used to allocate memory in the op lowering.You can take RoiAlign as an example: https://github.com/onnx/onnx-mlir/blob/main/src/Dialect/ONNX/ShapeInference/RoiAlign.cpp
got it, I will modify it later
@DavidChan0519 there is some conflicts, can you do the manual merge? It looks like its good to go then
@DavidChan0519 are you able and willing to manually merge this PR?
@DavidChan0519 are you able and willing to manually merge this PR?
I will resolve the conflict and then submit it again.
Can one of the admins verify this patch?
@jenkins-droid test this please
Can one of the admins verify this patch?
@DavidChan0519 could you please sign DCO so that we can merge this? Thanks!
Can one of the admins verify this patch?
@jenkins-droid test this please
@DavidChan0519 this is the suggested instruction to fix DCO: https://github.com/onnx/onnx-mlir/pull/1267/checks?check_run_id=8105622451
Can one of the admins verify this patch?
Jenkins Linux ppc64le Build #6353 [push] Add the implementation o... failed after 2.2 sec
Can one of the admins verify this patch?
Jenkins Linux s390x Build #7304 [push] Add the implementation o... failed after 2.2 sec
Jenkins Linux amd64 Build #7288 [push] Add the implementation o... failed after 1.3 sec