diff --git a/docs/python/README.rst b/docs/python/README.rst index e9dfd5a3da..029ce83a71 100644 --- a/docs/python/README.rst +++ b/docs/python/README.rst @@ -1,12 +1,9 @@ ONNX Runtime ============ -ONNX Runtime -enables high-performance evaluation of trained machine learning (ML) -models while keeping resource usage low once converted into ONNX format. -See `project information `_ -and `Python API documentation and examples `_ -for further details. +ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exchange (ONNX) models. +For more information on ONNX Runtime, please see `aka.ms/onnxruntime `_ or the `Github project `_. + Changes ------- diff --git a/docs/python/index.rst b/docs/python/index.rst index f10d0856ba..06816409ab 100644 --- a/docs/python/index.rst +++ b/docs/python/index.rst @@ -2,13 +2,8 @@ Python Bindings for ONNX Runtime ================================ -ONNX Runtime enables high-performance evaluation of trained machine learning (ML) -models while keeping resource usage low. -Building on Microsoft's dedication to the -`Open Neural Network Exchange (ONNX) `_ -community, it supports traditional ML models as well -as Deep Learning algorithms in the -`ONNX-ML format `_. +ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exchange (ONNX) models. +For more information on ONNX Runtime, please see `aka.ms/onnxruntime `_ or the `Github project `_. .. toctree:: :maxdepth: 1 @@ -16,27 +11,3 @@ as Deep Learning algorithms in the tutorial api_summary auto_examples/index - -:ref:`genindex` - -The core library is implemented in C++. -*ONNX Runtime* is available on -PyPi for Linux Ubuntu 16.04, Python 3.5+ for both -`CPU `_ and -`GPU `_. -Please see `system requirements `_ before installating the packages. -This example demonstrates a simple prediction for an -`ONNX-ML format `_ -model. The following file ``model.onnx`` is taken from -github `onnx...test_sigmoid `_. - -.. runpython:: - :showcode: - - import numpy - import onnxruntime as rt - sess = rt.InferenceSession("model.onnx") - input_name = sess.get_inputs()[0].name - X = numpy.random.random((3,4,5)).astype(numpy.float32) - pred_onnx = sess.run(None, {input_name: X}) - print(pred_onnx) diff --git a/onnxruntime/__init__.py b/onnxruntime/__init__.py index 1c45697bb3..2cdc2a500d 100644 --- a/onnxruntime/__init__.py +++ b/onnxruntime/__init__.py @@ -3,14 +3,8 @@ # Licensed under the MIT License. # -------------------------------------------------------------------------- """ -ONNX Runtime -enables high-performance evaluation of trained machine learning (ML) -models while keeping resource usage low. -Building on Microsoft's dedication to the -`Open Neural Network Exchange (ONNX) `_ -community, it supports traditional ML models as well -as Deep Learning algorithms in the -`ONNX-ML format `_. +ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exchange (ONNX) models. +For more information on ONNX Runtime, please see `aka.ms/onnxruntime `_ or the `Github project `_. """ __version__ = "0.5.0" __author__ = "Microsoft"