[DOCS] pdf reference guide (#23687)
port: https://github.com/openvinotoolkit/openvino/pull/23680
This commit is contained in:
parent
44c2bcd5b2
commit
1baef807b8
|
|
@ -30,6 +30,11 @@ GET STARTED
|
|||
</p>
|
||||
<div style="clear:both;"> </div>
|
||||
|
||||
|
||||
For a quick reference, check out
|
||||
`the Quick Start Guide [pdf] <https://docs.openvino.ai/2024/_static/download/OpenVINO_Quick_Start_Guide.pdf>`__
|
||||
|
||||
|
||||
.. _quick-start-example:
|
||||
|
||||
1. Quick Start Example (No Installation Required)
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ The easiest way to obtain a model is to download it from an online database, suc
|
|||
This option, while convenient, offers lower performance and stability, as well as fewer
|
||||
optimization options.
|
||||
|
||||
For PyTorch models, you can use the dedicated :doc:`torch.compile <./torch-compile>`
|
||||
implementation.
|
||||
|
||||
* Explicitly :doc:`convert the model to OpenVINO IR <model-preparation/convert-model-to-ir>`.
|
||||
This approach offers the best possible results and is the recommended one, especially for
|
||||
production-ready solutions. Consider storing your model in this format to minimize
|
||||
|
|
|
|||
|
|
@ -19,9 +19,11 @@ Integrate OpenVINO™ with Your Application
|
|||
Runtime in an application.
|
||||
|
||||
|
||||
Following these steps, you can implement a typical OpenVINO™ Runtime inference
|
||||
pipeline in your application. Before proceeding, make sure you have
|
||||
:doc:`installed OpenVINO Runtime <../../get-started/install-openvino>` and set environment variables (run ``<INSTALL_DIR>/setupvars.sh`` for Linux, ``setupvars.ps1`` for Windows PowerShell, or ``setupvars.bat`` for Windows CMD), otherwise, the ``OpenVINO_DIR`` variable won't be configured properly to pass ``find_package`` calls).
|
||||
Following these steps, you can implement a typical OpenVINO™ Runtime inference pipeline in your
|
||||
application. Before proceeding, make sure you have :doc:`installed OpenVINO Runtime <../../get-started/install-openvino>`
|
||||
and set environment variables (run ``<INSTALL_DIR>/setupvars.sh`` for Linux, ``setupvars.ps1``
|
||||
for Windows PowerShell, or ``setupvars.bat`` for Windows CMD). Otherwise, the ``OpenVINO_DIR``
|
||||
variable won't be configured properly to pass ``find_package`` calls.
|
||||
|
||||
|
||||
.. image:: ../../_static/images/IMPLEMENT_PIPELINE_with_API_C.svg
|
||||
|
|
@ -30,7 +32,8 @@ pipeline in your application. Before proceeding, make sure you have
|
|||
Step 1. Create OpenVINO Runtime Core
|
||||
####################################
|
||||
|
||||
Include next files to work with OpenVINO™ Runtime:
|
||||
Include the necessary files to work with OpenVINO™ Runtime and create OpenVINO™ Core to manage
|
||||
available devices and read model objects:
|
||||
|
||||
.. tab-set::
|
||||
|
||||
|
|
@ -41,28 +44,6 @@ Include next files to work with OpenVINO™ Runtime:
|
|||
:language: python
|
||||
:fragment: [import]
|
||||
|
||||
.. tab-item:: C++
|
||||
:sync: cpp
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.cpp
|
||||
:language: cpp
|
||||
:fragment: [include]
|
||||
|
||||
.. tab-item:: C
|
||||
:sync: c
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.c
|
||||
:language: cpp
|
||||
:fragment: [include]
|
||||
|
||||
|
||||
Use the following code to create OpenVINO™ Core to manage available devices and read model objects:
|
||||
|
||||
.. tab-set::
|
||||
|
||||
.. tab-item:: Python
|
||||
:sync: py
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.py
|
||||
:language: python
|
||||
:fragment: [part1]
|
||||
|
|
@ -70,6 +51,10 @@ Use the following code to create OpenVINO™ Core to manage available devices an
|
|||
.. tab-item:: C++
|
||||
:sync: cpp
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.cpp
|
||||
:language: cpp
|
||||
:fragment: [include]
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.cpp
|
||||
:language: cpp
|
||||
:fragment: [part1]
|
||||
|
|
@ -77,11 +62,16 @@ Use the following code to create OpenVINO™ Core to manage available devices an
|
|||
.. tab-item:: C
|
||||
:sync: c
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.c
|
||||
:language: cpp
|
||||
:fragment: [include]
|
||||
|
||||
.. doxygensnippet:: docs/snippets/src/main.c
|
||||
:language: cpp
|
||||
:fragment: [part1]
|
||||
|
||||
|
||||
|
||||
Step 2. Compile the Model
|
||||
#########################
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue