From 4e8d5f37989840ffad48a9b135abf3b256bc5220 Mon Sep 17 00:00:00 2001 From: Maciej Smyk Date: Tue, 23 May 2023 07:31:19 +0200 Subject: [PATCH] [DOCS] link fix (#17658) --- docs/OV_Runtime_UG/img/diagram_workflow.svg | 2 +- docs/img/diagram_workflow.svg | 2 +- docs/snippets/src/main.cpp | 2 +- src/README.md | 2 +- src/bindings/python/wheel/setup.py | 4 ++-- src/plugins/intel_gna/src/transformations/decompose_mvn.hpp | 2 +- src/plugins/intel_gpu/src/plugin/ops/constant.cpp | 2 +- tools/mo/openvino/tools/mo/analysis/tf_od_api.py | 2 +- tools/mo/openvino/tools/mo/analysis/tf_yolo.py | 4 ++-- tools/mo/openvino/tools/mo/front/tf/ObjectDetectionAPI.py | 2 +- tools/mo/openvino/tools/mo/utils/get_ov_update_message.py | 6 +++--- tools/mo/openvino/tools/mo/utils/utils.py | 2 +- tools/openvino_dev/setup.py | 4 ++-- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/OV_Runtime_UG/img/diagram_workflow.svg b/docs/OV_Runtime_UG/img/diagram_workflow.svg index 550aaaed0a4..295d22516aa 100644 --- a/docs/OV_Runtime_UG/img/diagram_workflow.svg +++ b/docs/OV_Runtime_UG/img/diagram_workflow.svg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ce302e9a2f7f39cbce63a6d3bc3866909da364d24384c6503069cfdfe0d0fcd +oid sha256:5adda5656edc4bbe13c6aea87465f19d6e9457ef07fd9fb48fe4a25c674937e8 size 165861 diff --git a/docs/img/diagram_workflow.svg b/docs/img/diagram_workflow.svg index 550aaaed0a4..295d22516aa 100644 --- a/docs/img/diagram_workflow.svg +++ b/docs/img/diagram_workflow.svg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ce302e9a2f7f39cbce63a6d3bc3866909da364d24384c6503069cfdfe0d0fcd +oid sha256:5adda5656edc4bbe13c6aea87465f19d6e9457ef07fd9fb48fe4a25c674937e8 size 165861 diff --git a/docs/snippets/src/main.cpp b/docs/snippets/src/main.cpp index 048a0ccd35d..c7a6730ad88 100644 --- a/docs/snippets/src/main.cpp +++ b/docs/snippets/src/main.cpp @@ -42,7 +42,7 @@ ov::CompiledModel compiled_model = core.compile_model("model.tflite", "AUTO"); auto create_model = []() { std::shared_ptr model; // To construct a model, please follow - // https://docs.openvino.ai/latest/openvino_docs_OV_UG_Model_Representation.html + // https://docs.openvino.ai/2023.0/openvino_docs_OV_UG_Model_Representation.html return model; }; std::shared_ptr model = create_model(); diff --git a/src/README.md b/src/README.md index 7b3586e4eff..380d24fe719 100644 --- a/src/README.md +++ b/src/README.md @@ -59,7 +59,7 @@ OpenVINO provides bindings for different languages. To get the full list of supp ## Core developer topics * [OpenVINO architecture](./docs/architecture.md) - * [Plugin Development](https://docs.openvino.ai/latest/openvino_docs_ie_plugin_dg_overview.html) + * [Plugin Development](https://docs.openvino.ai/2023.0/openvino_docs_ie_plugin_dg_overview.html) * [Thread safety](#todo) * [Performance](#todo) diff --git a/src/bindings/python/wheel/setup.py b/src/bindings/python/wheel/setup.py index 87d6bb0f47f..226fd48b314 100644 --- a/src/bindings/python/wheel/setup.py +++ b/src/bindings/python/wheel/setup.py @@ -582,13 +582,13 @@ ext_modules = find_prebuilt_extensions(get_install_dirs_list(PY_INSTALL_CFG)) if description_md = SCRIPT_DIR.parents[3] / "docs" / "install_guides" / "pypi-openvino-rt.md" md_files = [description_md, SCRIPT_DIR.parents[3] / "docs" / "install_guides" / "pre-release-note.md"] -docs_url = "https://docs.openvino.ai/latest/index.html" +docs_url = "https://docs.openvino.ai/2023.0/index.html" if (os.getenv("CI_BUILD_DEV_TAG")): output = Path.cwd() / "build" / "pypi-openvino-rt.md" output.parent.mkdir(exist_ok=True) description_md = concat_files(output, md_files) - docs_url = "https://docs.openvino.ai/nightly/index.html" + docs_url = "https://docs.openvino.ai/2023.0/index.html" OPENVINO_VERSION = WHEEL_VERSION[0:8] setup( diff --git a/src/plugins/intel_gna/src/transformations/decompose_mvn.hpp b/src/plugins/intel_gna/src/transformations/decompose_mvn.hpp index f82c9b5010f..1f044a16a6f 100644 --- a/src/plugins/intel_gna/src/transformations/decompose_mvn.hpp +++ b/src/plugins/intel_gna/src/transformations/decompose_mvn.hpp @@ -14,7 +14,7 @@ namespace pass { * @brief Decompose MVN operation * See official OpenVINO documentation for the MVN formula * implemented partially by this decomposition: - * https://docs.openvino.ai/latest/openvino_docs_ops_normalization_MVN_6.html + * https://docs.openvino.ai/2023.0/openvino_docs_ops_normalization_MVN_6.html * */ class DecomposeMVN : public ngraph::pass::MatcherPass { diff --git a/src/plugins/intel_gpu/src/plugin/ops/constant.cpp b/src/plugins/intel_gpu/src/plugin/ops/constant.cpp index d04fea6d1f9..bc1e53dea48 100644 --- a/src/plugins/intel_gpu/src/plugin/ops/constant.cpp +++ b/src/plugins/intel_gpu/src/plugin/ops/constant.cpp @@ -135,7 +135,7 @@ static void CreateConstantOp(Program& p, const std::shared_ptr [1, N, 1, 1] // // 2. Multi-dims slope tensor is handled by the numpy broadcasting rule that is defined at - // 'https://docs.openvino.ai/latest/openvino_docs_ops_broadcast_rules.html'. + // 'https://docs.openvino.ai/2023.0/openvino_docs_ops_broadcast_rules.html'. // ex) [N, 1, 1] --> [1, N, 1, 1] // [N, M, 1] --> [1, N, M, 1] auto input_shape = outOp->get_input_partial_shape(0); diff --git a/tools/mo/openvino/tools/mo/analysis/tf_od_api.py b/tools/mo/openvino/tools/mo/analysis/tf_od_api.py index 7f75ca6872d..1dc317dfe39 100644 --- a/tools/mo/openvino/tools/mo/analysis/tf_od_api.py +++ b/tools/mo/openvino/tools/mo/analysis/tf_od_api.py @@ -83,6 +83,6 @@ class TensorFlowObjectDetectionAPIAnalysis(AnalyzeAction): "\t--input_shape (optional)\n" \ "\t--reverse_input_channels (if you convert a model to use with the Inference Engine sample applications)\n" \ "Detailed information about conversion of this model can be found at\n" \ - "https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html" + "https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html" return {'model_type': {'TF_OD_API': result}}, message return None, None diff --git a/tools/mo/openvino/tools/mo/analysis/tf_yolo.py b/tools/mo/openvino/tools/mo/analysis/tf_yolo.py index 86f4822c932..12d02dfa36b 100644 --- a/tools/mo/openvino/tools/mo/analysis/tf_yolo.py +++ b/tools/mo/openvino/tools/mo/analysis/tf_yolo.py @@ -74,7 +74,7 @@ class TensorFlowYOLOV1V2Analysis(AnalyzeAction): "\t--batch 1\n" \ "\t--transformations_config /openvino/tools/mo/front/tf/.json\n" \ "All detailed information about conversion of this model can be found at\n" \ - "https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html" + "https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html" return {'model_type': {'YOLO': get_YOLO_params_by_flavor(flavor)}}, message else: return None, None @@ -101,7 +101,7 @@ class TensorFlowYOLOV3Analysis(AnalyzeAction): "\t--batch 1\n" \ "\t--transformations_config /openvino/tools/mo/front/tf/yolo_v3.json\n" \ "Detailed information about conversion of this model can be found at\n" \ - "https://docs.openvino.ai/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html" + "https://docs.openvino.ai/2023.0/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_YOLO_From_Tensorflow.html" return {'model_type': {'YOLO': get_YOLO_params_by_flavor(flavor)}}, message else: return None, None diff --git a/tools/mo/openvino/tools/mo/front/tf/ObjectDetectionAPI.py b/tools/mo/openvino/tools/mo/front/tf/ObjectDetectionAPI.py index d17c5de4386..593c9833cf1 100644 --- a/tools/mo/openvino/tools/mo/front/tf/ObjectDetectionAPI.py +++ b/tools/mo/openvino/tools/mo/front/tf/ObjectDetectionAPI.py @@ -5,7 +5,7 @@ The file contains necessary transformations to convert models created with a TensorFlow Object Detection framework from the https://github.com/tensorflow/models/blob/master/research/object_detection/ repository. There is a dedicated OpenVINO document describing overall procedure of conversion these models with the Model Optimizer: -https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html +https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html Conversion of most of the TF OD API models requires execution of several transformations defined in this file. The list of transformations to be executed for a particular model type (meta-architecture) is defined in the transformation diff --git a/tools/mo/openvino/tools/mo/utils/get_ov_update_message.py b/tools/mo/openvino/tools/mo/utils/get_ov_update_message.py index d515bacde6c..6768be91ebd 100644 --- a/tools/mo/openvino/tools/mo/utils/get_ov_update_message.py +++ b/tools/mo/openvino/tools/mo/utils/get_ov_update_message.py @@ -17,7 +17,7 @@ def get_ov_update_message(): def get_ov_api20_message(): - link = "https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html" + link = "https://docs.openvino.ai/2023.0/openvino_2_0_transition_guide.html" message = '[ INFO ] The model was converted to IR v11, the latest model format that corresponds to the source DL framework ' \ 'input/output format. While IR v11 is backwards compatible with OpenVINO Inference Engine API v1.0, ' \ 'please use API v2.0 (as of 2022.1) to take advantage of the latest improvements in IR v11.\n' \ @@ -27,7 +27,7 @@ def get_ov_api20_message(): def get_tf_fe_message(): - link = "https://docs.openvino.ai/latest/openvino_docs_MO_DG_TensorFlow_Frontend.html" + link = "https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_TensorFlow_Frontend.html" message = '[ INFO ] IR generated by new TensorFlow Frontend is compatible only with API v2.0. Please make sure to use API v2.0.\n' \ 'Find more information about new TensorFlow Frontend at {}'.format(link) @@ -35,7 +35,7 @@ def get_tf_fe_message(): def get_compression_message(): - link = "https://docs.openvino.ai/latest/openvino_docs_MO_DG_FP16_Compression.html" + link = "https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_FP16_Compression.html" message = '[ INFO ] Generated IR will be compressed to FP16. ' \ 'If you get lower accuracy, please consider disabling compression ' \ 'by removing argument --compress_to_fp16 or set it to false --compress_to_fp16=False.\n' \ diff --git a/tools/mo/openvino/tools/mo/utils/utils.py b/tools/mo/openvino/tools/mo/utils/utils.py index 9d49519f8bf..cdb83ae2e84 100644 --- a/tools/mo/openvino/tools/mo/utils/utils.py +++ b/tools/mo/openvino/tools/mo/utils/utils.py @@ -26,7 +26,7 @@ def refer_to_faq_msg(question_num: int): pass return '\n For more information please refer to Model Optimizer FAQ, question #{0}. ' \ - '(https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html' \ + '(https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html' \ '?question={0}#question-{0})'.format(question_num) diff --git a/tools/openvino_dev/setup.py b/tools/openvino_dev/setup.py index c7fc3c9c13d..bfd0cf9a380 100644 --- a/tools/openvino_dev/setup.py +++ b/tools/openvino_dev/setup.py @@ -287,13 +287,13 @@ def concat_files(output_file, input_files): description_md = SCRIPT_DIR.parents[1] / 'docs' / 'install_guides' / 'pypi-openvino-dev.md' md_files = [description_md, SCRIPT_DIR.parents[1] / 'docs' / 'install_guides' / 'pre-release-note.md'] -docs_url = 'https://docs.openvino.ai/latest/index.html' +docs_url = 'https://docs.openvino.ai/2023.0/index.html' if(os.getenv('CI_BUILD_DEV_TAG')): output = Path.cwd() / 'build' / 'pypi-openvino-dev.md' output.parent.mkdir(exist_ok=True) description_md = concat_files(output, md_files) - docs_url = 'https://docs.openvino.ai/nightly/index.html' + docs_url = 'https://docs.openvino.ai/2023.0/index.html' setup( name='openvino-dev',