[torchlib] Implement aten::_softmax
to avoid decomposition in exporter
#857
Labels
good first issue
Good for newcomers
module: torchlib
Related to the torch/aten function lib in development
Update: the aten side op is
aten::_softmax
, instead ofaten::softmax
.The generated subgraph is unnecessarily large because there is no OnnxFunction registered for
aten::_softmax
, so exporter decomposes. It should export as a singleonnx::Softmax
.We should probably revisit and discover all aten ops that has close/1-to-1 mapping with ONNX ops, even if the aten op has decomp registered.
The text was updated successfully, but these errors were encountered: