microsoft / onnxjs

ONNX.js: run ONNX models using JavaScript
Other
1.75k stars 130 forks source link

LogSoftmax operator not supported #177

Open yissachar opened 4 years ago

yissachar commented 4 years ago

I've exported an ONNX model from PyTorch using opset version 7 (the lowest version the PyTorch export supports), and it includes a LogSoftmax operator, which results in the following error when I try to use it in ONNX.js:

TypeError: cannot resolve operator 'LogSoftmax' with opsets: ai.onnx v7

This version of LogSoftmax has been available since version 1 of ONNX so it would be nice to support it.

LeonardoEmili commented 4 years ago

Any chance of this being supported?