onnx / tutorials

Tutorials for creating and using ONNX models
Apache License 2.0
3.39k stars 629 forks source link

Where can I find api documentation? #229

Closed tengerye closed 3 years ago

tengerye commented 3 years ago

It took me great effort in searching for proper documentation of APIs. I would like to know what methods does the onnxruntime.InferenceSession have. I tried https://onnx.ai/get-started.html and got nothing. It seems the official website lists which tools it support but provides no API documents?

liuziyue commented 3 years ago

For onnxruntime related API documentation, you can refer to ONNX Runtime API documentation. For more detail related to the onnxruntime.InferenceSession python class, please see https://github.com/microsoft/onnxruntime/blob/master/onnxruntime/python/onnxruntime_inference_collection.py#L232 .

tengerye commented 3 years ago

@liuziyue Thank you for your kind reply. It would be much better that ONNX has its API documents on its official website, like PyTorch and TensorFlow.