Questions tagged [skl2onnx]

2 questions
2
votes
0 answers

How to use TopK operator in ONNX?

I am writing a converter and calculator to convert my custom sklearn transformers into ONNX models. I need to calculate the median of my data points. Interesting point - ONNX has no function to calculate the median (at least I didn't find anything…
paradocslover
  • 2,932
  • 3
  • 18
  • 44
0
votes
0 answers

How to resolve "Unable to find a shape calculator for type ''"

I have trained a XGB classifier and want to convert it into onnx model. I am using skl2onnx for this and getting below error: Unable to find a shape calculator for type '' Tried it resolving it after finding a…
Abhishek Gangwar
  • 1,697
  • 3
  • 17
  • 29