Skip to content

Commit

Permalink
Add SpaceToDepth and NMS to map_torch_types_to_onnx (#2805)
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Chaitanya Gajula <quic_gsaichai@quicinc.com>

Co-authored-by: Sai Chaitanya Gajula <quic_gsaichai@quicinc.com>
  • Loading branch information
2 people authored and GitHub Enterprise committed Jan 8, 2024
1 parent 14a4fd8 commit 8074167
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
nn.LogSoftmax: ['LogSoftmax'],
nn.LSTM: ['LSTM'],
nn.PixelShuffle: ['DepthToSpace'],
nn.PixelUnshuffle: ['SpaceToDepth'],
nn.PReLU: ['PRelu'],
nn.ReLU: ['Relu'],
nn.ReLU6: ['Clip'],
Expand Down Expand Up @@ -145,7 +146,8 @@
elementwise_ops.Tile: ['Tile'],
elementwise_ops.TopK: ['TopK'],
torchvision.ops.RoIPool: ['MaxRoiPool'],
elementwise_ops.Mean: ['ReduceMean']
elementwise_ops.Mean: ['ReduceMean'],
elementwise_ops.NonMaxSuppression: ['NonMaxSuppression'],
}

# Maps pytorch functional op string names to corresponding onnx types.
Expand Down

0 comments on commit 8074167

Please sign in to comment.