diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.attacks.rst b/docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.attacks.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.attacks.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.attacks.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.defenses.rst b/docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.defenses.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.defenses.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.defenses.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.detectors.rst b/docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.detectors.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.detectors.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.detectors.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.evaluations.rst b/docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.evaluations.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.adv_robustness.evaluations.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.adv_robustness.evaluations.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.fuzz_testing.rst b/docs/api_python/source_en/mindarmour/mindarmour.fuzz_testing.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.fuzz_testing.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.fuzz_testing.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.privacy.diff_privacy.rst b/docs/api_python/source_en/mindarmour/mindarmour.privacy.diff_privacy.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.privacy.diff_privacy.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.privacy.diff_privacy.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.privacy.evaluation.rst b/docs/api_python/source_en/mindarmour/mindarmour.privacy.evaluation.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.privacy.evaluation.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.privacy.evaluation.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.rst b/docs/api_python/source_en/mindarmour/mindarmour.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.rst
diff --git a/docs/api_python/source_en/api/python/mindarmour/mindarmour.utils.rst b/docs/api_python/source_en/mindarmour/mindarmour.utils.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindarmour/mindarmour.utils.rst
rename to docs/api_python/source_en/mindarmour/mindarmour.utils.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.common.initializer.rst b/docs/api_python/source_en/mindspore/mindspore.common.initializer.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.common.initializer.rst
rename to docs/api_python/source_en/mindspore/mindspore.common.initializer.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.communication.rst b/docs/api_python/source_en/mindspore/mindspore.communication.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.communication.rst
rename to docs/api_python/source_en/mindspore/mindspore.communication.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.context.rst b/docs/api_python/source_en/mindspore/mindspore.context.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.context.rst
rename to docs/api_python/source_en/mindspore/mindspore.context.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dataset.config.rst b/docs/api_python/source_en/mindspore/mindspore.dataset.config.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dataset.config.rst
rename to docs/api_python/source_en/mindspore/mindspore.dataset.config.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dataset.rst b/docs/api_python/source_en/mindspore/mindspore.dataset.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dataset.rst
rename to docs/api_python/source_en/mindspore/mindspore.dataset.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dataset.text.rst b/docs/api_python/source_en/mindspore/mindspore.dataset.text.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dataset.text.rst
rename to docs/api_python/source_en/mindspore/mindspore.dataset.text.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dataset.transforms.rst b/docs/api_python/source_en/mindspore/mindspore.dataset.transforms.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dataset.transforms.rst
rename to docs/api_python/source_en/mindspore/mindspore.dataset.transforms.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dataset.vision.rst b/docs/api_python/source_en/mindspore/mindspore.dataset.vision.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dataset.vision.rst
rename to docs/api_python/source_en/mindspore/mindspore.dataset.vision.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.dtype.rst b/docs/api_python/source_en/mindspore/mindspore.dtype.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.dtype.rst
rename to docs/api_python/source_en/mindspore/mindspore.dtype.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.hub.rst b/docs/api_python/source_en/mindspore/mindspore.hub.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.hub.rst
rename to docs/api_python/source_en/mindspore/mindspore.hub.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.mindrecord.rst b/docs/api_python/source_en/mindspore/mindspore.mindrecord.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.mindrecord.rst
rename to docs/api_python/source_en/mindspore/mindspore.mindrecord.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.nn.dynamic_lr.rst b/docs/api_python/source_en/mindspore/mindspore.nn.dynamic_lr.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.nn.dynamic_lr.rst
rename to docs/api_python/source_en/mindspore/mindspore.nn.dynamic_lr.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.nn.learning_rate_schedule.rst b/docs/api_python/source_en/mindspore/mindspore.nn.learning_rate_schedule.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.nn.learning_rate_schedule.rst
rename to docs/api_python/source_en/mindspore/mindspore.nn.learning_rate_schedule.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.nn.probability.rst b/docs/api_python/source_en/mindspore/mindspore.nn.probability.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.nn.probability.rst
rename to docs/api_python/source_en/mindspore/mindspore.nn.probability.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.nn.rst b/docs/api_python/source_en/mindspore/mindspore.nn.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.nn.rst
rename to docs/api_python/source_en/mindspore/mindspore.nn.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.ops.composite.rst b/docs/api_python/source_en/mindspore/mindspore.ops.composite.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.ops.composite.rst
rename to docs/api_python/source_en/mindspore/mindspore.ops.composite.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.ops.operations.rst b/docs/api_python/source_en/mindspore/mindspore.ops.operations.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.ops.operations.rst
rename to docs/api_python/source_en/mindspore/mindspore.ops.operations.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.ops.rst b/docs/api_python/source_en/mindspore/mindspore.ops.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.ops.rst
rename to docs/api_python/source_en/mindspore/mindspore.ops.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.profiler.rst b/docs/api_python/source_en/mindspore/mindspore.profiler.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.profiler.rst
rename to docs/api_python/source_en/mindspore/mindspore.profiler.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.rst b/docs/api_python/source_en/mindspore/mindspore.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.rst
rename to docs/api_python/source_en/mindspore/mindspore.rst
diff --git a/docs/api_python/source_en/api/python/mindspore/mindspore.train.rst b/docs/api_python/source_en/mindspore/mindspore.train.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore/mindspore.train.rst
rename to docs/api_python/source_en/mindspore/mindspore.train.rst
diff --git a/docs/api_python/source_en/api/python/mindspore_hub/mindspore_hub.rst b/docs/api_python/source_en/mindspore_hub/mindspore_hub.rst
similarity index 100%
rename from docs/api_python/source_en/api/python/mindspore_hub/mindspore_hub.rst
rename to docs/api_python/source_en/mindspore_hub/mindspore_hub.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.attacks.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.attacks.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.attacks.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.attacks.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.defenses.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.defenses.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.defenses.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.defenses.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.detectors.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.detectors.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.detectors.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.detectors.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.evaluations.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.evaluations.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.adv_robustness.evaluations.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.adv_robustness.evaluations.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.fuzz_testing.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.fuzz_testing.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.fuzz_testing.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.fuzz_testing.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.privacy.diff_privacy.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.privacy.diff_privacy.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.privacy.diff_privacy.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.privacy.diff_privacy.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.privacy.evaluation.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.privacy.evaluation.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.privacy.evaluation.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.privacy.evaluation.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.utils.rst b/docs/api_python/source_zh_cn/mindarmour/mindarmour.utils.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindarmour/mindarmour.utils.rst
rename to docs/api_python/source_zh_cn/mindarmour/mindarmour.utils.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.common.initializer.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.common.initializer.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.common.initializer.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.common.initializer.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.communication.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.communication.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.communication.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.communication.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.context.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.context.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.context.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.context.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.config.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dataset.config.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.config.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dataset.config.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dataset.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dataset.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.text.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dataset.text.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.text.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dataset.text.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.transforms.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dataset.transforms.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.transforms.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dataset.transforms.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.vision.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dataset.vision.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dataset.vision.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dataset.vision.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dtype.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.dtype.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.dtype.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.dtype.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.hub.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.hub.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.hub.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.hub.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.mindrecord.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.mindrecord.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.mindrecord.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.mindrecord.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.dynamic_lr.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.nn.dynamic_lr.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.dynamic_lr.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.nn.dynamic_lr.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.learning_rate_schedule.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.nn.learning_rate_schedule.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.learning_rate_schedule.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.nn.learning_rate_schedule.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.probability.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.nn.probability.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.probability.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.nn.probability.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.nn.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.nn.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.nn.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.composite.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.ops.composite.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.composite.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.ops.composite.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.operations.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.ops.operations.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.operations.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.ops.operations.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.ops.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.ops.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.ops.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.profiler.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.profiler.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.profiler.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.profiler.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore/mindspore.train.rst b/docs/api_python/source_zh_cn/mindspore/mindspore.train.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore/mindspore.train.rst
rename to docs/api_python/source_zh_cn/mindspore/mindspore.train.rst
diff --git a/docs/api_python/source_zh_cn/api/python/mindspore_hub/mindspore_hub.rst b/docs/api_python/source_zh_cn/mindspore_hub/mindspore_hub.rst
similarity index 100%
rename from docs/api_python/source_zh_cn/api/python/mindspore_hub/mindspore_hub.rst
rename to docs/api_python/source_zh_cn/mindspore_hub/mindspore_hub.rst
diff --git a/lite/docs/Makefile b/lite/docs/Makefile
deleted file mode 100644
index 1eff8952707bdfa503c8d60c1e9a903053170ba2..0000000000000000000000000000000000000000
--- a/lite/docs/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Minimal makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line, and also
-# from the environment for the first two.
-SPHINXOPTS ?=
-SPHINXBUILD ?= sphinx-build
-SOURCEDIR = source_zh_cn
-BUILDDIR = build_zh_cn
-
-# Put it first so that "make" without argument is like "make help".
-help:
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-
-.PHONY: help Makefile
-
-# Catch-all target: route all unknown targets to Sphinx using the new
-# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/lite/docs/requirements.txt b/lite/docs/requirements.txt
deleted file mode 100644
index 8788e57530c50ff0656148a12b6d3a4480f4e430..0000000000000000000000000000000000000000
--- a/lite/docs/requirements.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-sphinx
-recommonmark
-sphinx-markdown-tables
-sphinx_rtd_theme
-numpy
\ No newline at end of file
diff --git a/lite/docs/source_en/_static/logo_source.png b/lite/docs/source_en/_static/logo_source.png
deleted file mode 100644
index fc347d271abe082ae8d16242328551648766b6fb..0000000000000000000000000000000000000000
Binary files a/lite/docs/source_en/_static/logo_source.png and /dev/null differ
diff --git a/lite/docs/source_en/architecture_lite.md b/lite/docs/source_en/architecture_lite.md
deleted file mode 100644
index 64585775720d39c365190d9f8f24c82931cf24e3..0000000000000000000000000000000000000000
--- a/lite/docs/source_en/architecture_lite.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Overall Architecture
-
-
-
-The overall architecture of MindSpore Lite is as follows:
-
-
-
-- **Frontend:** generates models. You can use the model building API to build models and convert third-party models and models trained by MindSpore to MindSpore Lite models. Third-party models include TensorFlow Lite, Caffe 1.0, and ONNX models.
-
-- **IR:** defines the tensors, operators, and graphs of MindSpore.
-
-- **Backend:** optimizes graphs based on IR, including graph high level optimization (GHLO), graph low level optimization (GLLO), and quantization. GHLO is responsible for hardware-independent optimization, such as operator fusion and constant folding. GLLO is responsible for hardware-related optimization. Quantizer supports quantization methods after training, such as weight quantization and activation value quantization.
-
-- **Runtime:** inference runtime of intelligent devices. Sessions are responsible for session management and provide external APIs. The thread pool and parallel primitives are responsible for managing the thread pool used for graph execution. Memory allocation is responsible for memory overcommitment of each operator during graph execution. The operator library provides the CPU and GPU operators.
-
-- **Micro:** runtime of IoT devices, including the model generation .c file, thread pool, memory overcommitment, and operator library.
-
-Runtime and Micro share the underlying infrastructure layers, such as the operator library, memory allocation, thread pool, and parallel primitives.
diff --git a/lite/docs/source_en/conf.py b/lite/docs/source_en/conf.py
deleted file mode 100644
index fd89055b9bf9e2a889d23de6fa7395072650db42..0000000000000000000000000000000000000000
--- a/lite/docs/source_en/conf.py
+++ /dev/null
@@ -1,60 +0,0 @@
-# Configuration file for the Sphinx documentation builder.
-#
-# This file only contains a selection of the most common options. For a full
-# list see the documentation:
-# https://www.sphinx-doc.org/en/master/usage/configuration.html
-
-# -- Path setup --------------------------------------------------------------
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#
-import os
-
-
-# -- Project information -----------------------------------------------------
-
-project = 'MindSpore Lite'
-copyright = '2020, MindSpore Lite'
-author = 'MindSpore Lite'
-
-# The full version, including alpha/beta/rc tags
-release = 'master'
-
-
-# -- General configuration ---------------------------------------------------
-
-# Add any Sphinx extension module names here, as strings. They can be
-# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
-# ones.
-extensions = [
- 'sphinx_markdown_tables',
- 'recommonmark',
-]
-
-source_suffix = {
- '.rst': 'restructuredtext',
- '.md': 'markdown',
-}
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = []
-
-pygments_style = 'sphinx'
-
-autodoc_inherit_docstrings = False
-
-# -- Options for HTML output -------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-#
-html_theme = 'sphinx_rtd_theme'
-
-html_static_path = ['_static']
\ No newline at end of file
diff --git a/lite/docs/source_en/glossary_lite.md b/lite/docs/source_en/glossary_lite.md
deleted file mode 100644
index 8b596229292567ddb8b24b7a0cc1560c763f224d..0000000000000000000000000000000000000000
--- a/lite/docs/source_en/glossary_lite.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Glossary
-
-
-
-| Acronym and Abbreviation | Description |
-| ----- | ----- |
-| MindSpore Lite | MindSpore AI engine is applied to the intelligent terminal and resource constrained scenes on the edge side. |
-| MindSpore Micro | MindSpore AI engine with smaller package size for IOT devices. |
-| GHLO | Graph high-level optimization. |
-| GLLO | Graph low-level optimization. |
-| RT | Runtime. |
-
diff --git a/lite/docs/source_en/images/MindSpore-Lite-architecture.png b/lite/docs/source_en/images/MindSpore-Lite-architecture.png
deleted file mode 100644
index abf28796690f5649f8bc92382dfd4c2c83187620..0000000000000000000000000000000000000000
Binary files a/lite/docs/source_en/images/MindSpore-Lite-architecture.png and /dev/null differ
diff --git a/lite/docs/source_en/index_lite.rst b/lite/docs/source_en/index_lite.rst
deleted file mode 100644
index abecfe957e16896bca6efeb5a1cb376835251fa6..0000000000000000000000000000000000000000
--- a/lite/docs/source_en/index_lite.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-.. MindSpore documentation master file, created by
- sphinx-quickstart on Thu Aug 17 10:00:00 2020.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-MindSpore Lite Documentation
-============================
-
-.. toctree::
- :glob:
- :maxdepth: 1
-
- architecture
- apicc/apicc
- operator_list
- glossary
diff --git a/lite/docs/source_en/operator_list_lite.md b/lite/docs/source_en/operator_list_lite.md
deleted file mode 100644
index 6038b5c95690dd4b30378a7101d828ef9d0cda90..0000000000000000000000000000000000000000
--- a/lite/docs/source_en/operator_list_lite.md
+++ /dev/null
@@ -1,111 +0,0 @@
-# Operator List
-
-
-
-> √ The checked items are the operators supported by MindSpore Lite。
-
-| Operation | CPU
FP16 | CPU
FP32 | CPU
Int8 | CPU
UInt8 | GPU
FP16 | GPU
FP32 | Tensorflow
Lite op supported | Caffe
Lite op supported | Onnx
Lite op supported |
-|-----------------------|----------|----------|-----------|----------|----------|------------------|----------|----------|----------|
-| Abs | | √ | √ | √ | | | Abs | | Abs |
-| Add | √ | √ | √ | √ | | √ | Add | | Add |
-| AddN | | √ | | | | | AddN | | |
-| Argmax | | √ | √ | √ | | | Argmax | ArgMax | ArgMax |
-| Argmin | | √ | √ | √ | | | Argmin | | |
-| AvgPool | √ | √ | √ | √ | | √ | MeanPooling| Pooling | AveragePool |
-| BatchNorm | √ | √ | √ | √ | | √ | | BatchNorm | BatchNormalization |
-| BatchToSpace | | √ | √ | √ | | | BatchToSpace, BatchToSpaceND | | |
-| BiasAdd | | √ | √ | √ | | √ | | | BiasAdd |
-| Broadcast | | √ | | | | | BroadcastTo | | Expand |
-| Cast | √ | √ | | √ | | | Cast, DEQUANTIZE* | | Cast |
-| Ceil | | √ | √ | √ | | | Ceil | | Ceil |
-| Concat | √ | √ | √ | √ | √ | √ | Concat | Concat | Concat |
-| Conv2d | √ | √ | √ | √ | √ | √ | Conv2D | Convolution | Conv |
-| Conv2dTranspose | √ | √ | √ | √ | √ | √ | DeConv2D | Deconvolution | ConvTranspose |
-| Cos | | √ | √ | √ | | | Cos | | Cos |
-| Crop | | √ | √ | √ | | | | Crop | |
-| DeDepthwiseConv2D | | √ | √ | √ | | | | Deconvolution| ConvTranspose |
-| DepthToSpace | | √ | √ | √ | | | DepthToSpace| | DepthToSpace |
-| DepthwiseConv2dNative | √ | √ | √ | √ | √ | √ | DepthwiseConv2D | Convolution | Convolution |
-| Div | √ | √ | √ | √ | | √ | Div, RealDiv | | Div |
-| Eltwise | √ | √ | | | | | | Eltwise | |
-| Elu | | √ | | | | | Elu | | Elu |
-| Equal | √ | √ | √ | √ | | | Equal | | Equal |
-| Exp | | √ | | | | | Exp | | Exp |
-| ExpandDims | | √ | | | | | | | |
-| Fill | | √ | | | | | Fill | | |
-| Flatten | | √ | | | | | | Flatten | |
-| Floor | | √ | √ | √ | | | flOOR | | Floor |
-| FloorDiv | √ | √ | | | | | FloorDiv | | |
-| FloorMod | √ | √ | | | | | FloorMod | | |
-| FullConnection | | √ | √ | √ | | | FullyConnected | InnerProduct | |
-| GatherNd | | √ | √ | √ | | | GatherND | | |
-| GatherV2 | | √ | √ | √ | | | Gather | | Gather |
-| Greater | √ | √ | √ | √ | | | Greater | | Greater |
-| GreaterEqual | √ | √ | √ | √ | | | GreaterEqual| | |
-| Hswish | √ | √ | √ | √ | | | HardSwish | | |
-| LeakyReLU | √ | √ | | | | √ | LeakyRelu | | LeakyRelu |
-| Less | √ | √ | √ | √ | | | Less | | Less |
-| LessEqual | √ | √ | √ | √ | | | LessEqual | | |
-| LRN | | √ | | | | | LocalResponseNorm | | Lrn |
-| Log | | √ | √ | √ | | | Log | | Log |
-| LogicalAnd | √ | √ | | | | | LogicalAnd | | |
-| LogicalNot | | √ | √ | √ | | | LogicalNot | | |
-| LogicalOr | √ | √ | | | | | LogicalOr | | |
-| LSTM | | √ | | | | | | | |
-| MatMul | | √ | √ | √ | √ | √ | | | MatMul |
-| Maximum | √ | √ | | | | | Maximum | | Max |
-| MaxPool | √ | √ | √ | √ | | √ | MaxPooling | Pooling | MaxPool |
-| Minimum | √ | √ | | | | | Minimum | | Min |
-| Mul | √ | √ | √ | √ | | √ | Mul | | Mul |
-| NotEqual | √ | √ | √ | √ | | | NotEqual | | |
-| OneHot | | √ | | | | | OneHot | | |
-| Pad | | √ | √ | √ | | | Pad | | Pad |
-| Pow | | √ | √ | √ | | | Pow | Power | Power |
-| PReLU | | √ | | | | √ | | PReLU | |
-| Range | | √ | | | | | Range | | |
-| Rank | | √ | | | | | Rank | | |
-| ReduceMax | √ | √ | √ | √ | | | ReduceMax | | ReduceMax |
-| ReduceMean | √ | √ | √ | √ | | | Mean | | ReduceMean |
-| ReduceMin | √ | √ | √ | √ | | | ReduceMin | | ReduceMin |
-| ReduceProd | √ | √ | √ | √ | | | ReduceProd | | |
-| ReduceSum | √ | √ | √ | √ | | | Sum | | ReduceSum |
-| ReduceSumSquare | √ | √ | √ | √ | | | | | |
-| ReLU | √ | √ | √ | √ | | √ | Relu | ReLU | Relu |
-| ReLU6 | √ | √ | √ | √ | | √ | Relu6 | ReLU6 | Clip* |
-| Reshape | √ | √ | √ | √ | | √ | Reshape | Reshape | Reshape,Flatten |
-| Resize | | √ | √ | √ | | | ResizeBilinear, NearestNeighbor | Interp | |
-| Reverse | | √ | | | | | reverse | | |
-| ReverseSequence | | √ | | | | | ReverseSequence | | |
-| Round | | √ | √ | √ | | | Round | | |
-| Rsqrt | | √ | √ | √ | | | Rsqrt | | |
-| Scale | | √ | | | | | | Scale | |
-| ScatterNd | | √ | | | | | ScatterNd | | |
-| Shape | | √ | | | | | Shape | | Shape |
-| Sigmoid | √ | √ | √ | √ | | √ | Logistic | Sigmoid | Sigmoid |
-| Sin | | √ | √ | √ | | | Sin | | Sin |
-| Slice | | √ | √ | √ | √ | √ | Slice | | Slice |
-| Softmax | √ | √ | √ | √ | | √ | Softmax | Softmax | Softmax |
-| SpaceToBatch | | √ | | | | | | | |
-| SpaceToBatchND | | √ | | | | | SpaceToBatchND | | |
-| SpaceToDepth | | √ | | | | | SpaceToDepth | | SpaceToDepth |
-| SparseToDense | | √ | | | | | SpareToDense | | |
-| Split | √ | √ | √ | √ | | | Split, SplitV | | |
-| Sqrt | | √ | √ | √ | | | Sqrt | | Sqrt |
-| Square | | √ | √ | √ | | | Square | | |
-| SquaredDifference | | √ | | | | | SquaredDifference | | |
-| Squeeze | | √ | √ | √ | | | Squeeze | | Squeeze |
-| StridedSlice | | √ | √ | √ | | | StridedSlice| | |
-| Stack | | √ | | | | | Stack | | |
-| Sub | √ | √ | √ | √ | | √ | Sub | | Sub |
-| Tanh | √ | √ | | | | | Tanh | TanH | |
-| Tile | | √ | | | | | Tile | | Tile |
-| TopK | | √ | √ | √ | | | TopKV2 | | |
-| Transpose | √ | √ | | | | √ | Transpose | Permute | Transpose |
-| Unique | | √ | | | | | Unique | | |
-| Unsqueeze | | √ | √ | √ | | | | | Unsqueeze |
-| Unstack | | √ | | | | | Unstack | | |
-| Where | | √ | | | | | Where | | |
-| ZerosLike | | √ | | | | | ZerosLike | | |
-
-* Clip: only support convert clip(0, 6) to Relu6.
-* DEQUANTIZE: only support to convert fp16 to fp32.
diff --git a/lite/docs/source_zh_cn/_static/logo_source.png b/lite/docs/source_zh_cn/_static/logo_source.png
deleted file mode 100644
index fc347d271abe082ae8d16242328551648766b6fb..0000000000000000000000000000000000000000
Binary files a/lite/docs/source_zh_cn/_static/logo_source.png and /dev/null differ
diff --git a/lite/docs/source_zh_cn/apicc/apicc.rst b/lite/docs/source_zh_cn/apicc/apicc.rst
deleted file mode 100644
index 82bbf145ca283f9d79be97c93986fcf03d9e2aed..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/apicc.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-C++ API
-=======
-
-.. toctree::
- :maxdepth: 1
-
- class_list
- lite
- session
- tensor
- dataset
- errorcode_and_metatype
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/apicc/class_list.md b/lite/docs/source_zh_cn/apicc/class_list.md
deleted file mode 100644
index 3eddc864670fdbfda9390e020164edddb676392c..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/class_list.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# 类列表
-
-MindSpore Lite中的类定义及其所属命名空间和描述:
-
-| 命名空间 | 类 | 描述 |
-| --- | --- | --- |
-| mindspore::lite | [Allocator](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#allocator) | Allocator定义了一个内存池,用于动态地分配和释放内存。 |
-| mindspore::lite | [Context](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#context) | Context用于保存执行期间的环境变量。 |
-| mindspore::lite | [ModelImpl](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#modelimpl) | ModelImpl定义了MindSpore Lite中的Model的实现类。 |
-| mindspore::lite | [PrimitiveC](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#primitivec) | PrimitiveC定义为算子的原型。 |
-| mindspore::lite | [Model](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#model) | Model定义了MindSpore Lite中的模型,便于计算图管理。 |
-| mindspore::lite | [ModelBuilder](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#modelbuilder) | ModelBuilder定义了MindSpore Lite中的模型构建器。 |
-| mindspore::session | [LiteSession](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/session.html#litesession) | LiteSession定义了MindSpore Lite中的会话,用于进行Model的编译和前向推理。 |
-| mindspore::tensor | [MSTensor](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/tensor.html#mstensor) | MSTensor定义了MindSpore Lite中的张量。 |
-| mindspore::dataset | [LiteMat](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/dataset.html#litemat) |LiteMat是一个处理图像的类。 |
diff --git a/lite/docs/source_zh_cn/apicc/dataset.md b/lite/docs/source_zh_cn/apicc/dataset.md
deleted file mode 100644
index ef441d6ab75fc6c4f49fb1b40b471608a02aeb0c..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/dataset.md
+++ /dev/null
@@ -1,282 +0,0 @@
-# mindspore::dataset
-
-#include <[lite_mat.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/lite_mat.h)>
-#include <[image_process.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h)>
-
-
-## image_process.h文件的函数
-
-```
-bool ResizeBilinear(LiteMat &src, LiteMat &dst, int dst_w, int dst_h)
-```
-
-通过双线性算法调整图像大小,当前仅支持的数据类型为uint8,当前支持的通道为3和1。
-
-- 参数
-
- - `src`: 输入的图片数据。
- - `dst`: 输出的图片数据。
- - `dst_w`: 输出图片数据的宽度。
- - `dst_h`: 输出图片数据的高度。
-- 返回值
-
- 返回True或者False。
-
-```
-bool InitFromPixel(const unsigned char *data, LPixelType pixel_type, LDataType data_type, int w, int h, LiteMat &m)
-```
-
-从像素初始化LiteMat,当前支持的转换是rbgaTorgb和rgbaTobgr。
-
-- 参数
-
- - `data`: 输入的数据。
- - `pixel_type`: 像素点的类型。
- - `data_type`: 数据的类型。
- - `w`: 输出数据的宽度。
- - `h`: 输出数据的高度。
- - `mat`: 用于存储图像数据。
-- 返回值
-
- 返回True或者False。
-
-```
-bool ConvertTo(LiteMat &src, LiteMat &dst, double scale = 1.0)
-```
-
-转换数据类型,当前支持的转换是将uint8转换为float。
-
-- 参数
-
- - `src`: 输入的图片数据。
- - `dst`: 输出图像数据。
- - `scale`: 对像素做尺度(默认值为1.0)。
-
-- 返回值
-
- 返回True或者False。
-
-```
-bool Crop(LiteMat &src, LiteMat &dst, int x, int y, int w, int h)
-```
-
-裁剪图像,通道支持为3和1。
-
-- 参数
-
- - `src`: 输入的图片数据。
- - `dst`: 输出图像数据。
- - `x`: 屏幕截图起点的x坐标值。
- - `y`: 屏幕截图起点的y坐标值。
- - `w`: 截图的宽度。
- - `h`: 截图的高度。
-- 返回值
-
- 返回True或者False。
-
-```
-bool SubStractMeanNormalize(LiteMat &src, LiteMat &dst, const float *mean, float *norm)
-```
-
-规一化图像,当前支持的数据类型为float。
-
-- 参数
-
- - `src`: 输入的图片数据。
- - `dst`: 输出图像数据。
- - `mean`: 数据集的均值。
- - `norm`: 数据集的方差。
-- 返回值
-
- 返回True或者False。
-
-```
-bool Pad(LiteMat &src, LiteMat &dst, const int top, const int bottom, const int left, const int right, const PaddBorderType pad_type, uint8_t fill_r, uint8_t fill_g, uint8_t fill_b)
-```
-
-填充图像,通道支持为3和1。
-
-- 参数
-
- - `src`: 输入的图片数据。
- - `dst`: 输出图像数据。
- - `top`: 图片顶部长度。
- - `bottom`: 图片底部长度。
- - `left`: 图片左边长度。
- - `right`: 图片右边长度。
- - `pad_type`: padding的类型。
- - `fill_r`: R.
- - `fill_g`: G.
- - `fill_b`: B.
-- 返回值
-
- 返回True或者False。
-
-```
-void Affine(LiteMat &src, LiteMat &out_img, double M[6], std::vector dsize, UINT8_C1 borderValue)
-```
-
-对1通道图像应用仿射变换。
-
-- 参数
-
- - `src`: 输入图片数据。
- - `out_img`: 输出图片数据。
- - `M[6]`: 仿射变换矩阵。
- - `dsize`: 输出图像的大小。
- - `borderValue`: 采图之后用于填充的像素值。
-
-```
-void Affine(LiteMat &src, LiteMat &out_img, double M[6], std::vector dsize, UINT8_C3 borderValue)
-```
-
-对3通道图像应用仿射变换。
-
-- 参数
-
- - `src`: 输入图片数据。
- - `out_img`: 输出图片数据。
- - `M[6]`: 仿射变换矩阵。
- - `dsize`: 输出图像的大小。
- - `borderValue`: 采图之后用于填充的像素值。
-
-```
-std::vector> GetDefaultBoxes(BoxesConfig config)
-```
-
-获取Faster R-CNN,SSD,YOLO等的默认框。
-
-- 参数
-
- - `config`: BoxesConfig结构体对象。
-
-- 返回值
-
- 返回默认框。
-
-```
-void ConvertBoxes(std::vector> &boxes, std::vector> &default_boxes, BoxesConfig config)
-```
-
-将预测框转换为(y,x,h,w)的实际框。
-
-- 参数
-
- - `boxes`: 实际框的大小。
- - `default_boxes`: 默认框。
- - `config`: BoxesConfig结构体对象。
-
-```
-std::vector ApplyNms(std::vector> &all_boxes, std::vector &all_scores, float thres, int max_boxes)
-```
-
-对实际框的非极大值抑制。
-
-- 参数
-
- - `all_boxes`: 所有输入的框。
- - `all_scores`: 通过网络执行后所有框的得分。
- - `thres`: IOU的预值。
- - `max_boxes`: 输出框的最大值。
-- 返回值
-
- 返回框的id。
-
-
-
-## LiteMat
-
-LiteMat是一个处理图像的类。
-
-**构造函数和析构函数**
-
-
-```
-LiteMat()
-
-LiteMat(int width, LDataType data_type = LDataType::UINT8)
-
-LiteMat(int width, int height, LDataType data_type = LDataType::UINT8)
-
-LiteMat(int width, int height, int channel, LDataType data_type = LDataType::UINT8)
-```
-
-MindSpore中dataset模块下LiteMat的构造方法,使用参数的默认值。
-
-```
-~LiteMat();
-```
-
-MindSpore dataset LiteMat的析构函数。
-
-**公有成员函数**
-
-
-```
-void Init(int width, LDataType data_type = LDataType::UINT8)
-
-void Init(int width, int height, LDataType data_type = LDataType::UINT8)
-
-void Init(int width, int height, int channel, LDataType data_type = LDataType::UINT8)
-```
-
-该函数用于初始化图像的通道,宽度和高度,参数不同。
-
-```
-bool IsEmpty() const
-```
-
-确定对象是否为空的函数。
-
-- 返回值
-
- 返回True或者False。
-
-```
-void Release()
-```
-
-释放内存的函数。
-
-**私有成员函数**
-
-```
-void *AlignMalloc(unsigned int size)
-```
-
-申请内存对齐的函数。
-
-- 参数
-
- - `size`: 内存大小。
-
-- 返回值
-
- 返回指针的大小。
-
-```
-void AlignFree(void *ptr)
-```
-
-释放指针内存大小的方法。
-
-```
-void InitElemSize(LDataType data_type)
-```
-
-通过data_type初始化元素字节数的值。
-
-- 参数
-
- - `data_type`: 数据的类型。
-
-```
- int addRef(int *p, int value)
-```
-
-用于计算引用该函数次数的函数。
-
-- 参数
-
- - `p`: 指向引用的对象。
- - `value`: 引用时所加的值。
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/apicc/errorcode_and_metatype.md b/lite/docs/source_zh_cn/apicc/errorcode_and_metatype.md
deleted file mode 100644
index 4195eaedcfa2cda8e0470d3db06950e35e2050d8..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/errorcode_and_metatype.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# 错误码及元类型
-
-以下表格描述了MindSpore Lite中支持的错误码和元类型。
-
-## ErrorCode
-
-| 定义 | 值 | 描述 |
-| --- | --- | --- |
-| RET_OK | 0 | 执行成功。 |
-| RET_ERROR | -1 | 通用错误码。 |
-| RET_NULL_PTR | -2 | 返回空指针。 |
-| RET_PARAM_INVALID | -3 | 无效参数。 |
-| RET_NO_CHANGE | -4 | 无改变。 |
-| RET_SUCCESS_EXIT | -5 | 无错误退出。 |
-| RET_MEMORY_FAILED | -6 | 创建内存失败。 |
-| RET_OUT_OF_TENSOR_RANGE | -101 | 输出检查越界。 |
-| RET_INPUT_TENSOR_ERROR | -102 | 输入检查越界。 |
-| RET_REENTRANT_ERROR | -103 | 存在运行中的执行器。 |
-| RET_GRAPH_FILE_ERR | -201 | 图文件识别失败。 |
-| RET_NOT_FIND_OP | -301 | 无法找到算子。 |
-| RET_INVALID_OP_NAME | -302 | 无效算子名。 |
-| RET_INVALID_OP_ATTR | -303 | 无效算子属性。 |
-| RET_OP_EXECUTE_FAILURE | -304 | 算子执行失败。 |
-| RET_FORMAT_ERR | -401 | 张量格式检查失败。 |
-| RET_INFER_ERR | -501 | 维度推理失败。 |
-| RET_INFER_INVALID | -502 | 无效的维度推理。 |
-
-## MetaType
-
- **enum**类型变量。
-
-| 类型定义 | 值 | 描述 |
-| --- | --- | --- |
-|kNumberTypeBegin| 29 | 表示Number类型的起始。 |
-|kNumberTypeBool| 30 | 表示Bool数据类型。 |
-|kNumberTypeInt| 31 | 表示Int数据类型。 |
-|kNumberTypeInt8| 32 | 表示Int8数据类型。 |
-|kNumberTypeInt16| 33 | 表示Int16数据类型。 |
-|kNumberTypeInt32| 34 | 表示Int32数据类型。 |
-|kNumberTypeInt64| 35 | 表示Int64数据类型。 |
-|kNumberTypeUInt| 36 | 表示UInt数据类型。 |
-|kNumberTypeUInt8| 37 | 表示UInt8数据类型。 |
-|kNumberTypeUInt16| 38 | 表示UInt16数据类型。 |
-|kNumberTypeUInt32| 39 | 表示UInt32数据类型。 |
-|kNumberTypeUInt64| 40 | 表示UInt64数据类型。 |
-|kNumberTypeFloat| 41 | 表示Float数据类型。 |
-|kNumberTypeFloat16| 42 | 表示Float16数据类型。 |
-|kNumberTypeFloat32| 43 | 表示Float32数据类型。 |
-|kNumberTypeFloat64| 44 | 表示Float64数据类型。|
-|kNumberTypeEnd| 45 | 表示Number类型的结尾。 |
-
diff --git a/lite/docs/source_zh_cn/apicc/lite.md b/lite/docs/source_zh_cn/apicc/lite.md
deleted file mode 100644
index 2673487a861f56db5c8b9f6bab8daac555cb7fed..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/lite.md
+++ /dev/null
@@ -1,197 +0,0 @@
-# mindspore::lite
-
-#include <[context.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/context.h)>
-
-#include <[model.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/model.h)>
-
-#include <[version.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/version.h)>
-
-
-## Allocator
-
-Allocator类定义了一个内存池,用于动态地分配和释放内存。
-
-## Context
-
-Context类用于保存执行中的环境变量。
-
-**构造函数和析构函数**
-
-```
-Context()
-```
-
-用默认参数构造MindSpore Lite Context 对象。
-
-```
-Context(int thread_num, std::shared_ptr allocator, DeviceContext device_ctx)
-```
-
-根据输入参数构造MindSpore Lite Context 对象。
-
-- 参数
-
- - `thread_num`: 定义了执行线程数。
-
- - `allocator`: 定义了内存分配器。
-
- - `device_ctx`: 定义了设备信息。
-
-- 返回值
-
- MindSpore Lite Context 指针。
-
-```
-~Context()
-```
-
-MindSpore Lite Context 的析构函数。
-
-**公有属性**
-
-```
-float16_priority
-```
-
-**bool** 值,默认为**false**,用于使能float16 推理。
-
-```
-device_ctx_{DT_CPU}
-```
-
-[**DeviceContext**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#devicecontext)结构体。用于设置设备信息。
-
-```
-thread_num_
-```
-
-**int** 值,默认为**2**,设置线程数。
-
-```
-allocator
-```
-
-指针类型,指向内存分配器[**Allocator**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#allocator)的指针。
-
-```
-cpu_bind_mode_
-```
-
-[**CpuBindMode**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#cpubindmode)枚举类型,默认为**MID_CPU**。
-
-## PrimitiveC
-
-PrimitiveC定义为算子的原型。
-
-## Model
-
-Model定义了MindSpore Lite中的模型,便于计算图管理。
-
-**析构函数**
-
-```
-~Model()
-```
-
-MindSpore Lite Model的析构函数。
-
-**公有成员函数**
-
-```
-void Destroy()
-```
-
-释放Model内的所有过程中动态分配的内存。
-
-```
-void Free()
-```
-
-释放MindSpore Lite Model中的MetaGraph。
-
-**静态公有成员函数**
-
-```
-static Model *Import(const char *model_buf, size_t size)
-```
-
-创建Model指针的静态方法。
-
-- 参数
-
- - `model_buf`: 定义了读取模型文件的缓存区。
-
- - `size`: 定义了模型缓存区的字节数。
-
-- 返回值
-
- 指向MindSpore Lite的Model的指针。
-
-## CpuBindMode
-枚举类型,设置cpu绑定策略。
-
-**属性**
-
-```
-MID_CPU = -1
-```
-
-优先中等CPU绑定策略。
-
-```
-HIGHER_CPU = 1
-```
-
-优先高级CPU绑定策略。
-
-```
-NO_BIND = 0
-```
-
-不绑定。
-
-## DeviceType
-枚举类型,设置设备类型。
-
-**属性**
-
-```
-DT_CPU = -1
-```
-
-设备为CPU。
-
-```
-DT_GPU = 1
-```
-
-设备为GPU。
-
-```
-DT_NPU = 0
-```
-
-设备为NPU,暂不支持。
-
-## DeviceContext
-
-定义设备类型的结构体。
-
-**属性**
-
-```
-type
-```
-
-[**DeviceType**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/lite.html#devicetype) 变量。设备类型。
-
-## Version
-
-```
-std::string Version()
-```
-全局方法,用于获取版本的字符串。
-
-- 返回值
-
- MindSpore Lite版本的字符串。
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/apicc/session.md b/lite/docs/source_zh_cn/apicc/session.md
deleted file mode 100644
index 86556e1351e97bf4ad435e09db907fdca4e5fefd..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/session.md
+++ /dev/null
@@ -1,177 +0,0 @@
-# mindspore::session
-
-#include <[lite_session.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/lite_session.h)>
-
-
-## LiteSession
-
-LiteSession定义了MindSpore Lite中的会话,用于进行Model的编译和前向推理。
-
-**构造函数和析构函数**
-
-```
-LiteSession()
-```
-MindSpore Lite LiteSession的构造函数,使用默认参数。
-```
-~LiteSession()
-```
-MindSpore Lite LiteSession的析构函数。
-
-**公有成员函数**
-```
-virtual void BindThread(bool if_bind)
-```
-尝试将线程池中的线程绑定到指定的cpu内核,或从指定的cpu内核进行解绑。
-
-- 参数
-
- - `if_bind`: 定义了对线程进行绑定或解绑。
-
-```
-virtual int CompileGraph(lite::Model *model)
-```
-编译MindSpore Lite模型。
-
-> 注意: CompileGraph必须在RunGraph方法之后调用。
-
-- 参数
-
- - `model`: 定义了需要被编译的模型。
-
-- 返回值
-
- STATUS ,即编译图的错误码。STATUS在[errorcode.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/errorcode.h)中定义。
-
-```
-virtual std::vector GetInputs() const
-```
-获取MindSpore Lite模型的MSTensors输入。
-
-- 返回值
-
- MindSpore Lite MSTensor向量。
-
-```
-std::vector GetInputsByName(const std::string &node_name) const
-```
-通过节点名获取MindSpore Lite模型的MSTensors输入。
-
-- 参数
-
- - `node_name`: 定义了节点名。
-
-- 返回值
-
- MindSpore Lite MSTensor向量。
-
-```
-virtual int RunGraph(const KernelCallBack &before = nullptr, const KernelCallBack &after = nullptr)
-```
-运行带有回调函数的会话。
-> 注意: RunGraph必须在CompileGraph方法之后调用。
-
-- 参数
-
- - `before`: 一个[**KernelCallBack**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/session.html#kernelcallback) 结构体。定义了运行每个节点之前调用的回调函数。
-
- - `after`: 一个[**KernelCallBack**](https://www.mindspore.cn/lite/docs/zh-CN/master/apicc/session.html#kernelcallback) 结构体。定义了运行每个节点之后调用的回调函数。
-
-- 返回值
-
- STATUS ,即编译图的错误码。STATUS在[errorcode.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/errorcode.h)中定义。
-
-```
-virtual std::vector GetOutputsByNodeName(const std::string &node_name) const
-```
-通过节点名获取MindSpore Lite模型的MSTensors输出。
-
-- 参数
-
- - `node_name`: 定义了节点名。
-
-- 返回值
-
- MindSpore Lite MSTensor向量。
-
-```
-virtual std::unordered_map GetOutputs() const
-```
-获取与张量名相关联的MindSpore Lite模型的MSTensors输出。
-
-- 返回值
-
- 包含输出张量名和MindSpore Lite MSTensor的容器类型变量。
-
-```
-virtual std::vector GetOutputTensorNames() const
-```
-获取由当前会话所编译的模型的输出张量名。
-
-- 返回值
-
- 字符串向量,其中包含了按顺序排列的输出张量名。
-
-```
-virtual mindspore::tensor::MSTensor *GetOutputByTensorName(const std::string &tensor_name) const
-```
-通过张量名获取MindSpore Lite模型的MSTensors输出。
-
-- 参数
-
- - `tensor_name`: 定义了张量名。
-
-- 返回值
-
- 指向MindSpore Lite MSTensor的指针。
-
-```
-virtual int Resize(const std::vector &inputs, const std::vector> &dims)
-```
-调整输入的形状。
-
-- 参数
-
- - `inputs`: 模型对应的所有输入。
- - `dims`: 输入对应的新的shape,顺序注意要与inputs一致。
-
-- 返回值
-
- STATUS ,即编译图的错误码。STATUS在[errorcode.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/errorcode.h)中定义。
-
-**静态公有成员函数**
-
-```
-static LiteSession *CreateSession(lite::Context *context)
-```
-用于创建一个LiteSession指针的静态方法。
-
-- 参数
-
- - `context`: 定义了所要创建的session的上下文。
-
-- 返回值
-
- 指向MindSpore Lite LiteSession的指针。
-## KernelCallBack
-
-```
-using KernelCallBack = std::function inputs, std::vector outputs, const CallBackParam &opInfo)>
-```
-
-一个函数包装器。KernelCallBack 定义了指向回调函数的指针。
-
-## CallBackParam
-
-一个结构体。CallBackParam定义了回调函数的输入参数。
-**属性**
-
-```
-name_callback_param
-```
-**string** 类型变量。节点名参数。
-
-```
-type_callback_param
-```
-**string** 类型变量。节点类型参数。
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/apicc/tensor.md b/lite/docs/source_zh_cn/apicc/tensor.md
deleted file mode 100644
index e9eae1f0fd9a62aa59e7b578b09a455bab843f1d..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/apicc/tensor.md
+++ /dev/null
@@ -1,142 +0,0 @@
-# mindspore::tensor
-
-#include <[ms_tensor.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/lite/include/ms_tensor.h)>
-
-
-## MSTensor
-
-MSTensor定义了MindSpore Lite中的张量。
-
-**构造函数和析构函数**
-```
-MSTensor()
-```
-MindSpore Lite MSTensor的构造函数。
-
-- 返回值
-
- MindSpore Lite MSTensor 的实例。
-
-```
-virtual ~MSTensor()
-```
-MindSpore Lite Model的析构函数。
-
-**公有成员函数**
-
-```
-virtual TypeId data_type() const
-```
-获取MindSpore Lite MSTensor的数据类型。
-
-> 注意:TypeId在[mindspore/mindspore/core/ir/dtype/type_id\.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/core/ir/dtype/type_id.h)中定义。只有TypeId枚举中的数字类型可用于MSTensor。
-
-- 返回值
-
- MindSpore Lite MSTensor类的MindSpore Lite TypeId。
-
-```
-virtual TypeId set_data_type(TypeId data_type)
-```
-设置MindSpore Lite MSTensor的数据类型。
-
-- 参数
-
- - `data_type`: 定义了MindSpore Lite MSTensor所需设置的MindSpore Lite TypeId。
-
-- 返回值
-
- 设置后的MindSpore Lite MSTensor的MindSpore Lite TypeI。
-
-```
-virtual std::vector shape() const
-```
-获取MindSpore Lite MSTensor的形状。
-
-- 返回值
-
- 一个包含MindSpore Lite MSTensor形状数值的整型向量。
-
-```
-virtual size_t set_shape(const std::vector &shape)
-```
-设置MindSpore Lite MSTensor的形状.
-
-- 参数
-
- - `shape`: 定义了一个整型向量,包含了所需设置的MindSpore Lite MSTensor形状数值。
-
-- 返回值
-
- 设置形状后的MindSpore Lite MSTensor的大小。
-
-```
-virtual int DimensionSize(size_t index) const
-```
-Get size of the dimension of the MindSpore Lite MSTensor index by the parameter index.
-
-- 参数
-
- - `index`: 定义了返回的维度的索引。
-
-- 返回值
-
- MindSpore Lite MSTensor的维度的大小。
-
-```
-virtual int ElementsNum() const
-```
-获取MSTensor中的元素个数。
-
-- 返回值
-
- MSTensor中的元素个数
-
-```
-virtual std::size_t hash() const
-```
-获取MindSpore Lite MSTensor的哈希码。
-
-- 返回值
-
- MindSpore Lite MSTensor的哈希码。
-
-```
-virtual size_t Size() const
-```
-获取MSTensor中的数据的字节数大小。
-
-- 返回值
-
- MSTensor中的数据的字节数大小。
-
-
-```
-virtual void *MutableData() const
-```
-获取MSTensor中的数据的指针。
-
-> 注意:该数据指针可用于对MSTensor中的数据进行读取和写入。
-
-- 返回值
-
- 指向MSTensor中的数据的指针。
-
-**静态公有成员函数**
-
-```
-static MSTensor *CreateTensor(TypeId data_type, const std::vector &shape)
-```
-创建MSTensor指针的静态方法。
-
-> 注意:TypeId在[mindspore/mindspore/core/ir/dtype/type_id\.h](https://gitee.com/mindspore/mindspore/blob/master/mindspore/core/ir/dtype/type_id.h)中定义。只有TypeId枚举中的数字类型可用于MSTensor。
-
-- 参数
-
- - `data_type`: 定义了所要创建的张量的数据类型。
-
- - `shape`: 定义了所要创建的张量的形状。
-
-- 返回值
-
- 指向MSTensor的指针。
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/architecture_lite.md b/lite/docs/source_zh_cn/architecture_lite.md
deleted file mode 100644
index ce86fa9829a184306cde335d74d06a70117c6c63..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/architecture_lite.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# 总体架构
-
-
-
-MindSpore Lite框架的总体架构如下所示:
-
-
-
-- **前端(Frontend):** 负责模型生成,用户可以通过模型构建接口构建模型,将第三方模型和MindSpore训练的模型转换为MindSpore Lite模型,其中第三方模型包括TensorFlow Lite、Caffe 1.0和ONNX模型。
-
-- **IR:** 负责MindSpore的Tensor定义、算子定义和图定义。
-
-- **Backend:** 基于IR进行图优化,包括GHLO、GLLO和量化三部分。其中,GHLO负责和硬件无关的优化,如算子融合、常量折叠等;GLLO负责与硬件相关的优化;量化Quantizer支持权重量化、激活值量化等训练后量化手段。
-
-- **Runtime:** 智能终端的推理运行时,其中session负责会话管理,提供对外接口;线程池和并行原语负责图执行使用的线程池管理,内存分配负责图执行中各个算子的内存复用,算子库提供CPU和GPU算子。
-
-- **Micro:** IoT设备的运行时,包括模型生成.c文件、线程池、内存复用和算子库。
-
-其中,Runtime和Micro共享底层的算子库、内存分配、线程池、并行原语等基础设施层。
-
diff --git a/lite/docs/source_zh_cn/conf.py b/lite/docs/source_zh_cn/conf.py
deleted file mode 100644
index dd8e0482bb14ee1ec4242dcd8e550cbb12eb0712..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/conf.py
+++ /dev/null
@@ -1,62 +0,0 @@
-# Configuration file for the Sphinx documentation builder.
-#
-# This file only contains a selection of the most common options. For a full
-# list see the documentation:
-# https://www.sphinx-doc.org/en/master/usage/configuration.html
-
-# -- Path setup --------------------------------------------------------------
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#
-import os
-
-
-# -- Project information -----------------------------------------------------
-
-project = 'MindSpore Lite'
-copyright = '2020, MindSpore Lite'
-author = 'MindSpore Lite'
-
-# The full version, including alpha/beta/rc tags
-release = 'master'
-
-
-# -- General configuration ---------------------------------------------------
-
-# Add any Sphinx extension module names here, as strings. They can be
-# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
-# ones.
-extensions = [
- 'sphinx_markdown_tables',
- 'recommonmark',
-]
-
-source_suffix = {
- '.rst': 'restructuredtext',
- '.md': 'markdown',
-}
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = []
-
-pygments_style = 'sphinx'
-
-autodoc_inherit_docstrings = False
-
-# -- Options for HTML output -------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-#
-html_theme = 'sphinx_rtd_theme'
-
-html_search_language = 'zh'
-
-html_static_path = ['_static']
\ No newline at end of file
diff --git a/lite/docs/source_zh_cn/glossary_lite.md b/lite/docs/source_zh_cn/glossary_lite.md
deleted file mode 100644
index b9cf41a4c6908e4e75c927614335a60e9e8b0ac6..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/glossary_lite.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# 术语
-
-
-
-| 术语/缩略语 | 说明 |
-| ----- | ----- |
-| MindSpore Lite | 应用在智能终端,边缘册资源受限场景的MindSpore AI 引擎。 |
-| MindSpore Micro | 应用在IoT设备的,包大小更小的MindSpore AI引擎。 |
-| GHLO | Graph high-level optimization,图高层优化。 |
-| GLLO | Graph low-level optimization,图底层优化。 |
-| RT | Runtime运行时。 |
-
diff --git a/lite/docs/source_zh_cn/images/MindSpore-Lite-architecture.png b/lite/docs/source_zh_cn/images/MindSpore-Lite-architecture.png
deleted file mode 100644
index abf28796690f5649f8bc92382dfd4c2c83187620..0000000000000000000000000000000000000000
Binary files a/lite/docs/source_zh_cn/images/MindSpore-Lite-architecture.png and /dev/null differ
diff --git a/lite/docs/source_zh_cn/index_lite.rst b/lite/docs/source_zh_cn/index_lite.rst
deleted file mode 100644
index 20ecdbb72c0fe01cbc24c674bda6944504c792ff..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/index_lite.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-.. MindSpore documentation master file, created by
- sphinx-quickstart on Thu Aug 17 10:00:00 2020.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-MindSpore端侧文档
-==================
-
-.. toctree::
- :glob:
- :maxdepth: 1
-
- architecture
- apicc/apicc
- operator_list
- glossary
diff --git a/lite/docs/source_zh_cn/operator_list_lite.md b/lite/docs/source_zh_cn/operator_list_lite.md
deleted file mode 100644
index 3384d8baf91b1af92ff4758816790af7b6e241bc..0000000000000000000000000000000000000000
--- a/lite/docs/source_zh_cn/operator_list_lite.md
+++ /dev/null
@@ -1,111 +0,0 @@
-# 算子支持
-
-
-
-> √勾选的项为MindSpore Lite所支持的算子。
-
-| 操作名 | CPU
FP16 | CPU
FP32 | CPU
Int8 | CPU
UInt8 | GPU
FP16 | GPU
FP32 | 支持的Tensorflow
Lite op | 支持的Caffe
Lite op | 支持的Onnx
Lite op |
-|-----------------------|----------|----------|----------|-----------|----------|-------------------|----------|----------|---------|
-| Abs | | √ | √ | √ | | | Abs | | Abs |
-| Add | √ | √ | √ | √ | | √ | Add | | Add |
-| AddN | | √ | | | | | AddN | | |
-| Argmax | | √ | √ | √ | | | Argmax | ArgMax | ArgMax |
-| Argmin | | √ | √ | √ | | | Argmin | | |
-| AvgPool | √ | √ | √ | √ | | √ | MeanPooling| Pooling | AveragePool |
-| BatchNorm | √ | √ | √ | √ | | √ | | BatchNorm | BatchNormalization |
-| BatchToSpace | | √ | √ | √ | | | BatchToSpace, BatchToSpaceND | | |
-| BiasAdd | | √ | √ | √ | | √ | | | BiasAdd |
-| Broadcast | | √ | | | | | BroadcastTo | | Expand |
-| Cast | √ | √ | | √ | | | Cast, DEQUANTIZE* | | Cast |
-| Ceil | | √ | √ | √ | | | Ceil | | Ceil |
-| Concat | √ | √ | √ | √ | √ | √ | Concat | Concat | Concat |
-| Conv2d | √ | √ | √ | √ | √ | √ | Conv2D | Convolution | Conv |
-| Conv2dTranspose | √ | √ | √ | √ | √ | √ | DeConv2D | Deconvolution | ConvTranspose |
-| Cos | | √ | √ | √ | | | Cos | | Cos |
-| Crop | | √ | √ | √ | | | | Crop | |
-| DeDepthwiseConv2D | | √ | √ | √ | | | | Deconvolution| ConvTranspose |
-| DepthToSpace | | √ | √ | √ | | | DepthToSpace| | DepthToSpace |
-| DepthwiseConv2dNative | √ | √ | √ | √ | √ | √ | DepthwiseConv2D | Convolution | Convolution |
-| Div | √ | √ | √ | √ | | √ | Div, RealDiv | | Div |
-| Eltwise | √ | √ | | | | | | Eltwise | |
-| Elu | | √ | | | | | Elu | | Elu |
-| Equal | √ | √ | √ | √ | | | Equal | | Equal |
-| Exp | | √ | | | | | Exp | | Exp |
-| ExpandDims | | √ | | | | | | | |
-| Fill | | √ | | | | | Fill | | |
-| Flatten | | √ | | | | | | Flatten | |
-| Floor | | √ | √ | √ | | | flOOR | | Floor |
-| FloorDiv | √ | √ | | | | | FloorDiv | | |
-| FloorMod | √ | √ | | | | | FloorMod | | |
-| FullConnection | | √ | √ | √ | | | FullyConnected | InnerProduct | |
-| GatherNd | | √ | √ | √ | | | GatherND | | |
-| GatherV2 | | √ | √ | √ | | | Gather | | Gather |
-| Greater | √ | √ | √ | √ | | | Greater | | Greater |
-| GreaterEqual | √ | √ | √ | √ | | | GreaterEqual| | |
-| Hswish | √ | √ | √ | √ | | | HardSwish | | |
-| LeakyReLU | √ | √ | | | | √ | LeakyRelu | | LeakyRelu |
-| Less | √ | √ | √ | √ | | | Less | | Less |
-| LessEqual | √ | √ | √ | √ | | | LessEqual | | |
-| LRN | | √ | | | | | LocalResponseNorm | | Lrn |
-| Log | | √ | √ | √ | | | Log | | Log |
-| LogicalAnd | √ | √ | | | | | LogicalAnd | | |
-| LogicalNot | | √ | √ | √ | | | LogicalNot | | |
-| LogicalOr | √ | √ | | | | | LogicalOr | | |
-| LSTM | | √ | | | | | | | |
-| MatMul | | √ | √ | √ | √ | √ | | | MatMul |
-| Maximum | √ | √ | | | | | Maximum | | Max |
-| MaxPool | √ | √ | √ | √ | | √ | MaxPooling | Pooling | MaxPool |
-| Minimum | √ | √ | | | | | Minimum | | Min |
-| Mul | √ | √ | √ | √ | | √ | Mul | | Mul |
-| NotEqual | √ | √ | √ | √ | | | NotEqual | | |
-| OneHot | | √ | | | | | OneHot | | |
-| Pad | | √ | √ | √ | | | Pad | | Pad |
-| Pow | | √ | √ | √ | | | Pow | Power | Power |
-| PReLU | | √ | | | | √ | | PReLU | |
-| Range | | √ | | | | | Range | | |
-| Rank | | √ | | | | | Rank | | |
-| ReduceMax | √ | √ | √ | √ | | | ReduceMax | | ReduceMax |
-| ReduceMean | √ | √ | √ | √ | | | Mean | | ReduceMean |
-| ReduceMin | √ | √ | √ | √ | | | ReduceMin | | ReduceMin |
-| ReduceProd | √ | √ | √ | √ | | | ReduceProd | | |
-| ReduceSum | √ | √ | √ | √ | | | Sum | | ReduceSum |
-| ReduceSumSquare | √ | √ | √ | √ | | | | | |
-| ReLU | √ | √ | √ | √ | | √ | Relu | ReLU | Relu |
-| ReLU6 | √ | √ | √ | √ | | √ | Relu6 | ReLU6 | Clip* |
-| Reshape | √ | √ | √ | √ | | √ | Reshape | Reshape | Reshape,Flatten |
-| Resize | | √ | √ | √ | | | ResizeBilinear, NearestNeighbor | Interp | |
-| Reverse | | √ | | | | | reverse | | |
-| ReverseSequence | | √ | | | | | ReverseSequence | | |
-| Round | | √ | √ | √ | | | Round | | |
-| Rsqrt | | √ | √ | √ | | | Rsqrt | | |
-| Scale | | √ | | | | | | Scale | |
-| ScatterNd | | √ | | | | | ScatterNd | | |
-| Shape | | √ | | | | | Shape | | Shape |
-| Sigmoid | √ | √ | √ | √ | | √ | Logistic | Sigmoid | Sigmoid |
-| Sin | | √ | √ | √ | | | Sin | | Sin |
-| Slice | | √ | √ | √ | √ | √ | Slice | | Slice |
-| Softmax | √ | √ | √ | √ | | √ | Softmax | Softmax | Softmax |
-| SpaceToBatch | | √ | | | | | | | |
-| SpaceToBatchND | | √ | | | | | SpaceToBatchND | | |
-| SpaceToDepth | | √ | | | | | SpaceToDepth | | SpaceToDepth |
-| SparseToDense | | √ | | | | | SpareToDense | | |
-| Split | √ | √ | √ | √ | | | Split, SplitV | | |
-| Sqrt | | √ | √ | √ | | | Sqrt | | Sqrt |
-| Square | | √ | √ | √ | | | Square | | |
-| SquaredDifference | | √ | | | | | SquaredDifference | | |
-| Squeeze | | √ | √ | √ | | | Squeeze | | Squeeze |
-| StridedSlice | | √ | √ | √ | | | StridedSlice| | |
-| Stack | | √ | | | | | Stack | | |
-| Sub | √ | √ | √ | √ | | √ | Sub | | Sub |
-| Tanh | √ | √ | | | | | Tanh | TanH | |
-| Tile | | √ | | | | | Tile | | Tile |
-| TopK | | √ | √ | √ | | | TopKV2 | | |
-| Transpose | √ | √ | | | | √ | Transpose | Permute | Transpose |
-| Unique | | √ | | | | | Unique | | |
-| Unsqueeze | | √ | √ | √ | | | | | Unsqueeze |
-| Unstack | | √ | | | | | Unstack | | |
-| Where | | √ | | | | | Where | | |
-| ZerosLike | | √ | | | | | ZerosLike | | |
-
-* Clip: 仅支持将clip(0, 6)转换为Relu6.
-* DEQUANTIZE: 仅支持将fp16转换为fp32.
diff --git a/lite/lite.md b/lite/lite.md
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/lite/lite_en.md b/lite/lite_en.md
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391