diff --git a/.jenkins/check/config/filter_pylint.txt b/.jenkins/check/config/filter_pylint.txt index 30a3ee48c0f..0049451f750 100644 --- a/.jenkins/check/config/filter_pylint.txt +++ b/.jenkins/check/config/filter_pylint.txt @@ -8,46 +8,46 @@ "mindspore/tests/" "import-self" # Mindspore -"mindspore/mindspore/_check_deps_version.py" "broad-except" -"mindspore/mindspore/_check_version.py" "unused-import" -"mindspore/mindspore/_check_version.py" "broad-except" -"mindspore/mindspore/common/parameter.py" "protected-access" -"mindspore/mindspore/common/dtype.py" "undefined-all-variable" -"mindspore/mindspore/context.py" "protected-access" -"mindspore/mindspore/ops/operations" "super-init-not-called" -"mindspore/mindspore/ops/operations/_quant_ops.py" "unused-import" -"mindspore/mindspore/ops/operations/nn_ops.py" "redefined-builtin" -"mindspore/mindspore/ops/operations/_thor_ops.py" "dangerous-default-value" -"mindspore/mindspore/ops/operations/_thor_ops.py" "redefined-outer-name" -"mindspore/mindspore/ops/operations/_thor_ops.py" "unused-import" -"mindspore/mindspore/ops/_op_impl/_custom_op" "dangerous-default-value -"mindspore/mindspore/ops/_op_impl/_custom_op" "simplifiable-if-expression" -"mindspore/mindspore/ops/_op_impl/_custom_op" "unused-variable" -"mindspore/mindspore/ops/composite/base.py" "protected-acces" -"mindspore/mindspore/ops/primitive.py" "assignment-from-none" -"mindspore/mindspore/nn/cell.py" "assignment-from-none" -"mindspore/mindspore/_extends/parse/resources.py" "bad-whitespace" -"mindspore/mindspore/_extends/parse/parser.py" "broad-except" -"mindspore/mindspore/_extends/parse/parser.py" "eval-used" -"mindspore/mindspore/nn/cell.py" "protected-access" -"mindspore/mindspore/nn/optim/ftrl.py" "unused-import" -"mindspore/mindspore/train/amp.py" "protected-access" -"mindspore/mindspore/train/serialization.py" "protected-access" -"mindspore/mindspore/train/model.py" "protected-access" -"mindspore/mindspore/log.py" "protected-access" +"mindspore/mindspore/python/mindspore/_check_deps_version.py" "broad-except" +"mindspore/mindspore/python/mindspore/_check_version.py" "unused-import" +"mindspore/mindspore/python/mindspore/_check_version.py" "broad-except" +"mindspore/mindspore/python/mindspore/common/parameter.py" "protected-access" +"mindspore/mindspore/python/mindspore/common/dtype.py" "undefined-all-variable" +"mindspore/mindspore/python/mindspore/context.py" "protected-access" +"mindspore/mindspore/python/mindspore/ops/operations" "super-init-not-called" +"mindspore/mindspore/python/mindspore/ops/operations/_quant_ops.py" "unused-import" +"mindspore/mindspore/python/mindspore/ops/operations/nn_ops.py" "redefined-builtin" +"mindspore/mindspore/python/mindspore/ops/operations/_thor_ops.py" "dangerous-default-value" +"mindspore/mindspore/python/mindspore/ops/operations/_thor_ops.py" "redefined-outer-name" +"mindspore/mindspore/python/mindspore/ops/operations/_thor_ops.py" "unused-import" +"mindspore/mindspore/python/mindspore/ops/_op_impl/_custom_op" "dangerous-default-value +"mindspore/mindspore/python/mindspore/ops/_op_impl/_custom_op" "simplifiable-if-expression" +"mindspore/mindspore/python/mindspore/ops/_op_impl/_custom_op" "unused-variable" +"mindspore/mindspore/python/mindspore/ops/composite/base.py" "protected-acces" +"mindspore/mindspore/python/mindspore/ops/primitive.py" "assignment-from-none" +"mindspore/mindspore/python/mindspore/nn/cell.py" "assignment-from-none" +"mindspore/mindspore/python/mindspore/_extends/parse/resources.py" "bad-whitespace" +"mindspore/mindspore/python/mindspore/_extends/parse/parser.py" "broad-except" +"mindspore/mindspore/python/mindspore/_extends/parse/parser.py" "eval-used" +"mindspore/mindspore/python/mindspore/nn/cell.py" "protected-access" +"mindspore/mindspore/python/mindspore/nn/optim/ftrl.py" "unused-import" +"mindspore/mindspore/python/mindspore/train/amp.py" "protected-access" +"mindspore/mindspore/python/mindspore/train/serialization.py" "protected-access" +"mindspore/mindspore/python/mindspore/train/model.py" "protected-access" +"mindspore/mindspore/python/mindspore/log.py" "protected-access" "mindspore/model_zoo/official/cv" "missing-docstring" "mindspore/model_zoo/official/cv" "c-extension-no-member" "mindspore/model_zoo/official/nlp/bert_thor/src/bert_model.py" "redefined-outer-name" -"mindspore/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py" "Catching too general exception BaseException" -"mindspore/mindspore/_extends/graph_kernel/model/model.py" "super-on-old-class" -"mindspore/mindspore/ops/_grad/grad_math_ops.py" "invalid-unary-operand-type" +"mindspore/mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py" "Catching too general exception BaseException" +"mindspore/mindspore/python/mindspore/_extends/graph_kernel/model/model.py" "super-on-old-class" +"mindspore/mindspore/python/mindspore/ops/_grad/grad_math_ops.py" "invalid-unary-operand-type" # MindData -"mindspore/mindspore/dataset/__init__.py" "redefined-builtin" -"mindspore/mindspore/dataset/engine/__init__.py" "redefined-builtin" -"mindspore/mindspore/dataset/engine/datasets.py" "redefined-builtin" -"mindspore/mindspore/dataset/engine/datasets.py" "broad-except" -"mindspore/mindspore/dataset/transforms/py_transforms_util.py" "broad-except" +"mindspore/mindspore/python/mindspore/dataset/__init__.py" "redefined-builtin" +"mindspore/mindspore/python/mindspore/dataset/engine/__init__.py" "redefined-builtin" +"mindspore/mindspore/python/mindspore/dataset/engine/datasets.py" "redefined-builtin" +"mindspore/mindspore/python/mindspore/dataset/engine/datasets.py" "broad-except" +"mindspore/mindspore/python/mindspore/dataset/transforms/py_transforms_util.py" "broad-except" # Tests "mindspore/tests/vm_impl/array_ops_vm_impl.py" "unused-variable" diff --git a/.jenkins/check/config/whitelizard.txt b/.jenkins/check/config/whitelizard.txt index b93668d3f48..c5c4fe17373 100644 --- a/.jenkins/check/config/whitelizard.txt +++ b/.jenkins/check/config/whitelizard.txt @@ -16,10 +16,10 @@ mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/dynamic_rnn_grad_f mindspore/model_zoo/official/recommend/wide_and_deep/src/wide_and_deep.py:__init__ mindspore/model_zoo/official/recommend/wide_and_deep_multitable/src/wide_and_deep.py:__init__ mindspore/mindspore/ccsrc/pipeline/jit/resource.cc:mindspore::pipeline::GetMethodMap -mindspore/mindspore/ops/operations/array_ops.py:_compute_slicing_shape -mindspore/mindspore/context.py:set_auto_parallel_context -mindspore/mindspore/common/tensor.py:__init__ -mindspore/mindspore/common/parameter.py:set_data +mindspore/mindspore/python/mindspore/ops/operations/array_ops.py:_compute_slicing_shape +mindspore/mindspore/python/mindspore/context.py:set_auto_parallel_context +mindspore/mindspore/python/mindspore/common/tensor.py:__init__ +mindspore/mindspore/python/mindspore/common/parameter.py:set_data mindspore/mindspore/ccsrc/pybind_api/ir/tensor_py.cc:mindspore::tensor::GetDataType mindspore/mindspore/lite/nnacl/fp32/avg_pooling_fp32.c:AvgPooling mindspore/mindspore/lite/src/runtime/thread_pool.c:GetArch @@ -72,8 +72,8 @@ mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/pooling_fp32.c: mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/conv_common_fp32.c:SWConv3x32Kernel, SWConv4x24Kernel, SWConv12x8Kernel, SWConv8x8Kernel, SWConv4x8Kernel, SWConv6x16Kernel, SWConv4x16Kernel mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/conv_depthwise_fp32.c:DepthwiseSW3x32Kernel, DepthwiseSW4x24Kernel, DepthwiseSW12x8Kernel, DepthwiseSW8x8Kernel, DepthwiseSW4x8Kernel, DepthwiseSW6x16Kernel, DepthwiseSW4x16Kernel mindspore/mindspore/core/ir/dtype/type.cc:mindspore::ObjectIdLabel -mindspore/mindspore/ops/_op_impl/_custom_op/dsd_impl.py:dsd_matmul -mindspore/mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py:dsdbpropimpl +mindspore/mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_impl.py:dsd_matmul +mindspore/mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py:dsdbpropimpl mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/conv_1x1_x86_fp32.c:Conv1x1SW3x32Kernel, Conv1x1SW4x24Kernel, Conv1x1SW12x8Kernel, Conv1x1SW8x8Kernel, Conv1x1SW4x8Kernel, Conv1x1SW6x16Kernel, Conv1x1SW4x16Kernel, Conv1x1SW1x32Kernel, Conv1x1SW1x24Kernel, Conv1x1SW1x16Kernel, Conv1x1SW1x8Kernel mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/matmul_fp32.c:MatMul3x32Kernel, MatMul4x24Kernel, MatMul12x8Kernel, MatMul8x8Kernel, MatMul4x8Kernel, MatMul6x16Kernel, MatMul4x16Kernel, MatVecMul1x32Kernel, MatVecMul1x24Kernel, MatVecMul1x16Kernel, MatVecMul1x8Kernel mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/sse/TiledC4MatMulFp32.c:TiledC4MatmulFp32 diff --git a/build.sh b/build.sh index efabee441f5..d54432e7091 100755 --- a/build.sh +++ b/build.sh @@ -92,8 +92,8 @@ else echo "acl mode, skipping deploy phase" rm -rf ${BASEPATH}/output/_CPack_Packages/ else - cp -rf ${BUILD_PATH}/package/mindspore/lib ${BASEPATH}/mindspore - cp -rf ${BUILD_PATH}/package/mindspore/*.so ${BASEPATH}/mindspore + cp -rf ${BUILD_PATH}/package/mindspore/lib ${BASEPATH}/mindspore/python/mindspore + cp -rf ${BUILD_PATH}/package/mindspore/*.so ${BASEPATH}/mindspore/python/mindspore fi fi echo "---------------- MindSpore: build end ----------------" diff --git a/cmake/dependency_protobuf.cmake b/cmake/dependency_protobuf.cmake index f1f06707a25..9e80c1ffe23 100644 --- a/cmake/dependency_protobuf.cmake +++ b/cmake/dependency_protobuf.cmake @@ -89,7 +89,7 @@ function(ms_protobuf_generate_py c_var h_var py_var) COMMAND perl -pi -e "s/import (.+_pb2.*)/from . import \\1/" "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}_pb2.py" COMMAND cp "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}_pb2.py" - "${PROJECT_SOURCE_DIR}/mindspore/train/" + "${PROJECT_SOURCE_DIR}/mindspore/python/mindspore/train/" DEPENDS protobuf::protoc ${abs_file} COMMENT "Running C++ protocol buffer compiler on ${file}" VERBATIM) endforeach() diff --git a/cmake/external_libs/protobuf.cmake b/cmake/external_libs/protobuf.cmake index 33d39b28329..5e03ad15e22 100644 --- a/cmake/external_libs/protobuf.cmake +++ b/cmake/external_libs/protobuf.cmake @@ -128,7 +128,7 @@ function(ms_protobuf_generate_py c_var h_var py_var) COMMAND perl -pi.bak -e "s/import (.+_pb2.*)/from . import \\1/" "${CMAKE_BINARY_DIR}/proto/${file_name}_pb2.py" COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_BINARY_DIR}/proto/${file_name}_pb2.py" - "${PROJECT_SOURCE_DIR}/mindspore/train/" + "${PROJECT_SOURCE_DIR}/mindspore/python/mindspore/train/" DEPENDS protobuf::protoc ${abs_file} COMMENT "Running C++ protocol buffer compiler on ${file}" VERBATIM) else() @@ -143,7 +143,8 @@ function(ms_protobuf_generate_py c_var h_var py_var) COMMAND protobuf::protoc -I${file_dir} --python_out=${CMAKE_BINARY_DIR}/proto ${abs_file} COMMAND perl -pi -e "s/import (.+_pb2.*)/from . import \\1/" "${CMAKE_BINARY_DIR}/proto/${file_name}_pb2.py" - COMMAND cp "${CMAKE_BINARY_DIR}/proto/${file_name}_pb2.py" "${PROJECT_SOURCE_DIR}/mindspore/train/" + COMMAND cp "${CMAKE_BINARY_DIR}/proto/${file_name}_pb2.py" + "${PROJECT_SOURCE_DIR}/mindspore/python/mindspore/train/" DEPENDS protobuf::protoc ${abs_file} COMMENT "Running C++ protocol buffer compiler on ${file}" VERBATIM) endif() diff --git a/cmake/package.cmake b/cmake/package.cmake index 1f8d619ec34..4ce0862a6ff 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -298,7 +298,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows") endif() # set python files -file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/*.py) +file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/*.py) install( FILES ${MS_PY_LIST} DESTINATION ${INSTALL_PY_DIR} @@ -307,20 +307,20 @@ install( install( DIRECTORY - ${CMAKE_SOURCE_DIR}/mindspore/nn - ${CMAKE_SOURCE_DIR}/mindspore/_extends - ${CMAKE_SOURCE_DIR}/mindspore/parallel - ${CMAKE_SOURCE_DIR}/mindspore/mindrecord - ${CMAKE_SOURCE_DIR}/mindspore/numpy - ${CMAKE_SOURCE_DIR}/mindspore/scipy - ${CMAKE_SOURCE_DIR}/mindspore/train - ${CMAKE_SOURCE_DIR}/mindspore/boost - ${CMAKE_SOURCE_DIR}/mindspore/common - ${CMAKE_SOURCE_DIR}/mindspore/ops - ${CMAKE_SOURCE_DIR}/mindspore/communication - ${CMAKE_SOURCE_DIR}/mindspore/profiler - ${CMAKE_SOURCE_DIR}/mindspore/compression - ${CMAKE_SOURCE_DIR}/mindspore/run_check + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/nn + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/_extends + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/parallel + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/mindrecord + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/numpy + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/scipy + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/train + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/boost + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/common + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/ops + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/communication + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/profiler + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/compression + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/run_check DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) @@ -339,9 +339,9 @@ if(ENABLE_AKG AND CMAKE_SYSTEM_NAME MATCHES "Linux") ) endif() -if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/dataset) +if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset) install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/dataset + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) @@ -350,9 +350,9 @@ endif() if(CMAKE_SYSTEM_NAME MATCHES "Windows") message("offline debugger does not support windows system temporarily") else() - if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/offline_debug) + if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/offline_debug) install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/offline_debug + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/offline_debug DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) diff --git a/cmake/package_mac.cmake b/cmake/package_mac.cmake index 4f581e8a209..93af42a9dd3 100644 --- a/cmake/package_mac.cmake +++ b/cmake/package_mac.cmake @@ -208,7 +208,7 @@ install( ) # set python files -file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/*.py) +file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/*.py) install( FILES ${MS_PY_LIST} DESTINATION ${INSTALL_PY_DIR} @@ -217,35 +217,35 @@ install( install( DIRECTORY - ${CMAKE_SOURCE_DIR}/mindspore/nn - ${CMAKE_SOURCE_DIR}/mindspore/_extends - ${CMAKE_SOURCE_DIR}/mindspore/parallel - ${CMAKE_SOURCE_DIR}/mindspore/mindrecord - ${CMAKE_SOURCE_DIR}/mindspore/numpy - ${CMAKE_SOURCE_DIR}/mindspore/scipy - ${CMAKE_SOURCE_DIR}/mindspore/train - ${CMAKE_SOURCE_DIR}/mindspore/boost - ${CMAKE_SOURCE_DIR}/mindspore/common - ${CMAKE_SOURCE_DIR}/mindspore/ops - ${CMAKE_SOURCE_DIR}/mindspore/communication - ${CMAKE_SOURCE_DIR}/mindspore/profiler - ${CMAKE_SOURCE_DIR}/mindspore/compression - ${CMAKE_SOURCE_DIR}/mindspore/run_check + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/nn + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/_extends + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/parallel + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/mindrecord + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/numpy + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/scipy + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/train + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/boost + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/common + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/ops + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/communication + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/profiler + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/compression + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/run_check DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) -if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/dataset) +if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset) install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/dataset + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) endif() -if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/offline_debug) +if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/offline_debug) install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/offline_debug + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/offline_debug DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) diff --git a/cmake/package_win.cmake b/cmake/package_win.cmake index df4a4c441c5..f23b6813b09 100644 --- a/cmake/package_win.cmake +++ b/cmake/package_win.cmake @@ -185,7 +185,7 @@ install( ) # set python files -file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/*.py) +file(GLOB MS_PY_LIST ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/*.py) install( FILES ${MS_PY_LIST} DESTINATION ${INSTALL_PY_DIR} @@ -194,26 +194,26 @@ install( install( DIRECTORY - ${CMAKE_SOURCE_DIR}/mindspore/nn - ${CMAKE_SOURCE_DIR}/mindspore/_extends - ${CMAKE_SOURCE_DIR}/mindspore/parallel - ${CMAKE_SOURCE_DIR}/mindspore/mindrecord - ${CMAKE_SOURCE_DIR}/mindspore/numpy - ${CMAKE_SOURCE_DIR}/mindspore/train - ${CMAKE_SOURCE_DIR}/mindspore/boost - ${CMAKE_SOURCE_DIR}/mindspore/common - ${CMAKE_SOURCE_DIR}/mindspore/ops - ${CMAKE_SOURCE_DIR}/mindspore/communication - ${CMAKE_SOURCE_DIR}/mindspore/profiler - ${CMAKE_SOURCE_DIR}/mindspore/compression - ${CMAKE_SOURCE_DIR}/mindspore/run_check + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/nn + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/_extends + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/parallel + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/mindrecord + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/numpy + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/train + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/boost + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/common + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/ops + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/communication + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/profiler + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/compression + ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/run_check DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) -if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/dataset) +if(EXISTS ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset) install( - DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/dataset + DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/python/mindspore/dataset DESTINATION ${INSTALL_PY_DIR} COMPONENT mindspore ) diff --git a/mindspore/__init__.py b/mindspore/python/mindspore/__init__.py similarity index 100% rename from mindspore/__init__.py rename to mindspore/python/mindspore/__init__.py diff --git a/mindspore/_checkparam.py b/mindspore/python/mindspore/_checkparam.py similarity index 100% rename from mindspore/_checkparam.py rename to mindspore/python/mindspore/_checkparam.py diff --git a/mindspore/_extends/OWNERS b/mindspore/python/mindspore/_extends/OWNERS similarity index 100% rename from mindspore/_extends/OWNERS rename to mindspore/python/mindspore/_extends/OWNERS diff --git a/mindspore/_extends/__init__.py b/mindspore/python/mindspore/_extends/__init__.py similarity index 100% rename from mindspore/_extends/__init__.py rename to mindspore/python/mindspore/_extends/__init__.py diff --git a/mindspore/_extends/builtin_operations.py b/mindspore/python/mindspore/_extends/builtin_operations.py similarity index 100% rename from mindspore/_extends/builtin_operations.py rename to mindspore/python/mindspore/_extends/builtin_operations.py diff --git a/mindspore/_extends/graph_kernel/__init__.py b/mindspore/python/mindspore/_extends/graph_kernel/__init__.py similarity index 100% rename from mindspore/_extends/graph_kernel/__init__.py rename to mindspore/python/mindspore/_extends/graph_kernel/__init__.py diff --git a/mindspore/_extends/graph_kernel/expander.py b/mindspore/python/mindspore/_extends/graph_kernel/expander.py similarity index 100% rename from mindspore/_extends/graph_kernel/expander.py rename to mindspore/python/mindspore/_extends/graph_kernel/expander.py diff --git a/mindspore/_extends/graph_kernel/expanders/__init__.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/__init__.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/__init__.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/__init__.py diff --git a/mindspore/_extends/graph_kernel/expanders/_utils.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/_utils.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/_utils.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/_utils.py diff --git a/mindspore/_extends/graph_kernel/expanders/addn.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/addn.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/addn.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/addn.py diff --git a/mindspore/_extends/graph_kernel/expanders/assign_add.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/assign_add.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/assign_add.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/assign_add.py diff --git a/mindspore/_extends/graph_kernel/expanders/batchnorm.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/batchnorm.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/batchnorm.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/batchnorm.py diff --git a/mindspore/_extends/graph_kernel/expanders/batchnorm_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/batchnorm_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/batchnorm_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/batchnorm_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/bias_add_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/bias_add_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/bias_add_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/bias_add_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/clip_by_norm_no_div_sum.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/clip_by_norm_no_div_sum.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/clip_by_norm_no_div_sum.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/clip_by_norm_no_div_sum.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/__init__.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/__init__.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/__init__.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/__init__.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/abs.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/abs.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/abs.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/abs.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/add.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/add.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/add.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/add.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/div.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/div.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/div.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/div.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/mul.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/mul.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/mul.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/mul.py diff --git a/mindspore/_extends/graph_kernel/expanders/complex/sub.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/sub.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/complex/sub.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/complex/sub.py diff --git a/mindspore/_extends/graph_kernel/expanders/conv2d.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/conv2d.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/conv2d.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/conv2d.py diff --git a/mindspore/_extends/graph_kernel/expanders/dropout_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/dropout_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/dropout_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/dropout_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/equal_count.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/equal_count.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/equal_count.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/equal_count.py diff --git a/mindspore/_extends/graph_kernel/expanders/erfc.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/erfc.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/erfc.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/erfc.py diff --git a/mindspore/_extends/graph_kernel/expanders/expand_dims.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/expand_dims.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/expand_dims.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/expand_dims.py diff --git a/mindspore/_extends/graph_kernel/expanders/fused_adam.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_adam.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/fused_adam.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_adam.py diff --git a/mindspore/_extends/graph_kernel/expanders/fused_adam_weight_decay.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_adam_weight_decay.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/fused_adam_weight_decay.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_adam_weight_decay.py diff --git a/mindspore/_extends/graph_kernel/expanders/fused_mul_add.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_mul_add.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/fused_mul_add.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/fused_mul_add.py diff --git a/mindspore/_extends/graph_kernel/expanders/gather.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/gather.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/gather.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/gather.py diff --git a/mindspore/_extends/graph_kernel/expanders/gelu.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/gelu.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/gelu.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/gelu.py diff --git a/mindspore/_extends/graph_kernel/expanders/gelu_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/gelu_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/gelu_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/gelu_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/gkdropout.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/gkdropout.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/gkdropout.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/gkdropout.py diff --git a/mindspore/_extends/graph_kernel/expanders/identity.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/identity.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/identity.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/identity.py diff --git a/mindspore/_extends/graph_kernel/expanders/lamb_apply_optimizer_assign.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/lamb_apply_optimizer_assign.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/lamb_apply_optimizer_assign.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/lamb_apply_optimizer_assign.py diff --git a/mindspore/_extends/graph_kernel/expanders/lamb_apply_weight_assign.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/lamb_apply_weight_assign.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/lamb_apply_weight_assign.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/lamb_apply_weight_assign.py diff --git a/mindspore/_extends/graph_kernel/expanders/layernorm.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/layernorm.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/layernorm.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/layernorm.py diff --git a/mindspore/_extends/graph_kernel/expanders/layernorm_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/layernorm_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/layernorm_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/layernorm_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/logsoftmax.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/logsoftmax.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/logsoftmax.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/logsoftmax.py diff --git a/mindspore/_extends/graph_kernel/expanders/logsoftmax_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/logsoftmax_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/logsoftmax_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/logsoftmax_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/matmul.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/matmul.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/matmul.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/matmul.py diff --git a/mindspore/_extends/graph_kernel/expanders/maximum_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/maximum_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/maximum_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/maximum_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/minimum_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/minimum_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/minimum_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/minimum_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/oneslike.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/oneslike.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/oneslike.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/oneslike.py diff --git a/mindspore/_extends/graph_kernel/expanders/reduce_mean.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/reduce_mean.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/reduce_mean.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/reduce_mean.py diff --git a/mindspore/_extends/graph_kernel/expanders/relu.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/relu.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/relu.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/relu.py diff --git a/mindspore/_extends/graph_kernel/expanders/relu_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/relu_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/relu_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/relu_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/sigmoid.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/sigmoid.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid.py diff --git a/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits.py diff --git a/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_cross_entropy_with_logits_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/sigmoid_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/sigmoid_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/sigmoid_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/slice.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/slice.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/slice.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/slice.py diff --git a/mindspore/_extends/graph_kernel/expanders/softmax.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/softmax.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax.py diff --git a/mindspore/_extends/graph_kernel/expanders/softmax_cross_entropy_with_logits.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax_cross_entropy_with_logits.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/softmax_cross_entropy_with_logits.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax_cross_entropy_with_logits.py diff --git a/mindspore/_extends/graph_kernel/expanders/softmax_grad_ext.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax_grad_ext.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/softmax_grad_ext.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/softmax_grad_ext.py diff --git a/mindspore/_extends/graph_kernel/expanders/sqrt_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/sqrt_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/sqrt_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/sqrt_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/square.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/square.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/square.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/square.py diff --git a/mindspore/_extends/graph_kernel/expanders/square_sum_all.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/square_sum_all.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/square_sum_all.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/square_sum_all.py diff --git a/mindspore/_extends/graph_kernel/expanders/square_sum_v1.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/square_sum_v1.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/square_sum_v1.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/square_sum_v1.py diff --git a/mindspore/_extends/graph_kernel/expanders/squared_difference.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/squared_difference.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/squared_difference.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/squared_difference.py diff --git a/mindspore/_extends/graph_kernel/expanders/squeeze.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/squeeze.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/squeeze.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/squeeze.py diff --git a/mindspore/_extends/graph_kernel/expanders/tanh_grad.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/tanh_grad.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/tanh_grad.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/tanh_grad.py diff --git a/mindspore/_extends/graph_kernel/expanders/tile.py b/mindspore/python/mindspore/_extends/graph_kernel/expanders/tile.py similarity index 100% rename from mindspore/_extends/graph_kernel/expanders/tile.py rename to mindspore/python/mindspore/_extends/graph_kernel/expanders/tile.py diff --git a/mindspore/_extends/graph_kernel/model/__init__.py b/mindspore/python/mindspore/_extends/graph_kernel/model/__init__.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/__init__.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/__init__.py diff --git a/mindspore/_extends/graph_kernel/model/graph_parallel.py b/mindspore/python/mindspore/_extends/graph_kernel/model/graph_parallel.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/graph_parallel.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/graph_parallel.py diff --git a/mindspore/_extends/graph_kernel/model/graph_split.py b/mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/graph_split.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py diff --git a/mindspore/_extends/graph_kernel/model/model.py b/mindspore/python/mindspore/_extends/graph_kernel/model/model.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/model.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/model.py diff --git a/mindspore/_extends/graph_kernel/model/model_builder.py b/mindspore/python/mindspore/_extends/graph_kernel/model/model_builder.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/model_builder.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/model_builder.py diff --git a/mindspore/_extends/graph_kernel/model/op_infer.py b/mindspore/python/mindspore/_extends/graph_kernel/model/op_infer.py similarity index 100% rename from mindspore/_extends/graph_kernel/model/op_infer.py rename to mindspore/python/mindspore/_extends/graph_kernel/model/op_infer.py diff --git a/mindspore/_extends/graph_kernel/parallel_estimate.py b/mindspore/python/mindspore/_extends/graph_kernel/parallel_estimate.py similarity index 100% rename from mindspore/_extends/graph_kernel/parallel_estimate.py rename to mindspore/python/mindspore/_extends/graph_kernel/parallel_estimate.py diff --git a/mindspore/_extends/graph_kernel/splitter.py b/mindspore/python/mindspore/_extends/graph_kernel/splitter.py similarity index 100% rename from mindspore/_extends/graph_kernel/splitter.py rename to mindspore/python/mindspore/_extends/graph_kernel/splitter.py diff --git a/mindspore/_extends/graph_kernel/utils.py b/mindspore/python/mindspore/_extends/graph_kernel/utils.py similarity index 100% rename from mindspore/_extends/graph_kernel/utils.py rename to mindspore/python/mindspore/_extends/graph_kernel/utils.py diff --git a/mindspore/_extends/parallel_compile/__init__.py b/mindspore/python/mindspore/_extends/parallel_compile/__init__.py similarity index 100% rename from mindspore/_extends/parallel_compile/__init__.py rename to mindspore/python/mindspore/_extends/parallel_compile/__init__.py diff --git a/mindspore/_extends/parallel_compile/akg_compiler/__init__.py b/mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/__init__.py similarity index 100% rename from mindspore/_extends/parallel_compile/akg_compiler/__init__.py rename to mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/__init__.py diff --git a/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py b/mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py similarity index 100% rename from mindspore/_extends/parallel_compile/akg_compiler/akg_process.py rename to mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py diff --git a/mindspore/_extends/parallel_compile/akg_compiler/compiler.py b/mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/compiler.py similarity index 100% rename from mindspore/_extends/parallel_compile/akg_compiler/compiler.py rename to mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/compiler.py diff --git a/mindspore/_extends/parallel_compile/akg_compiler/get_file_path.py b/mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/get_file_path.py similarity index 100% rename from mindspore/_extends/parallel_compile/akg_compiler/get_file_path.py rename to mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/get_file_path.py diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/__init__.py b/mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/__init__.py similarity index 100% rename from mindspore/_extends/parallel_compile/tbe_compiler/__init__.py rename to mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/__init__.py diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/tbe_adapter.py b/mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_adapter.py similarity index 100% rename from mindspore/_extends/parallel_compile/tbe_compiler/tbe_adapter.py rename to mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_adapter.py diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/tbe_helper.py b/mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_helper.py similarity index 100% rename from mindspore/_extends/parallel_compile/tbe_compiler/tbe_helper.py rename to mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_helper.py diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job.py b/mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job.py similarity index 100% rename from mindspore/_extends/parallel_compile/tbe_compiler/tbe_job.py rename to mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job.py diff --git a/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py b/mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py similarity index 100% rename from mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py rename to mindspore/python/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py diff --git a/mindspore/_extends/parse/__init__.py b/mindspore/python/mindspore/_extends/parse/__init__.py similarity index 100% rename from mindspore/_extends/parse/__init__.py rename to mindspore/python/mindspore/_extends/parse/__init__.py diff --git a/mindspore/_extends/parse/namespace.py b/mindspore/python/mindspore/_extends/parse/namespace.py similarity index 100% rename from mindspore/_extends/parse/namespace.py rename to mindspore/python/mindspore/_extends/parse/namespace.py diff --git a/mindspore/_extends/parse/parser.py b/mindspore/python/mindspore/_extends/parse/parser.py similarity index 100% rename from mindspore/_extends/parse/parser.py rename to mindspore/python/mindspore/_extends/parse/parser.py diff --git a/mindspore/_extends/parse/resources.py b/mindspore/python/mindspore/_extends/parse/resources.py similarity index 100% rename from mindspore/_extends/parse/resources.py rename to mindspore/python/mindspore/_extends/parse/resources.py diff --git a/mindspore/_extends/parse/standard_method.py b/mindspore/python/mindspore/_extends/parse/standard_method.py similarity index 100% rename from mindspore/_extends/parse/standard_method.py rename to mindspore/python/mindspore/_extends/parse/standard_method.py diff --git a/mindspore/_extends/parse/trope.py b/mindspore/python/mindspore/_extends/parse/trope.py similarity index 100% rename from mindspore/_extends/parse/trope.py rename to mindspore/python/mindspore/_extends/parse/trope.py diff --git a/mindspore/_extends/remote/__init__.py b/mindspore/python/mindspore/_extends/remote/__init__.py similarity index 100% rename from mindspore/_extends/remote/__init__.py rename to mindspore/python/mindspore/_extends/remote/__init__.py diff --git a/mindspore/_extends/remote/kernel_build_server.py b/mindspore/python/mindspore/_extends/remote/kernel_build_server.py similarity index 100% rename from mindspore/_extends/remote/kernel_build_server.py rename to mindspore/python/mindspore/_extends/remote/kernel_build_server.py diff --git a/mindspore/_extends/remote/kernel_build_server_akg.py b/mindspore/python/mindspore/_extends/remote/kernel_build_server_akg.py similarity index 100% rename from mindspore/_extends/remote/kernel_build_server_akg.py rename to mindspore/python/mindspore/_extends/remote/kernel_build_server_akg.py diff --git a/mindspore/_extends/remote/kernel_build_server_ascend.py b/mindspore/python/mindspore/_extends/remote/kernel_build_server_ascend.py similarity index 100% rename from mindspore/_extends/remote/kernel_build_server_ascend.py rename to mindspore/python/mindspore/_extends/remote/kernel_build_server_ascend.py diff --git a/mindspore/_extends/utils.py b/mindspore/python/mindspore/_extends/utils.py similarity index 100% rename from mindspore/_extends/utils.py rename to mindspore/python/mindspore/_extends/utils.py diff --git a/mindspore/boost/__init__.py b/mindspore/python/mindspore/boost/__init__.py similarity index 100% rename from mindspore/boost/__init__.py rename to mindspore/python/mindspore/boost/__init__.py diff --git a/mindspore/boost/adasum.py b/mindspore/python/mindspore/boost/adasum.py similarity index 100% rename from mindspore/boost/adasum.py rename to mindspore/python/mindspore/boost/adasum.py diff --git a/mindspore/boost/base.py b/mindspore/python/mindspore/boost/base.py similarity index 100% rename from mindspore/boost/base.py rename to mindspore/python/mindspore/boost/base.py diff --git a/mindspore/boost/boost.py b/mindspore/python/mindspore/boost/boost.py similarity index 100% rename from mindspore/boost/boost.py rename to mindspore/python/mindspore/boost/boost.py diff --git a/mindspore/boost/boost_cell_wrapper.py b/mindspore/python/mindspore/boost/boost_cell_wrapper.py similarity index 100% rename from mindspore/boost/boost_cell_wrapper.py rename to mindspore/python/mindspore/boost/boost_cell_wrapper.py diff --git a/mindspore/boost/grad_accumulation.py b/mindspore/python/mindspore/boost/grad_accumulation.py similarity index 100% rename from mindspore/boost/grad_accumulation.py rename to mindspore/python/mindspore/boost/grad_accumulation.py diff --git a/mindspore/boost/grad_freeze.py b/mindspore/python/mindspore/boost/grad_freeze.py similarity index 100% rename from mindspore/boost/grad_freeze.py rename to mindspore/python/mindspore/boost/grad_freeze.py diff --git a/mindspore/boost/less_batch_normalization.py b/mindspore/python/mindspore/boost/less_batch_normalization.py similarity index 100% rename from mindspore/boost/less_batch_normalization.py rename to mindspore/python/mindspore/boost/less_batch_normalization.py diff --git a/mindspore/common/__init__.py b/mindspore/python/mindspore/common/__init__.py similarity index 100% rename from mindspore/common/__init__.py rename to mindspore/python/mindspore/common/__init__.py diff --git a/mindspore/common/_decorator.py b/mindspore/python/mindspore/common/_decorator.py similarity index 100% rename from mindspore/common/_decorator.py rename to mindspore/python/mindspore/common/_decorator.py diff --git a/mindspore/common/_monad.py b/mindspore/python/mindspore/common/_monad.py similarity index 100% rename from mindspore/common/_monad.py rename to mindspore/python/mindspore/common/_monad.py diff --git a/mindspore/common/_register_for_tensor.py b/mindspore/python/mindspore/common/_register_for_tensor.py similarity index 100% rename from mindspore/common/_register_for_tensor.py rename to mindspore/python/mindspore/common/_register_for_tensor.py diff --git a/mindspore/common/api.py b/mindspore/python/mindspore/common/api.py similarity index 100% rename from mindspore/common/api.py rename to mindspore/python/mindspore/common/api.py diff --git a/mindspore/common/dtype.py b/mindspore/python/mindspore/common/dtype.py similarity index 100% rename from mindspore/common/dtype.py rename to mindspore/python/mindspore/common/dtype.py diff --git a/mindspore/common/dump.py b/mindspore/python/mindspore/common/dump.py similarity index 100% rename from mindspore/common/dump.py rename to mindspore/python/mindspore/common/dump.py diff --git a/mindspore/common/initializer.py b/mindspore/python/mindspore/common/initializer.py similarity index 100% rename from mindspore/common/initializer.py rename to mindspore/python/mindspore/common/initializer.py diff --git a/mindspore/common/parameter.py b/mindspore/python/mindspore/common/parameter.py similarity index 100% rename from mindspore/common/parameter.py rename to mindspore/python/mindspore/common/parameter.py diff --git a/mindspore/common/seed.py b/mindspore/python/mindspore/common/seed.py similarity index 100% rename from mindspore/common/seed.py rename to mindspore/python/mindspore/common/seed.py diff --git a/mindspore/common/tensor.py b/mindspore/python/mindspore/common/tensor.py similarity index 100% rename from mindspore/common/tensor.py rename to mindspore/python/mindspore/common/tensor.py diff --git a/mindspore/communication/OWNERS b/mindspore/python/mindspore/communication/OWNERS similarity index 100% rename from mindspore/communication/OWNERS rename to mindspore/python/mindspore/communication/OWNERS diff --git a/mindspore/communication/__init__.py b/mindspore/python/mindspore/communication/__init__.py similarity index 100% rename from mindspore/communication/__init__.py rename to mindspore/python/mindspore/communication/__init__.py diff --git a/mindspore/communication/_comm_helper.py b/mindspore/python/mindspore/communication/_comm_helper.py similarity index 100% rename from mindspore/communication/_comm_helper.py rename to mindspore/python/mindspore/communication/_comm_helper.py diff --git a/mindspore/communication/_hccl_management.py b/mindspore/python/mindspore/communication/_hccl_management.py similarity index 100% rename from mindspore/communication/_hccl_management.py rename to mindspore/python/mindspore/communication/_hccl_management.py diff --git a/mindspore/communication/management.py b/mindspore/python/mindspore/communication/management.py similarity index 100% rename from mindspore/communication/management.py rename to mindspore/python/mindspore/communication/management.py diff --git a/mindspore/compression/__init__.py b/mindspore/python/mindspore/compression/__init__.py similarity index 100% rename from mindspore/compression/__init__.py rename to mindspore/python/mindspore/compression/__init__.py diff --git a/mindspore/compression/common/__init__.py b/mindspore/python/mindspore/compression/common/__init__.py similarity index 100% rename from mindspore/compression/common/__init__.py rename to mindspore/python/mindspore/compression/common/__init__.py diff --git a/mindspore/compression/common/constant.py b/mindspore/python/mindspore/compression/common/constant.py similarity index 100% rename from mindspore/compression/common/constant.py rename to mindspore/python/mindspore/compression/common/constant.py diff --git a/mindspore/compression/export/__init__.py b/mindspore/python/mindspore/compression/export/__init__.py similarity index 100% rename from mindspore/compression/export/__init__.py rename to mindspore/python/mindspore/compression/export/__init__.py diff --git a/mindspore/compression/export/quant_export.py b/mindspore/python/mindspore/compression/export/quant_export.py similarity index 100% rename from mindspore/compression/export/quant_export.py rename to mindspore/python/mindspore/compression/export/quant_export.py diff --git a/mindspore/compression/quant/__init__.py b/mindspore/python/mindspore/compression/quant/__init__.py similarity index 100% rename from mindspore/compression/quant/__init__.py rename to mindspore/python/mindspore/compression/quant/__init__.py diff --git a/mindspore/compression/quant/qat.py b/mindspore/python/mindspore/compression/quant/qat.py similarity index 100% rename from mindspore/compression/quant/qat.py rename to mindspore/python/mindspore/compression/quant/qat.py diff --git a/mindspore/compression/quant/quant_utils.py b/mindspore/python/mindspore/compression/quant/quant_utils.py similarity index 100% rename from mindspore/compression/quant/quant_utils.py rename to mindspore/python/mindspore/compression/quant/quant_utils.py diff --git a/mindspore/compression/quant/quantizer.py b/mindspore/python/mindspore/compression/quant/quantizer.py similarity index 100% rename from mindspore/compression/quant/quantizer.py rename to mindspore/python/mindspore/compression/quant/quantizer.py diff --git a/mindspore/context.py b/mindspore/python/mindspore/context.py similarity index 100% rename from mindspore/context.py rename to mindspore/python/mindspore/context.py diff --git a/mindspore/dataset/OWNERS b/mindspore/python/mindspore/dataset/OWNERS similarity index 100% rename from mindspore/dataset/OWNERS rename to mindspore/python/mindspore/dataset/OWNERS diff --git a/mindspore/dataset/__init__.py b/mindspore/python/mindspore/dataset/__init__.py similarity index 100% rename from mindspore/dataset/__init__.py rename to mindspore/python/mindspore/dataset/__init__.py diff --git a/mindspore/dataset/audio/__init__.py b/mindspore/python/mindspore/dataset/audio/__init__.py similarity index 100% rename from mindspore/dataset/audio/__init__.py rename to mindspore/python/mindspore/dataset/audio/__init__.py diff --git a/mindspore/dataset/audio/transforms.py b/mindspore/python/mindspore/dataset/audio/transforms.py similarity index 100% rename from mindspore/dataset/audio/transforms.py rename to mindspore/python/mindspore/dataset/audio/transforms.py diff --git a/mindspore/dataset/audio/utils.py b/mindspore/python/mindspore/dataset/audio/utils.py similarity index 100% rename from mindspore/dataset/audio/utils.py rename to mindspore/python/mindspore/dataset/audio/utils.py diff --git a/mindspore/dataset/audio/validators.py b/mindspore/python/mindspore/dataset/audio/validators.py similarity index 100% rename from mindspore/dataset/audio/validators.py rename to mindspore/python/mindspore/dataset/audio/validators.py diff --git a/mindspore/dataset/callback/__init__.py b/mindspore/python/mindspore/dataset/callback/__init__.py similarity index 100% rename from mindspore/dataset/callback/__init__.py rename to mindspore/python/mindspore/dataset/callback/__init__.py diff --git a/mindspore/dataset/callback/ds_callback.py b/mindspore/python/mindspore/dataset/callback/ds_callback.py similarity index 100% rename from mindspore/dataset/callback/ds_callback.py rename to mindspore/python/mindspore/dataset/callback/ds_callback.py diff --git a/mindspore/dataset/callback/validators.py b/mindspore/python/mindspore/dataset/callback/validators.py similarity index 100% rename from mindspore/dataset/callback/validators.py rename to mindspore/python/mindspore/dataset/callback/validators.py diff --git a/mindspore/dataset/core/__init__.py b/mindspore/python/mindspore/dataset/core/__init__.py similarity index 100% rename from mindspore/dataset/core/__init__.py rename to mindspore/python/mindspore/dataset/core/__init__.py diff --git a/mindspore/dataset/core/config.py b/mindspore/python/mindspore/dataset/core/config.py similarity index 100% rename from mindspore/dataset/core/config.py rename to mindspore/python/mindspore/dataset/core/config.py diff --git a/mindspore/dataset/core/datatypes.py b/mindspore/python/mindspore/dataset/core/datatypes.py similarity index 100% rename from mindspore/dataset/core/datatypes.py rename to mindspore/python/mindspore/dataset/core/datatypes.py diff --git a/mindspore/dataset/core/py_util_helpers.py b/mindspore/python/mindspore/dataset/core/py_util_helpers.py similarity index 100% rename from mindspore/dataset/core/py_util_helpers.py rename to mindspore/python/mindspore/dataset/core/py_util_helpers.py diff --git a/mindspore/dataset/core/validator_helpers.py b/mindspore/python/mindspore/dataset/core/validator_helpers.py similarity index 100% rename from mindspore/dataset/core/validator_helpers.py rename to mindspore/python/mindspore/dataset/core/validator_helpers.py diff --git a/mindspore/dataset/datapreprocess/__init__.py b/mindspore/python/mindspore/dataset/datapreprocess/__init__.py similarity index 100% rename from mindspore/dataset/datapreprocess/__init__.py rename to mindspore/python/mindspore/dataset/datapreprocess/__init__.py diff --git a/mindspore/dataset/datapreprocess/imagenet_validate_dataset_2012_image_dir_map.txt b/mindspore/python/mindspore/dataset/datapreprocess/imagenet_validate_dataset_2012_image_dir_map.txt similarity index 100% rename from mindspore/dataset/datapreprocess/imagenet_validate_dataset_2012_image_dir_map.txt rename to mindspore/python/mindspore/dataset/datapreprocess/imagenet_validate_dataset_2012_image_dir_map.txt diff --git a/mindspore/dataset/datapreprocess/preprocess_imagenet_validate_dataset.py b/mindspore/python/mindspore/dataset/datapreprocess/preprocess_imagenet_validate_dataset.py similarity index 100% rename from mindspore/dataset/datapreprocess/preprocess_imagenet_validate_dataset.py rename to mindspore/python/mindspore/dataset/datapreprocess/preprocess_imagenet_validate_dataset.py diff --git a/mindspore/dataset/engine/__init__.py b/mindspore/python/mindspore/dataset/engine/__init__.py similarity index 100% rename from mindspore/dataset/engine/__init__.py rename to mindspore/python/mindspore/dataset/engine/__init__.py diff --git a/mindspore/dataset/engine/cache_admin.py b/mindspore/python/mindspore/dataset/engine/cache_admin.py similarity index 100% rename from mindspore/dataset/engine/cache_admin.py rename to mindspore/python/mindspore/dataset/engine/cache_admin.py diff --git a/mindspore/dataset/engine/cache_client.py b/mindspore/python/mindspore/dataset/engine/cache_client.py similarity index 100% rename from mindspore/dataset/engine/cache_client.py rename to mindspore/python/mindspore/dataset/engine/cache_client.py diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/python/mindspore/dataset/engine/datasets.py similarity index 100% rename from mindspore/dataset/engine/datasets.py rename to mindspore/python/mindspore/dataset/engine/datasets.py diff --git a/mindspore/dataset/engine/graphdata.py b/mindspore/python/mindspore/dataset/engine/graphdata.py similarity index 100% rename from mindspore/dataset/engine/graphdata.py rename to mindspore/python/mindspore/dataset/engine/graphdata.py diff --git a/mindspore/dataset/engine/iterators.py b/mindspore/python/mindspore/dataset/engine/iterators.py similarity index 100% rename from mindspore/dataset/engine/iterators.py rename to mindspore/python/mindspore/dataset/engine/iterators.py diff --git a/mindspore/dataset/engine/offload.py b/mindspore/python/mindspore/dataset/engine/offload.py similarity index 100% rename from mindspore/dataset/engine/offload.py rename to mindspore/python/mindspore/dataset/engine/offload.py diff --git a/mindspore/dataset/engine/queue.py b/mindspore/python/mindspore/dataset/engine/queue.py similarity index 100% rename from mindspore/dataset/engine/queue.py rename to mindspore/python/mindspore/dataset/engine/queue.py diff --git a/mindspore/dataset/engine/samplers.py b/mindspore/python/mindspore/dataset/engine/samplers.py similarity index 100% rename from mindspore/dataset/engine/samplers.py rename to mindspore/python/mindspore/dataset/engine/samplers.py diff --git a/mindspore/dataset/engine/serializer_deserializer.py b/mindspore/python/mindspore/dataset/engine/serializer_deserializer.py similarity index 100% rename from mindspore/dataset/engine/serializer_deserializer.py rename to mindspore/python/mindspore/dataset/engine/serializer_deserializer.py diff --git a/mindspore/dataset/engine/validators.py b/mindspore/python/mindspore/dataset/engine/validators.py similarity index 100% rename from mindspore/dataset/engine/validators.py rename to mindspore/python/mindspore/dataset/engine/validators.py diff --git a/mindspore/dataset/text/__init__.py b/mindspore/python/mindspore/dataset/text/__init__.py similarity index 100% rename from mindspore/dataset/text/__init__.py rename to mindspore/python/mindspore/dataset/text/__init__.py diff --git a/mindspore/dataset/text/transforms.py b/mindspore/python/mindspore/dataset/text/transforms.py similarity index 100% rename from mindspore/dataset/text/transforms.py rename to mindspore/python/mindspore/dataset/text/transforms.py diff --git a/mindspore/dataset/text/utils.py b/mindspore/python/mindspore/dataset/text/utils.py similarity index 100% rename from mindspore/dataset/text/utils.py rename to mindspore/python/mindspore/dataset/text/utils.py diff --git a/mindspore/dataset/text/validators.py b/mindspore/python/mindspore/dataset/text/validators.py similarity index 100% rename from mindspore/dataset/text/validators.py rename to mindspore/python/mindspore/dataset/text/validators.py diff --git a/mindspore/dataset/transforms/__init__.py b/mindspore/python/mindspore/dataset/transforms/__init__.py similarity index 100% rename from mindspore/dataset/transforms/__init__.py rename to mindspore/python/mindspore/dataset/transforms/__init__.py diff --git a/mindspore/dataset/transforms/c_transforms.py b/mindspore/python/mindspore/dataset/transforms/c_transforms.py similarity index 100% rename from mindspore/dataset/transforms/c_transforms.py rename to mindspore/python/mindspore/dataset/transforms/c_transforms.py diff --git a/mindspore/dataset/transforms/py_transforms.py b/mindspore/python/mindspore/dataset/transforms/py_transforms.py similarity index 100% rename from mindspore/dataset/transforms/py_transforms.py rename to mindspore/python/mindspore/dataset/transforms/py_transforms.py diff --git a/mindspore/dataset/transforms/py_transforms_util.py b/mindspore/python/mindspore/dataset/transforms/py_transforms_util.py similarity index 100% rename from mindspore/dataset/transforms/py_transforms_util.py rename to mindspore/python/mindspore/dataset/transforms/py_transforms_util.py diff --git a/mindspore/dataset/transforms/validators.py b/mindspore/python/mindspore/dataset/transforms/validators.py similarity index 100% rename from mindspore/dataset/transforms/validators.py rename to mindspore/python/mindspore/dataset/transforms/validators.py diff --git a/mindspore/dataset/utils/__init__.py b/mindspore/python/mindspore/dataset/utils/__init__.py similarity index 100% rename from mindspore/dataset/utils/__init__.py rename to mindspore/python/mindspore/dataset/utils/__init__.py diff --git a/mindspore/dataset/utils/browse_dataset.py b/mindspore/python/mindspore/dataset/utils/browse_dataset.py similarity index 100% rename from mindspore/dataset/utils/browse_dataset.py rename to mindspore/python/mindspore/dataset/utils/browse_dataset.py diff --git a/mindspore/dataset/utils/requirements.txt b/mindspore/python/mindspore/dataset/utils/requirements.txt similarity index 100% rename from mindspore/dataset/utils/requirements.txt rename to mindspore/python/mindspore/dataset/utils/requirements.txt diff --git a/mindspore/dataset/vision/__init__.py b/mindspore/python/mindspore/dataset/vision/__init__.py similarity index 100% rename from mindspore/dataset/vision/__init__.py rename to mindspore/python/mindspore/dataset/vision/__init__.py diff --git a/mindspore/dataset/vision/c_transforms.py b/mindspore/python/mindspore/dataset/vision/c_transforms.py similarity index 100% rename from mindspore/dataset/vision/c_transforms.py rename to mindspore/python/mindspore/dataset/vision/c_transforms.py diff --git a/mindspore/dataset/vision/py_transforms.py b/mindspore/python/mindspore/dataset/vision/py_transforms.py similarity index 100% rename from mindspore/dataset/vision/py_transforms.py rename to mindspore/python/mindspore/dataset/vision/py_transforms.py diff --git a/mindspore/dataset/vision/py_transforms_util.py b/mindspore/python/mindspore/dataset/vision/py_transforms_util.py similarity index 100% rename from mindspore/dataset/vision/py_transforms_util.py rename to mindspore/python/mindspore/dataset/vision/py_transforms_util.py diff --git a/mindspore/dataset/vision/utils.py b/mindspore/python/mindspore/dataset/vision/utils.py similarity index 100% rename from mindspore/dataset/vision/utils.py rename to mindspore/python/mindspore/dataset/vision/utils.py diff --git a/mindspore/dataset/vision/validators.py b/mindspore/python/mindspore/dataset/vision/validators.py similarity index 100% rename from mindspore/dataset/vision/validators.py rename to mindspore/python/mindspore/dataset/vision/validators.py diff --git a/mindspore/graph_utils/__init__.py b/mindspore/python/mindspore/graph_utils/__init__.py similarity index 100% rename from mindspore/graph_utils/__init__.py rename to mindspore/python/mindspore/graph_utils/__init__.py diff --git a/mindspore/graph_utils/graph_pattern.py b/mindspore/python/mindspore/graph_utils/graph_pattern.py similarity index 100% rename from mindspore/graph_utils/graph_pattern.py rename to mindspore/python/mindspore/graph_utils/graph_pattern.py diff --git a/mindspore/graph_utils/python_pass/__init__.py b/mindspore/python/mindspore/graph_utils/python_pass/__init__.py similarity index 100% rename from mindspore/graph_utils/python_pass/__init__.py rename to mindspore/python/mindspore/graph_utils/python_pass/__init__.py diff --git a/mindspore/graph_utils/python_pass/python_pass_register.py b/mindspore/python/mindspore/graph_utils/python_pass/python_pass_register.py similarity index 100% rename from mindspore/graph_utils/python_pass/python_pass_register.py rename to mindspore/python/mindspore/graph_utils/python_pass/python_pass_register.py diff --git a/mindspore/log.py b/mindspore/python/mindspore/log.py similarity index 100% rename from mindspore/log.py rename to mindspore/python/mindspore/log.py diff --git a/mindspore/mindrecord/OWNERS b/mindspore/python/mindspore/mindrecord/OWNERS similarity index 100% rename from mindspore/mindrecord/OWNERS rename to mindspore/python/mindspore/mindrecord/OWNERS diff --git a/mindspore/mindrecord/__init__.inter b/mindspore/python/mindspore/mindrecord/__init__.inter similarity index 100% rename from mindspore/mindrecord/__init__.inter rename to mindspore/python/mindspore/mindrecord/__init__.inter diff --git a/mindspore/mindrecord/__init__.py b/mindspore/python/mindspore/mindrecord/__init__.py similarity index 100% rename from mindspore/mindrecord/__init__.py rename to mindspore/python/mindspore/mindrecord/__init__.py diff --git a/mindspore/mindrecord/common/__init__.py b/mindspore/python/mindspore/mindrecord/common/__init__.py similarity index 100% rename from mindspore/mindrecord/common/__init__.py rename to mindspore/python/mindspore/mindrecord/common/__init__.py diff --git a/mindspore/mindrecord/common/constant.py b/mindspore/python/mindspore/mindrecord/common/constant.py similarity index 100% rename from mindspore/mindrecord/common/constant.py rename to mindspore/python/mindspore/mindrecord/common/constant.py diff --git a/mindspore/mindrecord/common/enums.py b/mindspore/python/mindspore/mindrecord/common/enums.py similarity index 100% rename from mindspore/mindrecord/common/enums.py rename to mindspore/python/mindspore/mindrecord/common/enums.py diff --git a/mindspore/mindrecord/common/exceptions.py b/mindspore/python/mindspore/mindrecord/common/exceptions.py similarity index 100% rename from mindspore/mindrecord/common/exceptions.py rename to mindspore/python/mindspore/mindrecord/common/exceptions.py diff --git a/mindspore/mindrecord/filereader.py b/mindspore/python/mindspore/mindrecord/filereader.py similarity index 100% rename from mindspore/mindrecord/filereader.py rename to mindspore/python/mindspore/mindrecord/filereader.py diff --git a/mindspore/mindrecord/filewriter.py b/mindspore/python/mindspore/mindrecord/filewriter.py similarity index 100% rename from mindspore/mindrecord/filewriter.py rename to mindspore/python/mindspore/mindrecord/filewriter.py diff --git a/mindspore/mindrecord/mindpage.py b/mindspore/python/mindspore/mindrecord/mindpage.py similarity index 100% rename from mindspore/mindrecord/mindpage.py rename to mindspore/python/mindspore/mindrecord/mindpage.py diff --git a/mindspore/mindrecord/shardheader.py b/mindspore/python/mindspore/mindrecord/shardheader.py similarity index 100% rename from mindspore/mindrecord/shardheader.py rename to mindspore/python/mindspore/mindrecord/shardheader.py diff --git a/mindspore/mindrecord/shardindexgenerator.py b/mindspore/python/mindspore/mindrecord/shardindexgenerator.py similarity index 100% rename from mindspore/mindrecord/shardindexgenerator.py rename to mindspore/python/mindspore/mindrecord/shardindexgenerator.py diff --git a/mindspore/mindrecord/shardreader.py b/mindspore/python/mindspore/mindrecord/shardreader.py similarity index 100% rename from mindspore/mindrecord/shardreader.py rename to mindspore/python/mindspore/mindrecord/shardreader.py diff --git a/mindspore/mindrecord/shardsegment.py b/mindspore/python/mindspore/mindrecord/shardsegment.py similarity index 100% rename from mindspore/mindrecord/shardsegment.py rename to mindspore/python/mindspore/mindrecord/shardsegment.py diff --git a/mindspore/mindrecord/shardutils.py b/mindspore/python/mindspore/mindrecord/shardutils.py similarity index 100% rename from mindspore/mindrecord/shardutils.py rename to mindspore/python/mindspore/mindrecord/shardutils.py diff --git a/mindspore/mindrecord/shardwriter.py b/mindspore/python/mindspore/mindrecord/shardwriter.py similarity index 100% rename from mindspore/mindrecord/shardwriter.py rename to mindspore/python/mindspore/mindrecord/shardwriter.py diff --git a/mindspore/mindrecord/tools/__init__.py b/mindspore/python/mindspore/mindrecord/tools/__init__.py similarity index 100% rename from mindspore/mindrecord/tools/__init__.py rename to mindspore/python/mindspore/mindrecord/tools/__init__.py diff --git a/mindspore/mindrecord/tools/cifar10.py b/mindspore/python/mindspore/mindrecord/tools/cifar10.py similarity index 100% rename from mindspore/mindrecord/tools/cifar10.py rename to mindspore/python/mindspore/mindrecord/tools/cifar10.py diff --git a/mindspore/mindrecord/tools/cifar100.py b/mindspore/python/mindspore/mindrecord/tools/cifar100.py similarity index 100% rename from mindspore/mindrecord/tools/cifar100.py rename to mindspore/python/mindspore/mindrecord/tools/cifar100.py diff --git a/mindspore/mindrecord/tools/cifar100_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/cifar100_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/cifar100_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/cifar100_to_mr.py diff --git a/mindspore/mindrecord/tools/cifar10_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/cifar10_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/cifar10_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/cifar10_to_mr.py diff --git a/mindspore/mindrecord/tools/csv_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/csv_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/csv_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/csv_to_mr.py diff --git a/mindspore/mindrecord/tools/imagenet_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/imagenet_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py diff --git a/mindspore/mindrecord/tools/mnist_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/mnist_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/mnist_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/mnist_to_mr.py diff --git a/mindspore/mindrecord/tools/tfrecord_to_mr.py b/mindspore/python/mindspore/mindrecord/tools/tfrecord_to_mr.py similarity index 100% rename from mindspore/mindrecord/tools/tfrecord_to_mr.py rename to mindspore/python/mindspore/mindrecord/tools/tfrecord_to_mr.py diff --git a/mindspore/nn/__init__.py b/mindspore/python/mindspore/nn/__init__.py similarity index 100% rename from mindspore/nn/__init__.py rename to mindspore/python/mindspore/nn/__init__.py diff --git a/mindspore/nn/cell.py b/mindspore/python/mindspore/nn/cell.py similarity index 100% rename from mindspore/nn/cell.py rename to mindspore/python/mindspore/nn/cell.py diff --git a/mindspore/nn/dynamic_lr.py b/mindspore/python/mindspore/nn/dynamic_lr.py similarity index 100% rename from mindspore/nn/dynamic_lr.py rename to mindspore/python/mindspore/nn/dynamic_lr.py diff --git a/mindspore/nn/grad/__init__.py b/mindspore/python/mindspore/nn/grad/__init__.py similarity index 100% rename from mindspore/nn/grad/__init__.py rename to mindspore/python/mindspore/nn/grad/__init__.py diff --git a/mindspore/nn/grad/cell_grad.py b/mindspore/python/mindspore/nn/grad/cell_grad.py similarity index 100% rename from mindspore/nn/grad/cell_grad.py rename to mindspore/python/mindspore/nn/grad/cell_grad.py diff --git a/mindspore/nn/layer/__init__.py b/mindspore/python/mindspore/nn/layer/__init__.py similarity index 100% rename from mindspore/nn/layer/__init__.py rename to mindspore/python/mindspore/nn/layer/__init__.py diff --git a/mindspore/nn/layer/activation.py b/mindspore/python/mindspore/nn/layer/activation.py similarity index 100% rename from mindspore/nn/layer/activation.py rename to mindspore/python/mindspore/nn/layer/activation.py diff --git a/mindspore/nn/layer/basic.py b/mindspore/python/mindspore/nn/layer/basic.py similarity index 100% rename from mindspore/nn/layer/basic.py rename to mindspore/python/mindspore/nn/layer/basic.py diff --git a/mindspore/nn/layer/combined.py b/mindspore/python/mindspore/nn/layer/combined.py similarity index 100% rename from mindspore/nn/layer/combined.py rename to mindspore/python/mindspore/nn/layer/combined.py diff --git a/mindspore/nn/layer/container.py b/mindspore/python/mindspore/nn/layer/container.py similarity index 100% rename from mindspore/nn/layer/container.py rename to mindspore/python/mindspore/nn/layer/container.py diff --git a/mindspore/nn/layer/conv.py b/mindspore/python/mindspore/nn/layer/conv.py similarity index 100% rename from mindspore/nn/layer/conv.py rename to mindspore/python/mindspore/nn/layer/conv.py diff --git a/mindspore/nn/layer/embedding.py b/mindspore/python/mindspore/nn/layer/embedding.py similarity index 100% rename from mindspore/nn/layer/embedding.py rename to mindspore/python/mindspore/nn/layer/embedding.py diff --git a/mindspore/nn/layer/image.py b/mindspore/python/mindspore/nn/layer/image.py similarity index 100% rename from mindspore/nn/layer/image.py rename to mindspore/python/mindspore/nn/layer/image.py diff --git a/mindspore/nn/layer/math.py b/mindspore/python/mindspore/nn/layer/math.py similarity index 100% rename from mindspore/nn/layer/math.py rename to mindspore/python/mindspore/nn/layer/math.py diff --git a/mindspore/nn/layer/normalization.py b/mindspore/python/mindspore/nn/layer/normalization.py similarity index 100% rename from mindspore/nn/layer/normalization.py rename to mindspore/python/mindspore/nn/layer/normalization.py diff --git a/mindspore/nn/layer/pooling.py b/mindspore/python/mindspore/nn/layer/pooling.py similarity index 100% rename from mindspore/nn/layer/pooling.py rename to mindspore/python/mindspore/nn/layer/pooling.py diff --git a/mindspore/nn/layer/quant.py b/mindspore/python/mindspore/nn/layer/quant.py similarity index 100% rename from mindspore/nn/layer/quant.py rename to mindspore/python/mindspore/nn/layer/quant.py diff --git a/mindspore/nn/layer/rnn_cells.py b/mindspore/python/mindspore/nn/layer/rnn_cells.py similarity index 100% rename from mindspore/nn/layer/rnn_cells.py rename to mindspore/python/mindspore/nn/layer/rnn_cells.py diff --git a/mindspore/nn/layer/rnn_utils.py b/mindspore/python/mindspore/nn/layer/rnn_utils.py similarity index 100% rename from mindspore/nn/layer/rnn_utils.py rename to mindspore/python/mindspore/nn/layer/rnn_utils.py diff --git a/mindspore/nn/layer/rnns.py b/mindspore/python/mindspore/nn/layer/rnns.py similarity index 100% rename from mindspore/nn/layer/rnns.py rename to mindspore/python/mindspore/nn/layer/rnns.py diff --git a/mindspore/nn/layer/thor_layer.py b/mindspore/python/mindspore/nn/layer/thor_layer.py similarity index 100% rename from mindspore/nn/layer/thor_layer.py rename to mindspore/python/mindspore/nn/layer/thor_layer.py diff --git a/mindspore/nn/layer/timedistributed.py b/mindspore/python/mindspore/nn/layer/timedistributed.py similarity index 100% rename from mindspore/nn/layer/timedistributed.py rename to mindspore/python/mindspore/nn/layer/timedistributed.py diff --git a/mindspore/nn/learning_rate_schedule.py b/mindspore/python/mindspore/nn/learning_rate_schedule.py similarity index 100% rename from mindspore/nn/learning_rate_schedule.py rename to mindspore/python/mindspore/nn/learning_rate_schedule.py diff --git a/mindspore/nn/loss/__init__.py b/mindspore/python/mindspore/nn/loss/__init__.py similarity index 100% rename from mindspore/nn/loss/__init__.py rename to mindspore/python/mindspore/nn/loss/__init__.py diff --git a/mindspore/nn/loss/loss.py b/mindspore/python/mindspore/nn/loss/loss.py similarity index 100% rename from mindspore/nn/loss/loss.py rename to mindspore/python/mindspore/nn/loss/loss.py diff --git a/mindspore/nn/metrics/__init__.py b/mindspore/python/mindspore/nn/metrics/__init__.py similarity index 100% rename from mindspore/nn/metrics/__init__.py rename to mindspore/python/mindspore/nn/metrics/__init__.py diff --git a/mindspore/nn/metrics/accuracy.py b/mindspore/python/mindspore/nn/metrics/accuracy.py similarity index 100% rename from mindspore/nn/metrics/accuracy.py rename to mindspore/python/mindspore/nn/metrics/accuracy.py diff --git a/mindspore/nn/metrics/auc.py b/mindspore/python/mindspore/nn/metrics/auc.py similarity index 100% rename from mindspore/nn/metrics/auc.py rename to mindspore/python/mindspore/nn/metrics/auc.py diff --git a/mindspore/nn/metrics/bleu_score.py b/mindspore/python/mindspore/nn/metrics/bleu_score.py similarity index 100% rename from mindspore/nn/metrics/bleu_score.py rename to mindspore/python/mindspore/nn/metrics/bleu_score.py diff --git a/mindspore/nn/metrics/confusion_matrix.py b/mindspore/python/mindspore/nn/metrics/confusion_matrix.py similarity index 100% rename from mindspore/nn/metrics/confusion_matrix.py rename to mindspore/python/mindspore/nn/metrics/confusion_matrix.py diff --git a/mindspore/nn/metrics/cosine_similarity.py b/mindspore/python/mindspore/nn/metrics/cosine_similarity.py similarity index 100% rename from mindspore/nn/metrics/cosine_similarity.py rename to mindspore/python/mindspore/nn/metrics/cosine_similarity.py diff --git a/mindspore/nn/metrics/dice.py b/mindspore/python/mindspore/nn/metrics/dice.py similarity index 100% rename from mindspore/nn/metrics/dice.py rename to mindspore/python/mindspore/nn/metrics/dice.py diff --git a/mindspore/nn/metrics/error.py b/mindspore/python/mindspore/nn/metrics/error.py similarity index 100% rename from mindspore/nn/metrics/error.py rename to mindspore/python/mindspore/nn/metrics/error.py diff --git a/mindspore/nn/metrics/fbeta.py b/mindspore/python/mindspore/nn/metrics/fbeta.py similarity index 100% rename from mindspore/nn/metrics/fbeta.py rename to mindspore/python/mindspore/nn/metrics/fbeta.py diff --git a/mindspore/nn/metrics/hausdorff_distance.py b/mindspore/python/mindspore/nn/metrics/hausdorff_distance.py similarity index 100% rename from mindspore/nn/metrics/hausdorff_distance.py rename to mindspore/python/mindspore/nn/metrics/hausdorff_distance.py diff --git a/mindspore/nn/metrics/loss.py b/mindspore/python/mindspore/nn/metrics/loss.py similarity index 100% rename from mindspore/nn/metrics/loss.py rename to mindspore/python/mindspore/nn/metrics/loss.py diff --git a/mindspore/nn/metrics/mean_surface_distance.py b/mindspore/python/mindspore/nn/metrics/mean_surface_distance.py similarity index 100% rename from mindspore/nn/metrics/mean_surface_distance.py rename to mindspore/python/mindspore/nn/metrics/mean_surface_distance.py diff --git a/mindspore/nn/metrics/metric.py b/mindspore/python/mindspore/nn/metrics/metric.py similarity index 100% rename from mindspore/nn/metrics/metric.py rename to mindspore/python/mindspore/nn/metrics/metric.py diff --git a/mindspore/nn/metrics/occlusion_sensitivity.py b/mindspore/python/mindspore/nn/metrics/occlusion_sensitivity.py similarity index 100% rename from mindspore/nn/metrics/occlusion_sensitivity.py rename to mindspore/python/mindspore/nn/metrics/occlusion_sensitivity.py diff --git a/mindspore/nn/metrics/perplexity.py b/mindspore/python/mindspore/nn/metrics/perplexity.py similarity index 100% rename from mindspore/nn/metrics/perplexity.py rename to mindspore/python/mindspore/nn/metrics/perplexity.py diff --git a/mindspore/nn/metrics/precision.py b/mindspore/python/mindspore/nn/metrics/precision.py similarity index 100% rename from mindspore/nn/metrics/precision.py rename to mindspore/python/mindspore/nn/metrics/precision.py diff --git a/mindspore/nn/metrics/recall.py b/mindspore/python/mindspore/nn/metrics/recall.py similarity index 100% rename from mindspore/nn/metrics/recall.py rename to mindspore/python/mindspore/nn/metrics/recall.py diff --git a/mindspore/nn/metrics/roc.py b/mindspore/python/mindspore/nn/metrics/roc.py similarity index 100% rename from mindspore/nn/metrics/roc.py rename to mindspore/python/mindspore/nn/metrics/roc.py diff --git a/mindspore/nn/metrics/root_mean_square_surface_distance.py b/mindspore/python/mindspore/nn/metrics/root_mean_square_surface_distance.py similarity index 100% rename from mindspore/nn/metrics/root_mean_square_surface_distance.py rename to mindspore/python/mindspore/nn/metrics/root_mean_square_surface_distance.py diff --git a/mindspore/nn/metrics/topk.py b/mindspore/python/mindspore/nn/metrics/topk.py similarity index 100% rename from mindspore/nn/metrics/topk.py rename to mindspore/python/mindspore/nn/metrics/topk.py diff --git a/mindspore/nn/optim/__init__.py b/mindspore/python/mindspore/nn/optim/__init__.py similarity index 100% rename from mindspore/nn/optim/__init__.py rename to mindspore/python/mindspore/nn/optim/__init__.py diff --git a/mindspore/nn/optim/ada_grad.py b/mindspore/python/mindspore/nn/optim/ada_grad.py similarity index 100% rename from mindspore/nn/optim/ada_grad.py rename to mindspore/python/mindspore/nn/optim/ada_grad.py diff --git a/mindspore/nn/optim/adafactor.py b/mindspore/python/mindspore/nn/optim/adafactor.py similarity index 100% rename from mindspore/nn/optim/adafactor.py rename to mindspore/python/mindspore/nn/optim/adafactor.py diff --git a/mindspore/nn/optim/adam.py b/mindspore/python/mindspore/nn/optim/adam.py similarity index 100% rename from mindspore/nn/optim/adam.py rename to mindspore/python/mindspore/nn/optim/adam.py diff --git a/mindspore/nn/optim/asgd.py b/mindspore/python/mindspore/nn/optim/asgd.py similarity index 100% rename from mindspore/nn/optim/asgd.py rename to mindspore/python/mindspore/nn/optim/asgd.py diff --git a/mindspore/nn/optim/ftrl.py b/mindspore/python/mindspore/nn/optim/ftrl.py similarity index 100% rename from mindspore/nn/optim/ftrl.py rename to mindspore/python/mindspore/nn/optim/ftrl.py diff --git a/mindspore/nn/optim/lamb.py b/mindspore/python/mindspore/nn/optim/lamb.py similarity index 100% rename from mindspore/nn/optim/lamb.py rename to mindspore/python/mindspore/nn/optim/lamb.py diff --git a/mindspore/nn/optim/lars.py b/mindspore/python/mindspore/nn/optim/lars.py similarity index 100% rename from mindspore/nn/optim/lars.py rename to mindspore/python/mindspore/nn/optim/lars.py diff --git a/mindspore/nn/optim/lazyadam.py b/mindspore/python/mindspore/nn/optim/lazyadam.py similarity index 100% rename from mindspore/nn/optim/lazyadam.py rename to mindspore/python/mindspore/nn/optim/lazyadam.py diff --git a/mindspore/nn/optim/momentum.py b/mindspore/python/mindspore/nn/optim/momentum.py similarity index 100% rename from mindspore/nn/optim/momentum.py rename to mindspore/python/mindspore/nn/optim/momentum.py diff --git a/mindspore/nn/optim/optimizer.py b/mindspore/python/mindspore/nn/optim/optimizer.py similarity index 100% rename from mindspore/nn/optim/optimizer.py rename to mindspore/python/mindspore/nn/optim/optimizer.py diff --git a/mindspore/nn/optim/proximal_ada_grad.py b/mindspore/python/mindspore/nn/optim/proximal_ada_grad.py similarity index 100% rename from mindspore/nn/optim/proximal_ada_grad.py rename to mindspore/python/mindspore/nn/optim/proximal_ada_grad.py diff --git a/mindspore/nn/optim/rmsprop.py b/mindspore/python/mindspore/nn/optim/rmsprop.py similarity index 100% rename from mindspore/nn/optim/rmsprop.py rename to mindspore/python/mindspore/nn/optim/rmsprop.py diff --git a/mindspore/nn/optim/rprop.py b/mindspore/python/mindspore/nn/optim/rprop.py similarity index 100% rename from mindspore/nn/optim/rprop.py rename to mindspore/python/mindspore/nn/optim/rprop.py diff --git a/mindspore/nn/optim/sgd.py b/mindspore/python/mindspore/nn/optim/sgd.py similarity index 100% rename from mindspore/nn/optim/sgd.py rename to mindspore/python/mindspore/nn/optim/sgd.py diff --git a/mindspore/nn/optim/thor.py b/mindspore/python/mindspore/nn/optim/thor.py similarity index 100% rename from mindspore/nn/optim/thor.py rename to mindspore/python/mindspore/nn/optim/thor.py diff --git a/mindspore/nn/probability/README.md b/mindspore/python/mindspore/nn/probability/README.md similarity index 100% rename from mindspore/nn/probability/README.md rename to mindspore/python/mindspore/nn/probability/README.md diff --git a/mindspore/nn/probability/__init__.py b/mindspore/python/mindspore/nn/probability/__init__.py similarity index 100% rename from mindspore/nn/probability/__init__.py rename to mindspore/python/mindspore/nn/probability/__init__.py diff --git a/mindspore/nn/probability/bijector/__init__.py b/mindspore/python/mindspore/nn/probability/bijector/__init__.py similarity index 100% rename from mindspore/nn/probability/bijector/__init__.py rename to mindspore/python/mindspore/nn/probability/bijector/__init__.py diff --git a/mindspore/nn/probability/bijector/bijector.py b/mindspore/python/mindspore/nn/probability/bijector/bijector.py similarity index 100% rename from mindspore/nn/probability/bijector/bijector.py rename to mindspore/python/mindspore/nn/probability/bijector/bijector.py diff --git a/mindspore/nn/probability/bijector/exp.py b/mindspore/python/mindspore/nn/probability/bijector/exp.py similarity index 100% rename from mindspore/nn/probability/bijector/exp.py rename to mindspore/python/mindspore/nn/probability/bijector/exp.py diff --git a/mindspore/nn/probability/bijector/gumbel_cdf.py b/mindspore/python/mindspore/nn/probability/bijector/gumbel_cdf.py similarity index 100% rename from mindspore/nn/probability/bijector/gumbel_cdf.py rename to mindspore/python/mindspore/nn/probability/bijector/gumbel_cdf.py diff --git a/mindspore/nn/probability/bijector/invert.py b/mindspore/python/mindspore/nn/probability/bijector/invert.py similarity index 100% rename from mindspore/nn/probability/bijector/invert.py rename to mindspore/python/mindspore/nn/probability/bijector/invert.py diff --git a/mindspore/nn/probability/bijector/power_transform.py b/mindspore/python/mindspore/nn/probability/bijector/power_transform.py similarity index 100% rename from mindspore/nn/probability/bijector/power_transform.py rename to mindspore/python/mindspore/nn/probability/bijector/power_transform.py diff --git a/mindspore/nn/probability/bijector/scalar_affine.py b/mindspore/python/mindspore/nn/probability/bijector/scalar_affine.py similarity index 100% rename from mindspore/nn/probability/bijector/scalar_affine.py rename to mindspore/python/mindspore/nn/probability/bijector/scalar_affine.py diff --git a/mindspore/nn/probability/bijector/softplus.py b/mindspore/python/mindspore/nn/probability/bijector/softplus.py similarity index 100% rename from mindspore/nn/probability/bijector/softplus.py rename to mindspore/python/mindspore/nn/probability/bijector/softplus.py diff --git a/mindspore/nn/probability/bnn_layers/__init__.py b/mindspore/python/mindspore/nn/probability/bnn_layers/__init__.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/__init__.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/__init__.py diff --git a/mindspore/nn/probability/bnn_layers/_util.py b/mindspore/python/mindspore/nn/probability/bnn_layers/_util.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/_util.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/_util.py diff --git a/mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py b/mindspore/python/mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py diff --git a/mindspore/nn/probability/bnn_layers/conv_variational.py b/mindspore/python/mindspore/nn/probability/bnn_layers/conv_variational.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/conv_variational.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/conv_variational.py diff --git a/mindspore/nn/probability/bnn_layers/dense_variational.py b/mindspore/python/mindspore/nn/probability/bnn_layers/dense_variational.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/dense_variational.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/dense_variational.py diff --git a/mindspore/nn/probability/bnn_layers/layer_distribution.py b/mindspore/python/mindspore/nn/probability/bnn_layers/layer_distribution.py similarity index 100% rename from mindspore/nn/probability/bnn_layers/layer_distribution.py rename to mindspore/python/mindspore/nn/probability/bnn_layers/layer_distribution.py diff --git a/mindspore/nn/probability/distribution/__init__.py b/mindspore/python/mindspore/nn/probability/distribution/__init__.py similarity index 100% rename from mindspore/nn/probability/distribution/__init__.py rename to mindspore/python/mindspore/nn/probability/distribution/__init__.py diff --git a/mindspore/nn/probability/distribution/_utils/__init__.py b/mindspore/python/mindspore/nn/probability/distribution/_utils/__init__.py similarity index 100% rename from mindspore/nn/probability/distribution/_utils/__init__.py rename to mindspore/python/mindspore/nn/probability/distribution/_utils/__init__.py diff --git a/mindspore/nn/probability/distribution/_utils/custom_ops.py b/mindspore/python/mindspore/nn/probability/distribution/_utils/custom_ops.py similarity index 100% rename from mindspore/nn/probability/distribution/_utils/custom_ops.py rename to mindspore/python/mindspore/nn/probability/distribution/_utils/custom_ops.py diff --git a/mindspore/nn/probability/distribution/_utils/utils.py b/mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py similarity index 100% rename from mindspore/nn/probability/distribution/_utils/utils.py rename to mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py diff --git a/mindspore/nn/probability/distribution/bernoulli.py b/mindspore/python/mindspore/nn/probability/distribution/bernoulli.py similarity index 100% rename from mindspore/nn/probability/distribution/bernoulli.py rename to mindspore/python/mindspore/nn/probability/distribution/bernoulli.py diff --git a/mindspore/nn/probability/distribution/beta.py b/mindspore/python/mindspore/nn/probability/distribution/beta.py similarity index 100% rename from mindspore/nn/probability/distribution/beta.py rename to mindspore/python/mindspore/nn/probability/distribution/beta.py diff --git a/mindspore/nn/probability/distribution/categorical.py b/mindspore/python/mindspore/nn/probability/distribution/categorical.py similarity index 100% rename from mindspore/nn/probability/distribution/categorical.py rename to mindspore/python/mindspore/nn/probability/distribution/categorical.py diff --git a/mindspore/nn/probability/distribution/cauchy.py b/mindspore/python/mindspore/nn/probability/distribution/cauchy.py similarity index 100% rename from mindspore/nn/probability/distribution/cauchy.py rename to mindspore/python/mindspore/nn/probability/distribution/cauchy.py diff --git a/mindspore/nn/probability/distribution/distribution.py b/mindspore/python/mindspore/nn/probability/distribution/distribution.py similarity index 100% rename from mindspore/nn/probability/distribution/distribution.py rename to mindspore/python/mindspore/nn/probability/distribution/distribution.py diff --git a/mindspore/nn/probability/distribution/exponential.py b/mindspore/python/mindspore/nn/probability/distribution/exponential.py similarity index 100% rename from mindspore/nn/probability/distribution/exponential.py rename to mindspore/python/mindspore/nn/probability/distribution/exponential.py diff --git a/mindspore/nn/probability/distribution/gamma.py b/mindspore/python/mindspore/nn/probability/distribution/gamma.py similarity index 100% rename from mindspore/nn/probability/distribution/gamma.py rename to mindspore/python/mindspore/nn/probability/distribution/gamma.py diff --git a/mindspore/nn/probability/distribution/geometric.py b/mindspore/python/mindspore/nn/probability/distribution/geometric.py similarity index 100% rename from mindspore/nn/probability/distribution/geometric.py rename to mindspore/python/mindspore/nn/probability/distribution/geometric.py diff --git a/mindspore/nn/probability/distribution/gumbel.py b/mindspore/python/mindspore/nn/probability/distribution/gumbel.py similarity index 100% rename from mindspore/nn/probability/distribution/gumbel.py rename to mindspore/python/mindspore/nn/probability/distribution/gumbel.py diff --git a/mindspore/nn/probability/distribution/log_normal.py b/mindspore/python/mindspore/nn/probability/distribution/log_normal.py similarity index 100% rename from mindspore/nn/probability/distribution/log_normal.py rename to mindspore/python/mindspore/nn/probability/distribution/log_normal.py diff --git a/mindspore/nn/probability/distribution/logistic.py b/mindspore/python/mindspore/nn/probability/distribution/logistic.py similarity index 100% rename from mindspore/nn/probability/distribution/logistic.py rename to mindspore/python/mindspore/nn/probability/distribution/logistic.py diff --git a/mindspore/nn/probability/distribution/normal.py b/mindspore/python/mindspore/nn/probability/distribution/normal.py similarity index 100% rename from mindspore/nn/probability/distribution/normal.py rename to mindspore/python/mindspore/nn/probability/distribution/normal.py diff --git a/mindspore/nn/probability/distribution/poisson.py b/mindspore/python/mindspore/nn/probability/distribution/poisson.py similarity index 100% rename from mindspore/nn/probability/distribution/poisson.py rename to mindspore/python/mindspore/nn/probability/distribution/poisson.py diff --git a/mindspore/nn/probability/distribution/transformed_distribution.py b/mindspore/python/mindspore/nn/probability/distribution/transformed_distribution.py similarity index 100% rename from mindspore/nn/probability/distribution/transformed_distribution.py rename to mindspore/python/mindspore/nn/probability/distribution/transformed_distribution.py diff --git a/mindspore/nn/probability/distribution/uniform.py b/mindspore/python/mindspore/nn/probability/distribution/uniform.py similarity index 100% rename from mindspore/nn/probability/distribution/uniform.py rename to mindspore/python/mindspore/nn/probability/distribution/uniform.py diff --git a/mindspore/nn/probability/dpn/__init__.py b/mindspore/python/mindspore/nn/probability/dpn/__init__.py similarity index 100% rename from mindspore/nn/probability/dpn/__init__.py rename to mindspore/python/mindspore/nn/probability/dpn/__init__.py diff --git a/mindspore/nn/probability/dpn/vae/__init__.py b/mindspore/python/mindspore/nn/probability/dpn/vae/__init__.py similarity index 100% rename from mindspore/nn/probability/dpn/vae/__init__.py rename to mindspore/python/mindspore/nn/probability/dpn/vae/__init__.py diff --git a/mindspore/nn/probability/dpn/vae/cvae.py b/mindspore/python/mindspore/nn/probability/dpn/vae/cvae.py similarity index 100% rename from mindspore/nn/probability/dpn/vae/cvae.py rename to mindspore/python/mindspore/nn/probability/dpn/vae/cvae.py diff --git a/mindspore/nn/probability/dpn/vae/vae.py b/mindspore/python/mindspore/nn/probability/dpn/vae/vae.py similarity index 100% rename from mindspore/nn/probability/dpn/vae/vae.py rename to mindspore/python/mindspore/nn/probability/dpn/vae/vae.py diff --git a/mindspore/nn/probability/infer/__init__.py b/mindspore/python/mindspore/nn/probability/infer/__init__.py similarity index 100% rename from mindspore/nn/probability/infer/__init__.py rename to mindspore/python/mindspore/nn/probability/infer/__init__.py diff --git a/mindspore/nn/probability/infer/variational/__init__.py b/mindspore/python/mindspore/nn/probability/infer/variational/__init__.py similarity index 100% rename from mindspore/nn/probability/infer/variational/__init__.py rename to mindspore/python/mindspore/nn/probability/infer/variational/__init__.py diff --git a/mindspore/nn/probability/infer/variational/elbo.py b/mindspore/python/mindspore/nn/probability/infer/variational/elbo.py similarity index 100% rename from mindspore/nn/probability/infer/variational/elbo.py rename to mindspore/python/mindspore/nn/probability/infer/variational/elbo.py diff --git a/mindspore/nn/probability/infer/variational/svi.py b/mindspore/python/mindspore/nn/probability/infer/variational/svi.py similarity index 100% rename from mindspore/nn/probability/infer/variational/svi.py rename to mindspore/python/mindspore/nn/probability/infer/variational/svi.py diff --git a/mindspore/nn/probability/toolbox/__init__.py b/mindspore/python/mindspore/nn/probability/toolbox/__init__.py similarity index 100% rename from mindspore/nn/probability/toolbox/__init__.py rename to mindspore/python/mindspore/nn/probability/toolbox/__init__.py diff --git a/mindspore/nn/probability/toolbox/anomaly_detection.py b/mindspore/python/mindspore/nn/probability/toolbox/anomaly_detection.py similarity index 100% rename from mindspore/nn/probability/toolbox/anomaly_detection.py rename to mindspore/python/mindspore/nn/probability/toolbox/anomaly_detection.py diff --git a/mindspore/nn/probability/toolbox/uncertainty_evaluation.py b/mindspore/python/mindspore/nn/probability/toolbox/uncertainty_evaluation.py similarity index 100% rename from mindspore/nn/probability/toolbox/uncertainty_evaluation.py rename to mindspore/python/mindspore/nn/probability/toolbox/uncertainty_evaluation.py diff --git a/mindspore/nn/probability/transforms/__init__.py b/mindspore/python/mindspore/nn/probability/transforms/__init__.py similarity index 100% rename from mindspore/nn/probability/transforms/__init__.py rename to mindspore/python/mindspore/nn/probability/transforms/__init__.py diff --git a/mindspore/nn/probability/transforms/transform_bnn.py b/mindspore/python/mindspore/nn/probability/transforms/transform_bnn.py similarity index 100% rename from mindspore/nn/probability/transforms/transform_bnn.py rename to mindspore/python/mindspore/nn/probability/transforms/transform_bnn.py diff --git a/mindspore/nn/probability/zhusuan/__init__.py b/mindspore/python/mindspore/nn/probability/zhusuan/__init__.py similarity index 100% rename from mindspore/nn/probability/zhusuan/__init__.py rename to mindspore/python/mindspore/nn/probability/zhusuan/__init__.py diff --git a/mindspore/nn/probability/zhusuan/framework/__init__.py b/mindspore/python/mindspore/nn/probability/zhusuan/framework/__init__.py similarity index 100% rename from mindspore/nn/probability/zhusuan/framework/__init__.py rename to mindspore/python/mindspore/nn/probability/zhusuan/framework/__init__.py diff --git a/mindspore/nn/probability/zhusuan/framework/bn.py b/mindspore/python/mindspore/nn/probability/zhusuan/framework/bn.py similarity index 100% rename from mindspore/nn/probability/zhusuan/framework/bn.py rename to mindspore/python/mindspore/nn/probability/zhusuan/framework/bn.py diff --git a/mindspore/nn/probability/zhusuan/variational/__init__.py b/mindspore/python/mindspore/nn/probability/zhusuan/variational/__init__.py similarity index 100% rename from mindspore/nn/probability/zhusuan/variational/__init__.py rename to mindspore/python/mindspore/nn/probability/zhusuan/variational/__init__.py diff --git a/mindspore/nn/probability/zhusuan/variational/elbo.py b/mindspore/python/mindspore/nn/probability/zhusuan/variational/elbo.py similarity index 100% rename from mindspore/nn/probability/zhusuan/variational/elbo.py rename to mindspore/python/mindspore/nn/probability/zhusuan/variational/elbo.py diff --git a/mindspore/nn/reinforcement/__init__.py b/mindspore/python/mindspore/nn/reinforcement/__init__.py similarity index 100% rename from mindspore/nn/reinforcement/__init__.py rename to mindspore/python/mindspore/nn/reinforcement/__init__.py diff --git a/mindspore/nn/reinforcement/tensor_array.py b/mindspore/python/mindspore/nn/reinforcement/tensor_array.py similarity index 100% rename from mindspore/nn/reinforcement/tensor_array.py rename to mindspore/python/mindspore/nn/reinforcement/tensor_array.py diff --git a/mindspore/nn/sparse/__init__.py b/mindspore/python/mindspore/nn/sparse/__init__.py similarity index 100% rename from mindspore/nn/sparse/__init__.py rename to mindspore/python/mindspore/nn/sparse/__init__.py diff --git a/mindspore/nn/sparse/sparse.py b/mindspore/python/mindspore/nn/sparse/sparse.py similarity index 100% rename from mindspore/nn/sparse/sparse.py rename to mindspore/python/mindspore/nn/sparse/sparse.py diff --git a/mindspore/nn/wrap/__init__.py b/mindspore/python/mindspore/nn/wrap/__init__.py similarity index 100% rename from mindspore/nn/wrap/__init__.py rename to mindspore/python/mindspore/nn/wrap/__init__.py diff --git a/mindspore/nn/wrap/cell_wrapper.py b/mindspore/python/mindspore/nn/wrap/cell_wrapper.py similarity index 100% rename from mindspore/nn/wrap/cell_wrapper.py rename to mindspore/python/mindspore/nn/wrap/cell_wrapper.py diff --git a/mindspore/nn/wrap/grad_reducer.py b/mindspore/python/mindspore/nn/wrap/grad_reducer.py similarity index 100% rename from mindspore/nn/wrap/grad_reducer.py rename to mindspore/python/mindspore/nn/wrap/grad_reducer.py diff --git a/mindspore/nn/wrap/loss_scale.py b/mindspore/python/mindspore/nn/wrap/loss_scale.py similarity index 100% rename from mindspore/nn/wrap/loss_scale.py rename to mindspore/python/mindspore/nn/wrap/loss_scale.py diff --git a/mindspore/numpy/__init__.py b/mindspore/python/mindspore/numpy/__init__.py similarity index 100% rename from mindspore/numpy/__init__.py rename to mindspore/python/mindspore/numpy/__init__.py diff --git a/mindspore/numpy/array_creations.py b/mindspore/python/mindspore/numpy/array_creations.py similarity index 100% rename from mindspore/numpy/array_creations.py rename to mindspore/python/mindspore/numpy/array_creations.py diff --git a/mindspore/numpy/array_ops.py b/mindspore/python/mindspore/numpy/array_ops.py similarity index 100% rename from mindspore/numpy/array_ops.py rename to mindspore/python/mindspore/numpy/array_ops.py diff --git a/mindspore/numpy/dtypes.py b/mindspore/python/mindspore/numpy/dtypes.py similarity index 100% rename from mindspore/numpy/dtypes.py rename to mindspore/python/mindspore/numpy/dtypes.py diff --git a/mindspore/numpy/logic_ops.py b/mindspore/python/mindspore/numpy/logic_ops.py similarity index 100% rename from mindspore/numpy/logic_ops.py rename to mindspore/python/mindspore/numpy/logic_ops.py diff --git a/mindspore/numpy/math_ops.py b/mindspore/python/mindspore/numpy/math_ops.py similarity index 100% rename from mindspore/numpy/math_ops.py rename to mindspore/python/mindspore/numpy/math_ops.py diff --git a/mindspore/numpy/utils.py b/mindspore/python/mindspore/numpy/utils.py similarity index 100% rename from mindspore/numpy/utils.py rename to mindspore/python/mindspore/numpy/utils.py diff --git a/mindspore/numpy/utils_const.py b/mindspore/python/mindspore/numpy/utils_const.py similarity index 100% rename from mindspore/numpy/utils_const.py rename to mindspore/python/mindspore/numpy/utils_const.py diff --git a/mindspore/offline_debug/OWNERS b/mindspore/python/mindspore/offline_debug/OWNERS similarity index 100% rename from mindspore/offline_debug/OWNERS rename to mindspore/python/mindspore/offline_debug/OWNERS diff --git a/mindspore/offline_debug/__init__.py b/mindspore/python/mindspore/offline_debug/__init__.py similarity index 100% rename from mindspore/offline_debug/__init__.py rename to mindspore/python/mindspore/offline_debug/__init__.py diff --git a/mindspore/offline_debug/convert_async.py b/mindspore/python/mindspore/offline_debug/convert_async.py similarity index 100% rename from mindspore/offline_debug/convert_async.py rename to mindspore/python/mindspore/offline_debug/convert_async.py diff --git a/mindspore/offline_debug/dbg_services.py b/mindspore/python/mindspore/offline_debug/dbg_services.py similarity index 100% rename from mindspore/offline_debug/dbg_services.py rename to mindspore/python/mindspore/offline_debug/dbg_services.py diff --git a/mindspore/offline_debug/mi_validator_helpers.py b/mindspore/python/mindspore/offline_debug/mi_validator_helpers.py similarity index 100% rename from mindspore/offline_debug/mi_validator_helpers.py rename to mindspore/python/mindspore/offline_debug/mi_validator_helpers.py diff --git a/mindspore/offline_debug/mi_validators.py b/mindspore/python/mindspore/offline_debug/mi_validators.py similarity index 100% rename from mindspore/offline_debug/mi_validators.py rename to mindspore/python/mindspore/offline_debug/mi_validators.py diff --git a/mindspore/ops/__init__.py b/mindspore/python/mindspore/ops/__init__.py similarity index 100% rename from mindspore/ops/__init__.py rename to mindspore/python/mindspore/ops/__init__.py diff --git a/mindspore/ops/_constants.py b/mindspore/python/mindspore/ops/_constants.py similarity index 100% rename from mindspore/ops/_constants.py rename to mindspore/python/mindspore/ops/_constants.py diff --git a/mindspore/ops/_grad/__init__.py b/mindspore/python/mindspore/ops/_grad/__init__.py similarity index 100% rename from mindspore/ops/_grad/__init__.py rename to mindspore/python/mindspore/ops/_grad/__init__.py diff --git a/mindspore/ops/_grad/grad_array_ops.py b/mindspore/python/mindspore/ops/_grad/grad_array_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_array_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_array_ops.py diff --git a/mindspore/ops/_grad/grad_base.py b/mindspore/python/mindspore/ops/_grad/grad_base.py similarity index 100% rename from mindspore/ops/_grad/grad_base.py rename to mindspore/python/mindspore/ops/_grad/grad_base.py diff --git a/mindspore/ops/_grad/grad_comm_ops.py b/mindspore/python/mindspore/ops/_grad/grad_comm_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_comm_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_comm_ops.py diff --git a/mindspore/ops/_grad/grad_debug_ops.py b/mindspore/python/mindspore/ops/_grad/grad_debug_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_debug_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_debug_ops.py diff --git a/mindspore/ops/_grad/grad_implementations.py b/mindspore/python/mindspore/ops/_grad/grad_implementations.py similarity index 100% rename from mindspore/ops/_grad/grad_implementations.py rename to mindspore/python/mindspore/ops/_grad/grad_implementations.py diff --git a/mindspore/ops/_grad/grad_inner_ops.py b/mindspore/python/mindspore/ops/_grad/grad_inner_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_inner_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_inner_ops.py diff --git a/mindspore/ops/_grad/grad_math_ops.py b/mindspore/python/mindspore/ops/_grad/grad_math_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_math_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_math_ops.py diff --git a/mindspore/ops/_grad/grad_nn_ops.py b/mindspore/python/mindspore/ops/_grad/grad_nn_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_nn_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_nn_ops.py diff --git a/mindspore/ops/_grad/grad_other_ops.py b/mindspore/python/mindspore/ops/_grad/grad_other_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_other_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_other_ops.py diff --git a/mindspore/ops/_grad/grad_quant_ops.py b/mindspore/python/mindspore/ops/_grad/grad_quant_ops.py similarity index 100% rename from mindspore/ops/_grad/grad_quant_ops.py rename to mindspore/python/mindspore/ops/_grad/grad_quant_ops.py diff --git a/mindspore/ops/_grad/grad_sparse.py b/mindspore/python/mindspore/ops/_grad/grad_sparse.py similarity index 100% rename from mindspore/ops/_grad/grad_sparse.py rename to mindspore/python/mindspore/ops/_grad/grad_sparse.py diff --git a/mindspore/ops/_grad_experimental/__init__.py b/mindspore/python/mindspore/ops/_grad_experimental/__init__.py similarity index 100% rename from mindspore/ops/_grad_experimental/__init__.py rename to mindspore/python/mindspore/ops/_grad_experimental/__init__.py diff --git a/mindspore/ops/_grad_experimental/grad_array_ops.py b/mindspore/python/mindspore/ops/_grad_experimental/grad_array_ops.py similarity index 100% rename from mindspore/ops/_grad_experimental/grad_array_ops.py rename to mindspore/python/mindspore/ops/_grad_experimental/grad_array_ops.py diff --git a/mindspore/ops/_grad_experimental/grad_inner_ops.py b/mindspore/python/mindspore/ops/_grad_experimental/grad_inner_ops.py similarity index 100% rename from mindspore/ops/_grad_experimental/grad_inner_ops.py rename to mindspore/python/mindspore/ops/_grad_experimental/grad_inner_ops.py diff --git a/mindspore/ops/_grad_experimental/grad_math_ops.py b/mindspore/python/mindspore/ops/_grad_experimental/grad_math_ops.py similarity index 100% rename from mindspore/ops/_grad_experimental/grad_math_ops.py rename to mindspore/python/mindspore/ops/_grad_experimental/grad_math_ops.py diff --git a/mindspore/ops/_grad_experimental/grad_nn_ops.py b/mindspore/python/mindspore/ops/_grad_experimental/grad_nn_ops.py similarity index 100% rename from mindspore/ops/_grad_experimental/grad_nn_ops.py rename to mindspore/python/mindspore/ops/_grad_experimental/grad_nn_ops.py diff --git a/mindspore/ops/_op_impl/__init__.py b/mindspore/python/mindspore/ops/_op_impl/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/__init__.py diff --git a/mindspore/ops/_op_impl/_custom_op/__init__.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/__init__.py diff --git a/mindspore/ops/_op_impl/_custom_op/_basic.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/_basic.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py diff --git a/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/batchnorm_fold.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batchnorm_fold.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold.py diff --git a/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batchnorm_fold2.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2.py diff --git a/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad_reduce.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad_reduce.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad_reduce.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold2_grad_reduce.py diff --git a/mindspore/ops/_op_impl/_custom_op/batchnorm_fold_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/batchnorm_fold_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/batchnorm_fold_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/cholesky_trsm_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/cholesky_trsm_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/cholesky_trsm_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/cholesky_trsm_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/correction_mul.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/correction_mul.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/correction_mul.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/correction_mul.py diff --git a/mindspore/ops/_op_impl/_custom_op/correction_mul_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/correction_mul_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/correction_mul_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/correction_mul_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_back_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/dsd_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/dsd_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/dsd_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad_reduce.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad_reduce.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad_reduce.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perchannel_grad_reduce.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad_reduce.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad_reduce.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad_reduce.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_learned_scale_quant_perlayer_grad_reduce.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perchannel_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer.py diff --git a/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer_grad.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer_grad.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer_grad.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fake_quant_perlayer_grad.py diff --git a/mindspore/ops/_op_impl/_custom_op/fused_abs_max1_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/fused_abs_max1_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/fused_abs_max1_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/fused_abs_max1_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/img2col_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/img2col_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/img2col_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/img2col_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_right_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_right_mul_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_dds_grad_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_dds_grad_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_dds_grad_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_dds_grad_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matmul_dds_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_dds_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matmul_dds_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_dds_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/matrix_combine_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/matrix_combine_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/matrix_combine_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/matrix_combine_impl.py diff --git a/mindspore/ops/_op_impl/_custom_op/minmax_update_perchannel.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/minmax_update_perchannel.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/minmax_update_perchannel.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/minmax_update_perchannel.py diff --git a/mindspore/ops/_op_impl/_custom_op/minmax_update_perlayer.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/minmax_update_perlayer.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/minmax_update_perlayer.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/minmax_update_perlayer.py diff --git a/mindspore/ops/_op_impl/_custom_op/transpose02314_impl.py b/mindspore/python/mindspore/ops/_op_impl/_custom_op/transpose02314_impl.py similarity index 100% rename from mindspore/ops/_op_impl/_custom_op/transpose02314_impl.py rename to mindspore/python/mindspore/ops/_op_impl/_custom_op/transpose02314_impl.py diff --git a/mindspore/ops/_op_impl/aicpu/__init__.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/__init__.py diff --git a/mindspore/ops/_op_impl/aicpu/cache_swap_table.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/cache_swap_table.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/cache_swap_table.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/cache_swap_table.py diff --git a/mindspore/ops/_op_impl/aicpu/cast.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/cast.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/cast.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/cast.py diff --git a/mindspore/ops/_op_impl/aicpu/compute_accidental_hits.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/compute_accidental_hits.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/compute_accidental_hits.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/compute_accidental_hits.py diff --git a/mindspore/ops/_op_impl/aicpu/crop_and_resize.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/crop_and_resize.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/crop_and_resize.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/crop_and_resize.py diff --git a/mindspore/ops/_op_impl/aicpu/ctc_greedy_decoder.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/ctc_greedy_decoder.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/ctc_greedy_decoder.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/ctc_greedy_decoder.py diff --git a/mindspore/ops/_op_impl/aicpu/ctcloss.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/ctcloss.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/ctcloss.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/ctcloss.py diff --git a/mindspore/ops/_op_impl/aicpu/dropout2d.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/dropout2d.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/dropout2d.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/dropout2d.py diff --git a/mindspore/ops/_op_impl/aicpu/dropout3d.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/dropout3d.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/dropout3d.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/dropout3d.py diff --git a/mindspore/ops/_op_impl/aicpu/dropout_genmask.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/dropout_genmask.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/dropout_genmask.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/dropout_genmask.py diff --git a/mindspore/ops/_op_impl/aicpu/dynamic_stitch.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/dynamic_stitch.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/dynamic_stitch.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/dynamic_stitch.py diff --git a/mindspore/ops/_op_impl/aicpu/edit_distance.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/edit_distance.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/edit_distance.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/edit_distance.py diff --git a/mindspore/ops/_op_impl/aicpu/embedding_lookup.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/embedding_lookup.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/embedding_lookup.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/embedding_lookup.py diff --git a/mindspore/ops/_op_impl/aicpu/end_of_sequence.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/end_of_sequence.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/end_of_sequence.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/end_of_sequence.py diff --git a/mindspore/ops/_op_impl/aicpu/expand_dims.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/expand_dims.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/expand_dims.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/expand_dims.py diff --git a/mindspore/ops/_op_impl/aicpu/flatten.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/flatten.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/flatten.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/flatten.py diff --git a/mindspore/ops/_op_impl/aicpu/fused_sparse_adam.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_adam.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/fused_sparse_adam.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_adam.py diff --git a/mindspore/ops/_op_impl/aicpu/fused_sparse_ftrl.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_ftrl.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/fused_sparse_ftrl.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_ftrl.py diff --git a/mindspore/ops/_op_impl/aicpu/fused_sparse_lazy_adam.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_lazy_adam.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/fused_sparse_lazy_adam.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_lazy_adam.py diff --git a/mindspore/ops/_op_impl/aicpu/fused_sparse_proximal_adagrad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_proximal_adagrad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/fused_sparse_proximal_adagrad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/fused_sparse_proximal_adagrad.py diff --git a/mindspore/ops/_op_impl/aicpu/gamma.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/gamma.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/gamma.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/gamma.py diff --git a/mindspore/ops/_op_impl/aicpu/gather.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/gather.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/gather.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/gather.py diff --git a/mindspore/ops/_op_impl/aicpu/gather_grad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/gather_grad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/gather_grad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/gather_grad.py diff --git a/mindspore/ops/_op_impl/aicpu/get_next.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/get_next.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/get_next.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/get_next.py diff --git a/mindspore/ops/_op_impl/aicpu/identity.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/identity.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/identity.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/identity.py diff --git a/mindspore/ops/_op_impl/aicpu/init_data_set_queue.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/init_data_set_queue.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/init_data_set_queue.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/init_data_set_queue.py diff --git a/mindspore/ops/_op_impl/aicpu/is_finite.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/is_finite.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/is_finite.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/is_finite.py diff --git a/mindspore/ops/_op_impl/aicpu/is_inf.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/is_inf.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/is_inf.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/is_inf.py diff --git a/mindspore/ops/_op_impl/aicpu/is_nan.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/is_nan.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/is_nan.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/is_nan.py diff --git a/mindspore/ops/_op_impl/aicpu/log_uniform_candidate_sampler.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/log_uniform_candidate_sampler.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/log_uniform_candidate_sampler.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/log_uniform_candidate_sampler.py diff --git a/mindspore/ops/_op_impl/aicpu/masked_select.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/masked_select.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/masked_select.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/masked_select.py diff --git a/mindspore/ops/_op_impl/aicpu/masked_select_grad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/masked_select_grad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/masked_select_grad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/masked_select_grad.py diff --git a/mindspore/ops/_op_impl/aicpu/meshgrid.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/meshgrid.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/meshgrid.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/meshgrid.py diff --git a/mindspore/ops/_op_impl/aicpu/mirror_pad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/mirror_pad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/mirror_pad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/mirror_pad.py diff --git a/mindspore/ops/_op_impl/aicpu/mirror_pad_grad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/mirror_pad_grad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/mirror_pad_grad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/mirror_pad_grad.py diff --git a/mindspore/ops/_op_impl/aicpu/no_repeat_ngram.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/no_repeat_ngram.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/no_repeat_ngram.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/no_repeat_ngram.py diff --git a/mindspore/ops/_op_impl/aicpu/pad_and_shift.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/pad_and_shift.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/pad_and_shift.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/pad_and_shift.py diff --git a/mindspore/ops/_op_impl/aicpu/padding.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/padding.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/padding.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/padding.py diff --git a/mindspore/ops/_op_impl/aicpu/poisson.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/poisson.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/poisson.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/poisson.py diff --git a/mindspore/ops/_op_impl/aicpu/print_tensor.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/print_tensor.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/print_tensor.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/print_tensor.py diff --git a/mindspore/ops/_op_impl/aicpu/random_categorical.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/random_categorical.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/random_categorical.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/random_categorical.py diff --git a/mindspore/ops/_op_impl/aicpu/random_choice_with_mask.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/random_choice_with_mask.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/random_choice_with_mask.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/random_choice_with_mask.py diff --git a/mindspore/ops/_op_impl/aicpu/randperm.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/randperm.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/randperm.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/randperm.py diff --git a/mindspore/ops/_op_impl/aicpu/reshape.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/reshape.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/reshape.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/reshape.py diff --git a/mindspore/ops/_op_impl/aicpu/resize_bilinear.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/resize_bilinear.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/resize_bilinear.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/resize_bilinear.py diff --git a/mindspore/ops/_op_impl/aicpu/resize_bilinear_grad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/resize_bilinear_grad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/resize_bilinear_grad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/resize_bilinear_grad.py diff --git a/mindspore/ops/_op_impl/aicpu/reverse_sequence.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/reverse_sequence.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/reverse_sequence.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/reverse_sequence.py diff --git a/mindspore/ops/_op_impl/aicpu/rnnt_loss.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/rnnt_loss.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/rnnt_loss.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/rnnt_loss.py diff --git a/mindspore/ops/_op_impl/aicpu/scatter.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/scatter.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/scatter.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/scatter.py diff --git a/mindspore/ops/_op_impl/aicpu/scatter_elements.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/scatter_elements.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/scatter_elements.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/scatter_elements.py diff --git a/mindspore/ops/_op_impl/aicpu/search_sorted.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/search_sorted.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/search_sorted.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/search_sorted.py diff --git a/mindspore/ops/_op_impl/aicpu/squeeze.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/squeeze.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/squeeze.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/squeeze.py diff --git a/mindspore/ops/_op_impl/aicpu/stack.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/stack.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/stack.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/stack.py diff --git a/mindspore/ops/_op_impl/aicpu/stack_push_pop.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/stack_push_pop.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/stack_push_pop.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/stack_push_pop.py diff --git a/mindspore/ops/_op_impl/aicpu/standard_laplace.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/standard_laplace.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/standard_laplace.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/standard_laplace.py diff --git a/mindspore/ops/_op_impl/aicpu/standard_normal.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/standard_normal.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/standard_normal.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/standard_normal.py diff --git a/mindspore/ops/_op_impl/aicpu/strided_slice.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/strided_slice.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/strided_slice.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/strided_slice.py diff --git a/mindspore/ops/_op_impl/aicpu/strided_slice_grad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/strided_slice_grad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/strided_slice_grad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/strided_slice_grad.py diff --git a/mindspore/ops/_op_impl/aicpu/sub_and_filter.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/sub_and_filter.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/sub_and_filter.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/sub_and_filter.py diff --git a/mindspore/ops/_op_impl/aicpu/topk.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/topk.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/topk.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/topk.py diff --git a/mindspore/ops/_op_impl/aicpu/trans_data.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/trans_data.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/trans_data.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/trans_data.py diff --git a/mindspore/ops/_op_impl/aicpu/uniform_candidate_sampler.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_candidate_sampler.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/uniform_candidate_sampler.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_candidate_sampler.py diff --git a/mindspore/ops/_op_impl/aicpu/uniform_int.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_int.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/uniform_int.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_int.py diff --git a/mindspore/ops/_op_impl/aicpu/uniform_real.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_real.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/uniform_real.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/uniform_real.py diff --git a/mindspore/ops/_op_impl/aicpu/unique.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/unique.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/unique.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/unique.py diff --git a/mindspore/ops/_op_impl/aicpu/unique_with_pad.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/unique_with_pad.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/unique_with_pad.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/unique_with_pad.py diff --git a/mindspore/ops/_op_impl/aicpu/update_cache.py b/mindspore/python/mindspore/ops/_op_impl/aicpu/update_cache.py similarity index 100% rename from mindspore/ops/_op_impl/aicpu/update_cache.py rename to mindspore/python/mindspore/ops/_op_impl/aicpu/update_cache.py diff --git a/mindspore/ops/_op_impl/akg/__init__.py b/mindspore/python/mindspore/ops/_op_impl/akg/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/akg/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/akg/__init__.py diff --git a/mindspore/ops/_op_impl/akg/ascend/__init__.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/__init__.py diff --git a/mindspore/ops/_op_impl/akg/ascend/abs.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/abs.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/abs.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/abs.py diff --git a/mindspore/ops/_op_impl/akg/ascend/add.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/add.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/add.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/add.py diff --git a/mindspore/ops/_op_impl/akg/ascend/add_n.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/add_n.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/add_n.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/add_n.py diff --git a/mindspore/ops/_op_impl/akg/ascend/batchmatmul.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/batchmatmul.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/batchmatmul.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/batchmatmul.py diff --git a/mindspore/ops/_op_impl/akg/ascend/cast.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/cast.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/cast.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/cast.py diff --git a/mindspore/ops/_op_impl/akg/ascend/equal.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/equal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/equal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/equal.py diff --git a/mindspore/ops/_op_impl/akg/ascend/exp.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/exp.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/exp.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/exp.py diff --git a/mindspore/ops/_op_impl/akg/ascend/expand_dims.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/expand_dims.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/expand_dims.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/expand_dims.py diff --git a/mindspore/ops/_op_impl/akg/ascend/greater.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/greater.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/greater.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/greater.py diff --git a/mindspore/ops/_op_impl/akg/ascend/greater_equal.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/greater_equal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/greater_equal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/greater_equal.py diff --git a/mindspore/ops/_op_impl/akg/ascend/less.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/less.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/less.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/less.py diff --git a/mindspore/ops/_op_impl/akg/ascend/less_equal.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/less_equal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/less_equal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/less_equal.py diff --git a/mindspore/ops/_op_impl/akg/ascend/load_im2col.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/load_im2col.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/load_im2col.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/load_im2col.py diff --git a/mindspore/ops/_op_impl/akg/ascend/log.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/log.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/log.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/log.py diff --git a/mindspore/ops/_op_impl/akg/ascend/maximum.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/maximum.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/maximum.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/maximum.py diff --git a/mindspore/ops/_op_impl/akg/ascend/minimum.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/minimum.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/minimum.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/minimum.py diff --git a/mindspore/ops/_op_impl/akg/ascend/mul.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/mul.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/mul.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/mul.py diff --git a/mindspore/ops/_op_impl/akg/ascend/neg.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/neg.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/neg.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/neg.py diff --git a/mindspore/ops/_op_impl/akg/ascend/pow.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/pow.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/pow.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/pow.py diff --git a/mindspore/ops/_op_impl/akg/ascend/prod_force_se_a.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/prod_force_se_a.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/prod_force_se_a.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/prod_force_se_a.py diff --git a/mindspore/ops/_op_impl/akg/ascend/real_div.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/real_div.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/real_div.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/real_div.py diff --git a/mindspore/ops/_op_impl/akg/ascend/reciprocal.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/reciprocal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/reciprocal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/reciprocal.py diff --git a/mindspore/ops/_op_impl/akg/ascend/reduce_max.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_max.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/reduce_max.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_max.py diff --git a/mindspore/ops/_op_impl/akg/ascend/reduce_min.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_min.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/reduce_min.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_min.py diff --git a/mindspore/ops/_op_impl/akg/ascend/reduce_sum.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_sum.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/reduce_sum.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/reduce_sum.py diff --git a/mindspore/ops/_op_impl/akg/ascend/rsqrt.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/rsqrt.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/rsqrt.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/rsqrt.py diff --git a/mindspore/ops/_op_impl/akg/ascend/select.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/select.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/select.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/select.py diff --git a/mindspore/ops/_op_impl/akg/ascend/sqrt.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/sqrt.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/sqrt.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/sqrt.py diff --git a/mindspore/ops/_op_impl/akg/ascend/square.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/square.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/square.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/square.py diff --git a/mindspore/ops/_op_impl/akg/ascend/sub.py b/mindspore/python/mindspore/ops/_op_impl/akg/ascend/sub.py similarity index 100% rename from mindspore/ops/_op_impl/akg/ascend/sub.py rename to mindspore/python/mindspore/ops/_op_impl/akg/ascend/sub.py diff --git a/mindspore/ops/_op_impl/akg/gpu/__init__.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/__init__.py diff --git a/mindspore/ops/_op_impl/akg/gpu/csr_mul.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_mul.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/csr_mul.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_mul.py diff --git a/mindspore/ops/_op_impl/akg/gpu/csr_mv.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_mv.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/csr_mv.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_mv.py diff --git a/mindspore/ops/_op_impl/akg/gpu/csr_reduce_sum.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_reduce_sum.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/csr_reduce_sum.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/csr_reduce_sum.py diff --git a/mindspore/ops/_op_impl/akg/gpu/equal.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/equal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/equal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/equal.py diff --git a/mindspore/ops/_op_impl/akg/gpu/greater_equal.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/greater_equal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/greater_equal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/greater_equal.py diff --git a/mindspore/ops/_op_impl/akg/gpu/lessequal.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/lessequal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/lessequal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/lessequal.py diff --git a/mindspore/ops/_op_impl/akg/gpu/logical_and.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_and.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/logical_and.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_and.py diff --git a/mindspore/ops/_op_impl/akg/gpu/logical_not.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_not.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/logical_not.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_not.py diff --git a/mindspore/ops/_op_impl/akg/gpu/logical_or.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_or.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/logical_or.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/logical_or.py diff --git a/mindspore/ops/_op_impl/akg/gpu/mean.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/mean.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/mean.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/mean.py diff --git a/mindspore/ops/_op_impl/akg/gpu/mean_grad.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/mean_grad.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/mean_grad.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/mean_grad.py diff --git a/mindspore/ops/_op_impl/akg/gpu/notequal.py b/mindspore/python/mindspore/ops/_op_impl/akg/gpu/notequal.py similarity index 100% rename from mindspore/ops/_op_impl/akg/gpu/notequal.py rename to mindspore/python/mindspore/ops/_op_impl/akg/gpu/notequal.py diff --git a/mindspore/ops/_op_impl/cpu/__init__.py b/mindspore/python/mindspore/ops/_op_impl/cpu/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/__init__.py diff --git a/mindspore/ops/_op_impl/cpu/adam.py b/mindspore/python/mindspore/ops/_op_impl/cpu/adam.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/adam.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/adam.py diff --git a/mindspore/ops/_op_impl/cpu/adam_weight_decay.py b/mindspore/python/mindspore/ops/_op_impl/cpu/adam_weight_decay.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/adam_weight_decay.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/adam_weight_decay.py diff --git a/mindspore/ops/_op_impl/cpu/arg_max.py b/mindspore/python/mindspore/ops/_op_impl/cpu/arg_max.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/arg_max.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/arg_max.py diff --git a/mindspore/ops/_op_impl/cpu/arg_max_with_value.py b/mindspore/python/mindspore/ops/_op_impl/cpu/arg_max_with_value.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/arg_max_with_value.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/arg_max_with_value.py diff --git a/mindspore/ops/_op_impl/cpu/arg_min_with_value.py b/mindspore/python/mindspore/ops/_op_impl/cpu/arg_min_with_value.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/arg_min_with_value.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/arg_min_with_value.py diff --git a/mindspore/ops/_op_impl/cpu/bias_add.py b/mindspore/python/mindspore/ops/_op_impl/cpu/bias_add.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/bias_add.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/bias_add.py diff --git a/mindspore/ops/_op_impl/cpu/bias_add_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/bias_add_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/bias_add_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/bias_add_grad.py diff --git a/mindspore/ops/_op_impl/cpu/buffer_append.py b/mindspore/python/mindspore/ops/_op_impl/cpu/buffer_append.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/buffer_append.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/buffer_append.py diff --git a/mindspore/ops/_op_impl/cpu/buffer_get.py b/mindspore/python/mindspore/ops/_op_impl/cpu/buffer_get.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/buffer_get.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/buffer_get.py diff --git a/mindspore/ops/_op_impl/cpu/buffer_sample.py b/mindspore/python/mindspore/ops/_op_impl/cpu/buffer_sample.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/buffer_sample.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/buffer_sample.py diff --git a/mindspore/ops/_op_impl/cpu/cast.py b/mindspore/python/mindspore/ops/_op_impl/cpu/cast.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/cast.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/cast.py diff --git a/mindspore/ops/_op_impl/cpu/concat.py b/mindspore/python/mindspore/ops/_op_impl/cpu/concat.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/concat.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/concat.py diff --git a/mindspore/ops/_op_impl/cpu/concat_offset.py b/mindspore/python/mindspore/ops/_op_impl/cpu/concat_offset.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/concat_offset.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/concat_offset.py diff --git a/mindspore/ops/_op_impl/cpu/conv2d.py b/mindspore/python/mindspore/ops/_op_impl/cpu/conv2d.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/conv2d.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/conv2d.py diff --git a/mindspore/ops/_op_impl/cpu/conv3d.py b/mindspore/python/mindspore/ops/_op_impl/cpu/conv3d.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/conv3d.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/conv3d.py diff --git a/mindspore/ops/_op_impl/cpu/div.py b/mindspore/python/mindspore/ops/_op_impl/cpu/div.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/div.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/div.py diff --git a/mindspore/ops/_op_impl/cpu/dropout.py b/mindspore/python/mindspore/ops/_op_impl/cpu/dropout.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/dropout.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/dropout.py diff --git a/mindspore/ops/_op_impl/cpu/dropout_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/dropout_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/dropout_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/dropout_grad.py diff --git a/mindspore/ops/_op_impl/cpu/dynamic_shape.py b/mindspore/python/mindspore/ops/_op_impl/cpu/dynamic_shape.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/dynamic_shape.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/dynamic_shape.py diff --git a/mindspore/ops/_op_impl/cpu/dynamic_stitch.py b/mindspore/python/mindspore/ops/_op_impl/cpu/dynamic_stitch.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/dynamic_stitch.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/dynamic_stitch.py diff --git a/mindspore/ops/_op_impl/cpu/equal_count.py b/mindspore/python/mindspore/ops/_op_impl/cpu/equal_count.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/equal_count.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/equal_count.py diff --git a/mindspore/ops/_op_impl/cpu/gather_d.py b/mindspore/python/mindspore/ops/_op_impl/cpu/gather_d.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/gather_d.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/gather_d.py diff --git a/mindspore/ops/_op_impl/cpu/gather_d_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/gather_d_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/gather_d_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/gather_d_grad.py diff --git a/mindspore/ops/_op_impl/cpu/gather_nd.py b/mindspore/python/mindspore/ops/_op_impl/cpu/gather_nd.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/gather_nd.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/gather_nd.py diff --git a/mindspore/ops/_op_impl/cpu/gather_v2.py b/mindspore/python/mindspore/ops/_op_impl/cpu/gather_v2.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/gather_v2.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/gather_v2.py diff --git a/mindspore/ops/_op_impl/cpu/hsigmoid.py b/mindspore/python/mindspore/ops/_op_impl/cpu/hsigmoid.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/hsigmoid.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/hsigmoid.py diff --git a/mindspore/ops/_op_impl/cpu/hsigmoid_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/hsigmoid_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/hsigmoid_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/hsigmoid_grad.py diff --git a/mindspore/ops/_op_impl/cpu/hswish.py b/mindspore/python/mindspore/ops/_op_impl/cpu/hswish.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/hswish.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/hswish.py diff --git a/mindspore/ops/_op_impl/cpu/hswish_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/hswish_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/hswish_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/hswish_grad.py diff --git a/mindspore/ops/_op_impl/cpu/is_finite.py b/mindspore/python/mindspore/ops/_op_impl/cpu/is_finite.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/is_finite.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/is_finite.py diff --git a/mindspore/ops/_op_impl/cpu/l2loss.py b/mindspore/python/mindspore/ops/_op_impl/cpu/l2loss.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/l2loss.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/l2loss.py diff --git a/mindspore/ops/_op_impl/cpu/layer_norm.py b/mindspore/python/mindspore/ops/_op_impl/cpu/layer_norm.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/layer_norm.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/layer_norm.py diff --git a/mindspore/ops/_op_impl/cpu/layer_norm_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/layer_norm_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/layer_norm_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/layer_norm_grad.py diff --git a/mindspore/ops/_op_impl/cpu/maximum.py b/mindspore/python/mindspore/ops/_op_impl/cpu/maximum.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/maximum.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/maximum.py diff --git a/mindspore/ops/_op_impl/cpu/maximum_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/maximum_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/maximum_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/maximum_grad.py diff --git a/mindspore/ops/_op_impl/cpu/minimum.py b/mindspore/python/mindspore/ops/_op_impl/cpu/minimum.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/minimum.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/minimum.py diff --git a/mindspore/ops/_op_impl/cpu/minimum_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/minimum_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/minimum_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/minimum_grad.py diff --git a/mindspore/ops/_op_impl/cpu/mirror_pad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/mirror_pad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/mirror_pad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/mirror_pad.py diff --git a/mindspore/ops/_op_impl/cpu/mirror_pad_grad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/mirror_pad_grad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/mirror_pad_grad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/mirror_pad_grad.py diff --git a/mindspore/ops/_op_impl/cpu/mul.py b/mindspore/python/mindspore/ops/_op_impl/cpu/mul.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/mul.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/mul.py diff --git a/mindspore/ops/_op_impl/cpu/one_hot.py b/mindspore/python/mindspore/ops/_op_impl/cpu/one_hot.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/one_hot.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/one_hot.py diff --git a/mindspore/ops/_op_impl/cpu/pad.py b/mindspore/python/mindspore/ops/_op_impl/cpu/pad.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/pad.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/pad.py diff --git a/mindspore/ops/_op_impl/cpu/pow.py b/mindspore/python/mindspore/ops/_op_impl/cpu/pow.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/pow.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/pow.py diff --git a/mindspore/ops/_op_impl/cpu/pyfunc.py b/mindspore/python/mindspore/ops/_op_impl/cpu/pyfunc.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/pyfunc.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/pyfunc.py diff --git a/mindspore/ops/_op_impl/cpu/range.py b/mindspore/python/mindspore/ops/_op_impl/cpu/range.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/range.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/range.py diff --git a/mindspore/ops/_op_impl/cpu/real_div.py b/mindspore/python/mindspore/ops/_op_impl/cpu/real_div.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/real_div.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/real_div.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_all.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_all.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_all.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_all.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_any.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_any.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_any.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_any.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_max.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_max.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_max.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_max.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_mean.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_mean.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_mean.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_mean.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_min.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_min.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_min.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_min.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_prod.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_prod.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_prod.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_prod.py diff --git a/mindspore/ops/_op_impl/cpu/reduce_sum.py b/mindspore/python/mindspore/ops/_op_impl/cpu/reduce_sum.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/reduce_sum.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/reduce_sum.py diff --git a/mindspore/ops/_op_impl/cpu/split.py b/mindspore/python/mindspore/ops/_op_impl/cpu/split.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/split.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/split.py diff --git a/mindspore/ops/_op_impl/cpu/stack.py b/mindspore/python/mindspore/ops/_op_impl/cpu/stack.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/stack.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/stack.py diff --git a/mindspore/ops/_op_impl/cpu/sub.py b/mindspore/python/mindspore/ops/_op_impl/cpu/sub.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/sub.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/sub.py diff --git a/mindspore/ops/_op_impl/cpu/tensor_copy_slices.py b/mindspore/python/mindspore/ops/_op_impl/cpu/tensor_copy_slices.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/tensor_copy_slices.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/tensor_copy_slices.py diff --git a/mindspore/ops/_op_impl/cpu/tile.py b/mindspore/python/mindspore/ops/_op_impl/cpu/tile.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/tile.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/tile.py diff --git a/mindspore/ops/_op_impl/cpu/top_k.py b/mindspore/python/mindspore/ops/_op_impl/cpu/top_k.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/top_k.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/top_k.py diff --git a/mindspore/ops/_op_impl/cpu/transpose.py b/mindspore/python/mindspore/ops/_op_impl/cpu/transpose.py similarity index 100% rename from mindspore/ops/_op_impl/cpu/transpose.py rename to mindspore/python/mindspore/ops/_op_impl/cpu/transpose.py diff --git a/mindspore/ops/_op_impl/tbe/__init__.py b/mindspore/python/mindspore/ops/_op_impl/tbe/__init__.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/__init__.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/__init__.py diff --git a/mindspore/ops/_op_impl/tbe/abs.py b/mindspore/python/mindspore/ops/_op_impl/tbe/abs.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/abs.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/abs.py diff --git a/mindspore/ops/_op_impl/tbe/abs_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/abs_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/abs_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/abs_ds.py diff --git a/mindspore/ops/_op_impl/tbe/abs_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/abs_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/abs_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/abs_grad.py diff --git a/mindspore/ops/_op_impl/tbe/abs_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/abs_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/abs_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/abs_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/accumulate_n_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/accumulate_n_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2.py diff --git a/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/accumulate_n_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/acos.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acos.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acos.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acos.py diff --git a/mindspore/ops/_op_impl/tbe/acos_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acos_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acos_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acos_ds.py diff --git a/mindspore/ops/_op_impl/tbe/acos_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acos_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acos_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acos_grad.py diff --git a/mindspore/ops/_op_impl/tbe/acos_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acos_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acos_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acos_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/acosh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acosh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acosh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acosh.py diff --git a/mindspore/ops/_op_impl/tbe/acosh_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acosh_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acosh_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acosh_ds.py diff --git a/mindspore/ops/_op_impl/tbe/acosh_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acosh_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acosh_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acosh_grad.py diff --git a/mindspore/ops/_op_impl/tbe/acosh_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acosh_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acosh_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acosh_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/act_ulq_clamp_max_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/act_ulq_clamp_max_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/act_ulq_clamp_max_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/act_ulq_clamp_max_grad.py diff --git a/mindspore/ops/_op_impl/tbe/act_ulq_clamp_min_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/act_ulq_clamp_min_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/act_ulq_clamp_min_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/act_ulq_clamp_min_grad.py diff --git a/mindspore/ops/_op_impl/tbe/acts_ulq.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acts_ulq.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acts_ulq.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acts_ulq.py diff --git a/mindspore/ops/_op_impl/tbe/acts_ulq_input_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/acts_ulq_input_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/acts_ulq_input_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/acts_ulq_input_grad.py diff --git a/mindspore/ops/_op_impl/tbe/adam_apply_one.py b/mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/adam_apply_one.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one.py diff --git a/mindspore/ops/_op_impl/tbe/adam_apply_one_assign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_assign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/adam_apply_one_assign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_assign.py diff --git a/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay.py b/mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay.py diff --git a/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay_assign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay_assign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay_assign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/adam_apply_one_with_decay_assign.py diff --git a/mindspore/ops/_op_impl/tbe/add_n.py b/mindspore/python/mindspore/ops/_op_impl/tbe/add_n.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/add_n.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/add_n.py diff --git a/mindspore/ops/_op_impl/tbe/add_n_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/add_n_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/add_n_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/add_n_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_ada_max.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_ada_max.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_ada_max.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_ada_max.py diff --git a/mindspore/ops/_op_impl/tbe/apply_ada_max_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_ada_max_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_ada_max_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_ada_max_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adadelta.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adadelta.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adadelta.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adadelta.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adadelta_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adadelta_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adadelta_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adadelta_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adagrad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adagrad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adagrad_d_a.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_d_a.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adagrad_d_a.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_d_a.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adagrad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adagrad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adagrad_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adagrad_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_v2.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adagrad_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adagrad_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adagrad_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adam.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adam.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adam.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adam.py diff --git a/mindspore/ops/_op_impl/tbe/apply_adam_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_adam_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_adam_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_adam_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_add_sign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_add_sign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_add_sign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_add_sign.py diff --git a/mindspore/ops/_op_impl/tbe/apply_add_sign_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_add_sign_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_add_sign_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_add_sign_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_centered_rms_prop.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop.py diff --git a/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_centered_rms_prop_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_centered_rms_prop_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_ftrl.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_ftrl.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_ftrl.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_ftrl.py diff --git a/mindspore/ops/_op_impl/tbe/apply_gradient_descent.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_gradient_descent.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_gradient_descent.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_gradient_descent.py diff --git a/mindspore/ops/_op_impl/tbe/apply_gradient_descent_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_gradient_descent_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_gradient_descent_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_gradient_descent_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_keras_momentum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_keras_momentum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_keras_momentum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_keras_momentum.py diff --git a/mindspore/ops/_op_impl/tbe/apply_momentum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_momentum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_momentum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_momentum.py diff --git a/mindspore/ops/_op_impl/tbe/apply_momentum_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_momentum_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_momentum_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_momentum_ds.py diff --git a/mindspore/ops/_op_impl/tbe/apply_power_sign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_power_sign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_power_sign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_power_sign.py diff --git a/mindspore/ops/_op_impl/tbe/apply_proximal_adagrad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_proximal_adagrad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_proximal_adagrad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_proximal_adagrad.py diff --git a/mindspore/ops/_op_impl/tbe/apply_proximal_gradient_descent.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_proximal_gradient_descent.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_proximal_gradient_descent.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_proximal_gradient_descent.py diff --git a/mindspore/ops/_op_impl/tbe/apply_rms_prop.py b/mindspore/python/mindspore/ops/_op_impl/tbe/apply_rms_prop.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/apply_rms_prop.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/apply_rms_prop.py diff --git a/mindspore/ops/_op_impl/tbe/approximate_equal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/approximate_equal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/approximate_equal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/approximate_equal.py diff --git a/mindspore/ops/_op_impl/tbe/arg_max.py b/mindspore/python/mindspore/ops/_op_impl/tbe/arg_max.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/arg_max.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/arg_max.py diff --git a/mindspore/ops/_op_impl/tbe/arg_max_with_value.py b/mindspore/python/mindspore/ops/_op_impl/tbe/arg_max_with_value.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/arg_max_with_value.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/arg_max_with_value.py diff --git a/mindspore/ops/_op_impl/tbe/arg_min.py b/mindspore/python/mindspore/ops/_op_impl/tbe/arg_min.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/arg_min.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/arg_min.py diff --git a/mindspore/ops/_op_impl/tbe/arg_min_with_value.py b/mindspore/python/mindspore/ops/_op_impl/tbe/arg_min_with_value.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/arg_min_with_value.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/arg_min_with_value.py diff --git a/mindspore/ops/_op_impl/tbe/asin.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asin.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asin.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asin.py diff --git a/mindspore/ops/_op_impl/tbe/asin_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asin_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asin_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asin_ds.py diff --git a/mindspore/ops/_op_impl/tbe/asin_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asin_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asin_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asin_grad.py diff --git a/mindspore/ops/_op_impl/tbe/asin_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asin_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asin_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asin_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/asinh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asinh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asinh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asinh.py diff --git a/mindspore/ops/_op_impl/tbe/asinh_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/asinh_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/asinh_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/asinh_grad.py diff --git a/mindspore/ops/_op_impl/tbe/assign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign.py diff --git a/mindspore/ops/_op_impl/tbe/assign_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign_add.py diff --git a/mindspore/ops/_op_impl/tbe/assign_add_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign_add_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign_add_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign_add_ds.py diff --git a/mindspore/ops/_op_impl/tbe/assign_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign_ds.py diff --git a/mindspore/ops/_op_impl/tbe/assign_sub.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign_sub.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign_sub.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign_sub.py diff --git a/mindspore/ops/_op_impl/tbe/assign_sub_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/assign_sub_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/assign_sub_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/assign_sub_ds.py diff --git a/mindspore/ops/_op_impl/tbe/atan.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atan.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atan.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atan.py diff --git a/mindspore/ops/_op_impl/tbe/atan2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atan2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atan2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atan2.py diff --git a/mindspore/ops/_op_impl/tbe/atan_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atan_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atan_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atan_ds.py diff --git a/mindspore/ops/_op_impl/tbe/atan_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atan_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atan_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atan_grad.py diff --git a/mindspore/ops/_op_impl/tbe/atan_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atan_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atan_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atan_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/atanh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atanh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atanh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atanh.py diff --git a/mindspore/ops/_op_impl/tbe/atanh_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atanh_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atanh_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atanh_ds.py diff --git a/mindspore/ops/_op_impl/tbe/atomic_addr_clean.py b/mindspore/python/mindspore/ops/_op_impl/tbe/atomic_addr_clean.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/atomic_addr_clean.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/atomic_addr_clean.py diff --git a/mindspore/ops/_op_impl/tbe/avg_pool.py b/mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/avg_pool.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool.py diff --git a/mindspore/ops/_op_impl/tbe/avg_pool_3d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_3d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/avg_pool_3d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_3d.py diff --git a/mindspore/ops/_op_impl/tbe/avg_pool_3d_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_3d_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/avg_pool_3d_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_3d_grad.py diff --git a/mindspore/ops/_op_impl/tbe/avg_pool_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/avg_pool_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_grad.py diff --git a/mindspore/ops/_op_impl/tbe/avg_pool_grad_vm.py b/mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_grad_vm.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/avg_pool_grad_vm.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/avg_pool_grad_vm.py diff --git a/mindspore/ops/_op_impl/tbe/basic_lstm_cell.py b/mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/basic_lstm_cell.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell.py diff --git a/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad.py diff --git a/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_c_state_grad_v2.py diff --git a/mindspore/ops/_op_impl/tbe/basic_lstm_cell_input_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_input_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/basic_lstm_cell_input_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_input_grad.py diff --git a/mindspore/ops/_op_impl/tbe/basic_lstm_cell_weight_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_weight_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/basic_lstm_cell_weight_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/basic_lstm_cell_weight_grad.py diff --git a/mindspore/ops/_op_impl/tbe/batch_matmul.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_matmul.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul.py diff --git a/mindspore/ops/_op_impl/tbe/batch_matmul_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_matmul_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul_ds.py diff --git a/mindspore/ops/_op_impl/tbe/batch_matmul_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_matmul_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_matmul_v2.py diff --git a/mindspore/ops/_op_impl/tbe/batch_to_space.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_to_space.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space.py diff --git a/mindspore/ops/_op_impl/tbe/batch_to_space_nd.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space_nd.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_to_space_nd.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space_nd.py diff --git a/mindspore/ops/_op_impl/tbe/batch_to_space_nd_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space_nd_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batch_to_space_nd_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batch_to_space_nd_ds.py diff --git a/mindspore/ops/_op_impl/tbe/batchnorm.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batchnorm.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batchnorm.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batchnorm.py diff --git a/mindspore/ops/_op_impl/tbe/batchnorm_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/batchnorm_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/batchnorm_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/batchnorm_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bce_with_logits_loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bce_with_logits_loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bce_with_logits_loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bce_with_logits_loss.py diff --git a/mindspore/ops/_op_impl/tbe/bessel_i0e.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i0e.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bessel_i0e.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i0e.py diff --git a/mindspore/ops/_op_impl/tbe/bessel_i0e_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i0e_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bessel_i0e_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i0e_ds.py diff --git a/mindspore/ops/_op_impl/tbe/bessel_i1e.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i1e.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bessel_i1e.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i1e.py diff --git a/mindspore/ops/_op_impl/tbe/bessel_i1e_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i1e_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bessel_i1e_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bessel_i1e_ds.py diff --git a/mindspore/ops/_op_impl/tbe/bias_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bias_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bias_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bias_add.py diff --git a/mindspore/ops/_op_impl/tbe/bias_add_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bias_add_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_ds.py diff --git a/mindspore/ops/_op_impl/tbe/bias_add_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bias_add_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bias_add_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bias_add_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bias_add_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/binary_cross_entropy.py b/mindspore/python/mindspore/ops/_op_impl/tbe/binary_cross_entropy.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/binary_cross_entropy.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/binary_cross_entropy.py diff --git a/mindspore/ops/_op_impl/tbe/binary_cross_entropy_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/binary_cross_entropy_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/binary_cross_entropy_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/binary_cross_entropy_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bitwise_and.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_and.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bitwise_and.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_and.py diff --git a/mindspore/ops/_op_impl/tbe/bitwise_or.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_or.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bitwise_or.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_or.py diff --git a/mindspore/ops/_op_impl/tbe/bitwise_xor.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_xor.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bitwise_xor.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bitwise_xor.py diff --git a/mindspore/ops/_op_impl/tbe/bn_infer.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_infer.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_infer.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_infer.py diff --git a/mindspore/ops/_op_impl/tbe/bn_infer_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_infer_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_infer_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_infer_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bn_inference.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_inference.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_inference.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_inference.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_reduce.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_reduce.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_reduce.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_reduce.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_reduce_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_reduce_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_reduce_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_reduce_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_update_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_update_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_grad.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_update_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_update_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_v2.py diff --git a/mindspore/ops/_op_impl/tbe/bn_training_update_v3.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_v3.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bn_training_update_v3.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bn_training_update_v3.py diff --git a/mindspore/ops/_op_impl/tbe/bounding_box_decode.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bounding_box_decode.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bounding_box_decode.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bounding_box_decode.py diff --git a/mindspore/ops/_op_impl/tbe/bounding_box_encode.py b/mindspore/python/mindspore/ops/_op_impl/tbe/bounding_box_encode.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/bounding_box_encode.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/bounding_box_encode.py diff --git a/mindspore/ops/_op_impl/tbe/broadcast_to.py b/mindspore/python/mindspore/ops/_op_impl/tbe/broadcast_to.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/broadcast_to.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/broadcast_to.py diff --git a/mindspore/ops/_op_impl/tbe/broadcast_to_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/broadcast_to_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/broadcast_to_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/broadcast_to_ds.py diff --git a/mindspore/ops/_op_impl/tbe/cast.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cast.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cast.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cast.py diff --git a/mindspore/ops/_op_impl/tbe/cast_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cast_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cast_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cast_ds.py diff --git a/mindspore/ops/_op_impl/tbe/cdist.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cdist.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cdist.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cdist.py diff --git a/mindspore/ops/_op_impl/tbe/cdist_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cdist_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cdist_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cdist_grad.py diff --git a/mindspore/ops/_op_impl/tbe/ceil.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ceil.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ceil.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ceil.py diff --git a/mindspore/ops/_op_impl/tbe/ceil_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ceil_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ceil_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ceil_ds.py diff --git a/mindspore/ops/_op_impl/tbe/celu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/celu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/celu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/celu.py diff --git a/mindspore/ops/_op_impl/tbe/centralization.py b/mindspore/python/mindspore/ops/_op_impl/tbe/centralization.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/centralization.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/centralization.py diff --git a/mindspore/ops/_op_impl/tbe/check_valid.py b/mindspore/python/mindspore/ops/_op_impl/tbe/check_valid.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/check_valid.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/check_valid.py diff --git a/mindspore/ops/_op_impl/tbe/clip_by_norm_no_div_sum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/clip_by_norm_no_div_sum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/clip_by_norm_no_div_sum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/clip_by_norm_no_div_sum.py diff --git a/mindspore/ops/_op_impl/tbe/clip_by_value.py b/mindspore/python/mindspore/ops/_op_impl/tbe/clip_by_value.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/clip_by_value.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/clip_by_value.py diff --git a/mindspore/ops/_op_impl/tbe/concat.py b/mindspore/python/mindspore/ops/_op_impl/tbe/concat.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/concat.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/concat.py diff --git a/mindspore/ops/_op_impl/tbe/concat_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/concat_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/concat_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/concat_ds.py diff --git a/mindspore/ops/_op_impl/tbe/confusion_matrix.py b/mindspore/python/mindspore/ops/_op_impl/tbe/confusion_matrix.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/confusion_matrix.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/confusion_matrix.py diff --git a/mindspore/ops/_op_impl/tbe/confusion_mul_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/confusion_mul_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/confusion_mul_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/confusion_mul_grad.py diff --git a/mindspore/ops/_op_impl/tbe/confusion_softmax_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/confusion_softmax_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/confusion_softmax_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/confusion_softmax_grad.py diff --git a/mindspore/ops/_op_impl/tbe/confusion_transpose_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/confusion_transpose_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/confusion_transpose_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/confusion_transpose_d.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d_backprop_filter.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d_backprop_filter_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_filter_ds.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d_backprop_input.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_input.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d_backprop_input.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_input.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d_backprop_input_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_input_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d_backprop_input_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_backprop_input_ds.py diff --git a/mindspore/ops/_op_impl/tbe/conv2d_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv2d_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv2d_ds.py diff --git a/mindspore/ops/_op_impl/tbe/conv3d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv3d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv3d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv3d.py diff --git a/mindspore/ops/_op_impl/tbe/conv3d_backprop_filter.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_backprop_filter.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv3d_backprop_filter.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_backprop_filter.py diff --git a/mindspore/ops/_op_impl/tbe/conv3d_backprop_input.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_backprop_input.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv3d_backprop_input.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_backprop_input.py diff --git a/mindspore/ops/_op_impl/tbe/conv3d_transpose.py b/mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_transpose.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/conv3d_transpose.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/conv3d_transpose.py diff --git a/mindspore/ops/_op_impl/tbe/cos.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cos.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cos.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cos.py diff --git a/mindspore/ops/_op_impl/tbe/cos_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cos_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cos_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cos_ds.py diff --git a/mindspore/ops/_op_impl/tbe/cosh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cosh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cosh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cosh.py diff --git a/mindspore/ops/_op_impl/tbe/ctc_loss_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ctc_loss_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ctc_loss_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ctc_loss_v2.py diff --git a/mindspore/ops/_op_impl/tbe/ctc_loss_v2_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ctc_loss_v2_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ctc_loss_v2_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ctc_loss_v2_grad.py diff --git a/mindspore/ops/_op_impl/tbe/cum_sum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cum_sum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cum_sum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cum_sum.py diff --git a/mindspore/ops/_op_impl/tbe/cummin.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cummin.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cummin.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cummin.py diff --git a/mindspore/ops/_op_impl/tbe/cumprod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/cumprod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/cumprod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/cumprod.py diff --git a/mindspore/ops/_op_impl/tbe/data_format_dim_map.py b/mindspore/python/mindspore/ops/_op_impl/tbe/data_format_dim_map.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/data_format_dim_map.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/data_format_dim_map.py diff --git a/mindspore/ops/_op_impl/tbe/depth_to_space.py b/mindspore/python/mindspore/ops/_op_impl/tbe/depth_to_space.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/depth_to_space.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/depth_to_space.py diff --git a/mindspore/ops/_op_impl/tbe/depthwise_conv2d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/depthwise_conv2d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d.py diff --git a/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_filter.py b/mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_filter.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_filter.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_filter.py diff --git a/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_input.py b/mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_input.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_input.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/depthwise_conv2d_backprop_input.py diff --git a/mindspore/ops/_op_impl/tbe/diag.py b/mindspore/python/mindspore/ops/_op_impl/tbe/diag.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/diag.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/diag.py diff --git a/mindspore/ops/_op_impl/tbe/diag_part.py b/mindspore/python/mindspore/ops/_op_impl/tbe/diag_part.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/diag_part.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/diag_part.py diff --git a/mindspore/ops/_op_impl/tbe/div.py b/mindspore/python/mindspore/ops/_op_impl/tbe/div.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/div.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/div.py diff --git a/mindspore/ops/_op_impl/tbe/div_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/div_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/div_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/div_ds.py diff --git a/mindspore/ops/_op_impl/tbe/div_no_nan.py b/mindspore/python/mindspore/ops/_op_impl/tbe/div_no_nan.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/div_no_nan.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/div_no_nan.py diff --git a/mindspore/ops/_op_impl/tbe/dropout_do_mask.py b/mindspore/python/mindspore/ops/_op_impl/tbe/dropout_do_mask.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/dropout_do_mask.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/dropout_do_mask.py diff --git a/mindspore/ops/_op_impl/tbe/dropout_do_mask_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/dropout_do_mask_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/dropout_do_mask_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/dropout_do_mask_ds.py diff --git a/mindspore/ops/_op_impl/tbe/dynamic_gru_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/dynamic_gru_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/dynamic_gru_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/dynamic_gru_v2.py diff --git a/mindspore/ops/_op_impl/tbe/dynamic_rnn.py b/mindspore/python/mindspore/ops/_op_impl/tbe/dynamic_rnn.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/dynamic_rnn.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/dynamic_rnn.py diff --git a/mindspore/ops/_op_impl/tbe/elu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/elu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/elu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/elu.py diff --git a/mindspore/ops/_op_impl/tbe/elu_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/elu_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/elu_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/elu_grad.py diff --git a/mindspore/ops/_op_impl/tbe/equal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/equal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/equal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/equal.py diff --git a/mindspore/ops/_op_impl/tbe/equal_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/equal_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/equal_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/equal_ds.py diff --git a/mindspore/ops/_op_impl/tbe/erf.py b/mindspore/python/mindspore/ops/_op_impl/tbe/erf.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/erf.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/erf.py diff --git a/mindspore/ops/_op_impl/tbe/erf_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/erf_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/erf_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/erf_ds.py diff --git a/mindspore/ops/_op_impl/tbe/erfc.py b/mindspore/python/mindspore/ops/_op_impl/tbe/erfc.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/erfc.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/erfc.py diff --git a/mindspore/ops/_op_impl/tbe/erfc_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/erfc_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/erfc_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/erfc_ds.py diff --git a/mindspore/ops/_op_impl/tbe/erfinv.py b/mindspore/python/mindspore/ops/_op_impl/tbe/erfinv.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/erfinv.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/erfinv.py diff --git a/mindspore/ops/_op_impl/tbe/exp.py b/mindspore/python/mindspore/ops/_op_impl/tbe/exp.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/exp.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/exp.py diff --git a/mindspore/ops/_op_impl/tbe/exp_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/exp_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/exp_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/exp_ds.py diff --git a/mindspore/ops/_op_impl/tbe/expand_dims.py b/mindspore/python/mindspore/ops/_op_impl/tbe/expand_dims.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/expand_dims.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/expand_dims.py diff --git a/mindspore/ops/_op_impl/tbe/expm1.py b/mindspore/python/mindspore/ops/_op_impl/tbe/expm1.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/expm1.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/expm1.py diff --git a/mindspore/ops/_op_impl/tbe/extract_image_patches.py b/mindspore/python/mindspore/ops/_op_impl/tbe/extract_image_patches.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/extract_image_patches.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/extract_image_patches.py diff --git a/mindspore/ops/_op_impl/tbe/extract_volume_patches.py b/mindspore/python/mindspore/ops/_op_impl/tbe/extract_volume_patches.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/extract_volume_patches.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/extract_volume_patches.py diff --git a/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars.py diff --git a/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_gradient.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_gradient.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_gradient.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_gradient.py diff --git a/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel.py diff --git a/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel_gradient.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel_gradient.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel_gradient.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fake_quant_with_min_max_vars_per_channel_gradient.py diff --git a/mindspore/ops/_op_impl/tbe/fast_gelu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fast_gelu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu.py diff --git a/mindspore/ops/_op_impl/tbe/fast_gelu_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fast_gelu_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_ds.py diff --git a/mindspore/ops/_op_impl/tbe/fast_gelu_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fast_gelu_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_grad.py diff --git a/mindspore/ops/_op_impl/tbe/fast_gelu_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fast_gelu_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fast_gelu_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/fill.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fill.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fill.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fill.py diff --git a/mindspore/ops/_op_impl/tbe/fill_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fill_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fill_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fill_ds.py diff --git a/mindspore/ops/_op_impl/tbe/flatten.py b/mindspore/python/mindspore/ops/_op_impl/tbe/flatten.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/flatten.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/flatten.py diff --git a/mindspore/ops/_op_impl/tbe/flatten_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/flatten_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/flatten_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/flatten_ds.py diff --git a/mindspore/ops/_op_impl/tbe/floor.py b/mindspore/python/mindspore/ops/_op_impl/tbe/floor.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/floor.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/floor.py diff --git a/mindspore/ops/_op_impl/tbe/floor_div.py b/mindspore/python/mindspore/ops/_op_impl/tbe/floor_div.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/floor_div.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/floor_div.py diff --git a/mindspore/ops/_op_impl/tbe/floor_div_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/floor_div_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/floor_div_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/floor_div_ds.py diff --git a/mindspore/ops/_op_impl/tbe/floor_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/floor_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/floor_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/floor_ds.py diff --git a/mindspore/ops/_op_impl/tbe/floor_mod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/floor_mod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/floor_mod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/floor_mod.py diff --git a/mindspore/ops/_op_impl/tbe/fused_dbn_dw.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_dbn_dw.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_dbn_dw.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_dbn_dw.py diff --git a/mindspore/ops/_op_impl/tbe/fused_mul_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_mul_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add.py diff --git a/mindspore/ops/_op_impl/tbe/fused_mul_add_n.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add_n.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_mul_add_n.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add_n.py diff --git a/mindspore/ops/_op_impl/tbe/fused_mul_add_n_l2loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add_n_l2loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_mul_add_n_l2loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_add_n_l2loss.py diff --git a/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum.py diff --git a/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum_extern.py b/mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum_extern.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum_extern.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/fused_mul_apply_momentum_extern.py diff --git a/mindspore/ops/_op_impl/tbe/gather_nd.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gather_nd.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gather_nd.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gather_nd.py diff --git a/mindspore/ops/_op_impl/tbe/gather_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gather_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gather_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gather_v2.py diff --git a/mindspore/ops/_op_impl/tbe/gather_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gather_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gather_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gather_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/gelu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gelu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gelu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gelu.py diff --git a/mindspore/ops/_op_impl/tbe/gelu_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gelu_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gelu_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gelu_ds.py diff --git a/mindspore/ops/_op_impl/tbe/gelu_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gelu_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gelu_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gelu_grad.py diff --git a/mindspore/ops/_op_impl/tbe/gelu_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gelu_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gelu_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gelu_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/ger.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ger.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ger.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ger.py diff --git a/mindspore/ops/_op_impl/tbe/greater.py b/mindspore/python/mindspore/ops/_op_impl/tbe/greater.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/greater.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/greater.py diff --git a/mindspore/ops/_op_impl/tbe/greater_equal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/greater_equal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/greater_equal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/greater_equal.py diff --git a/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad.py diff --git a/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad_cell.py b/mindspore/python/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad_cell.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad_cell.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/gru_v2_hidden_grad_cell.py diff --git a/mindspore/ops/_op_impl/tbe/histogram_fixed_width.py b/mindspore/python/mindspore/ops/_op_impl/tbe/histogram_fixed_width.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/histogram_fixed_width.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/histogram_fixed_width.py diff --git a/mindspore/ops/_op_impl/tbe/hshrink.py b/mindspore/python/mindspore/ops/_op_impl/tbe/hshrink.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/hshrink.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/hshrink.py diff --git a/mindspore/ops/_op_impl/tbe/hshrink_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/hshrink_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/hshrink_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/hshrink_grad.py diff --git a/mindspore/ops/_op_impl/tbe/hsigmoid.py b/mindspore/python/mindspore/ops/_op_impl/tbe/hsigmoid.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/hsigmoid.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/hsigmoid.py diff --git a/mindspore/ops/_op_impl/tbe/hsigmoid_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/hsigmoid_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/hsigmoid_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/hsigmoid_grad.py diff --git a/mindspore/ops/_op_impl/tbe/ifmr.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ifmr.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ifmr.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ifmr.py diff --git a/mindspore/ops/_op_impl/tbe/in_top_k.py b/mindspore/python/mindspore/ops/_op_impl/tbe/in_top_k.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/in_top_k.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/in_top_k.py diff --git a/mindspore/ops/_op_impl/tbe/index_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/index_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/index_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/index_add.py diff --git a/mindspore/ops/_op_impl/tbe/inplace_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inplace_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inplace_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inplace_add.py diff --git a/mindspore/ops/_op_impl/tbe/inplace_sub.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inplace_sub.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inplace_sub.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inplace_sub.py diff --git a/mindspore/ops/_op_impl/tbe/inplace_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inplace_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inplace_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inplace_update.py diff --git a/mindspore/ops/_op_impl/tbe/inv.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inv.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inv.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inv.py diff --git a/mindspore/ops/_op_impl/tbe/inv_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inv_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inv_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inv_ds.py diff --git a/mindspore/ops/_op_impl/tbe/inv_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/inv_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/inv_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/inv_grad.py diff --git a/mindspore/ops/_op_impl/tbe/invert.py b/mindspore/python/mindspore/ops/_op_impl/tbe/invert.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/invert.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/invert.py diff --git a/mindspore/ops/_op_impl/tbe/invert_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/invert_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/invert_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/invert_ds.py diff --git a/mindspore/ops/_op_impl/tbe/iou.py b/mindspore/python/mindspore/ops/_op_impl/tbe/iou.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/iou.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/iou.py diff --git a/mindspore/ops/_op_impl/tbe/iou_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/iou_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/iou_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/iou_ds.py diff --git a/mindspore/ops/_op_impl/tbe/l2_loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/l2_loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/l2_loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/l2_loss.py diff --git a/mindspore/ops/_op_impl/tbe/l2_loss_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/l2_loss_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/l2_loss_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/l2_loss_ds.py diff --git a/mindspore/ops/_op_impl/tbe/l2_normalize.py b/mindspore/python/mindspore/ops/_op_impl/tbe/l2_normalize.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/l2_normalize.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/l2_normalize.py diff --git a/mindspore/ops/_op_impl/tbe/l2_normalize_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/l2_normalize_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/l2_normalize_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/l2_normalize_grad.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_apply_optimizer_assign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_apply_optimizer_assign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_apply_optimizer_assign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_apply_optimizer_assign.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_apply_weight_assign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_apply_weight_assign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_apply_weight_assign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_apply_weight_assign.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_next_mv.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_mv.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_next_mv.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_mv.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_next_mv_with_decay.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_mv_with_decay.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_next_mv_with_decay.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_mv_with_decay.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_next_right.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_right.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_next_right.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_next_right.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_update_with_lr.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_update_with_lr.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_update_with_lr.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_update_with_lr.py diff --git a/mindspore/ops/_op_impl/tbe/lamb_update_with_lr_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lamb_update_with_lr_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lamb_update_with_lr_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lamb_update_with_lr_v2.py diff --git a/mindspore/ops/_op_impl/tbe/lars_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lars_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lars_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lars_update.py diff --git a/mindspore/ops/_op_impl/tbe/lars_update_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lars_update_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lars_update_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lars_update_ds.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_ds.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_beta_gamma_backprop_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_ds.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_grad.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_x_backprop.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_ds.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2.py diff --git a/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/layer_norm_x_backprop_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/lerp.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lerp.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lerp.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lerp.py diff --git a/mindspore/ops/_op_impl/tbe/less.py b/mindspore/python/mindspore/ops/_op_impl/tbe/less.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/less.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/less.py diff --git a/mindspore/ops/_op_impl/tbe/less_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/less_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/less_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/less_ds.py diff --git a/mindspore/ops/_op_impl/tbe/less_equal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/less_equal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/less_equal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/less_equal.py diff --git a/mindspore/ops/_op_impl/tbe/less_equal_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/less_equal_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/less_equal_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/less_equal_ds.py diff --git a/mindspore/ops/_op_impl/tbe/lin_space.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lin_space.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lin_space.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lin_space.py diff --git a/mindspore/ops/_op_impl/tbe/log.py b/mindspore/python/mindspore/ops/_op_impl/tbe/log.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/log.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/log.py diff --git a/mindspore/ops/_op_impl/tbe/log1p.py b/mindspore/python/mindspore/ops/_op_impl/tbe/log1p.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/log1p.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/log1p.py diff --git a/mindspore/ops/_op_impl/tbe/log_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/log_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/log_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/log_ds.py diff --git a/mindspore/ops/_op_impl/tbe/logical_and.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logical_and.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logical_and.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logical_and.py diff --git a/mindspore/ops/_op_impl/tbe/logical_not.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logical_not.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logical_not.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logical_not.py diff --git a/mindspore/ops/_op_impl/tbe/logical_or.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logical_or.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logical_or.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logical_or.py diff --git a/mindspore/ops/_op_impl/tbe/logsoftmax.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logsoftmax.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax.py diff --git a/mindspore/ops/_op_impl/tbe/logsoftmax_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logsoftmax_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_ds.py diff --git a/mindspore/ops/_op_impl/tbe/logsoftmax_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logsoftmax_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_grad.py diff --git a/mindspore/ops/_op_impl/tbe/logsoftmax_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/logsoftmax_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/logsoftmax_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/lp_norm.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lp_norm.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lp_norm.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lp_norm.py diff --git a/mindspore/ops/_op_impl/tbe/lrn.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lrn.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lrn.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lrn.py diff --git a/mindspore/ops/_op_impl/tbe/lrn_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lrn_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lrn_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lrn_grad.py diff --git a/mindspore/ops/_op_impl/tbe/lstm_input_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/lstm_input_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/lstm_input_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/lstm_input_grad.py diff --git a/mindspore/ops/_op_impl/tbe/masked_fill.py b/mindspore/python/mindspore/ops/_op_impl/tbe/masked_fill.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/masked_fill.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/masked_fill.py diff --git a/mindspore/ops/_op_impl/tbe/matmul.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matmul.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matmul.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matmul.py diff --git a/mindspore/ops/_op_impl/tbe/matmul_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matmul_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matmul_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matmul_ds.py diff --git a/mindspore/ops/_op_impl/tbe/matmul_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matmul_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matmul_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matmul_v2.py diff --git a/mindspore/ops/_op_impl/tbe/matrix_diag.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matrix_diag.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matrix_diag.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matrix_diag.py diff --git a/mindspore/ops/_op_impl/tbe/matrix_diag_part.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matrix_diag_part.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matrix_diag_part.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matrix_diag_part.py diff --git a/mindspore/ops/_op_impl/tbe/matrix_set_diag.py b/mindspore/python/mindspore/ops/_op_impl/tbe/matrix_set_diag.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/matrix_set_diag.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/matrix_set_diag.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool3d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool3d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool3d_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool3d_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d_grad.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool3d_grad_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d_grad_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool3d_grad_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool3d_grad_grad.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool_grad_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool_grad_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_grad.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool_grad_grad_with_argmax.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_grad_with_argmax.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool_grad_grad_with_argmax.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_grad_with_argmax.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool_grad_with_argmax.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_with_argmax.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool_grad_with_argmax.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_grad_with_argmax.py diff --git a/mindspore/ops/_op_impl/tbe/max_pool_with_argmax.py b/mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_with_argmax.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/max_pool_with_argmax.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/max_pool_with_argmax.py diff --git a/mindspore/ops/_op_impl/tbe/maximum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/maximum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/maximum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/maximum.py diff --git a/mindspore/ops/_op_impl/tbe/maximum_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/maximum_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/maximum_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/maximum_grad.py diff --git a/mindspore/ops/_op_impl/tbe/minimum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/minimum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/minimum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/minimum.py diff --git a/mindspore/ops/_op_impl/tbe/minimum_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/minimum_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/minimum_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/minimum_ds.py diff --git a/mindspore/ops/_op_impl/tbe/minimum_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/minimum_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/minimum_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/minimum_grad.py diff --git a/mindspore/ops/_op_impl/tbe/mish.py b/mindspore/python/mindspore/ops/_op_impl/tbe/mish.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/mish.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/mish.py diff --git a/mindspore/ops/_op_impl/tbe/mod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/mod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/mod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/mod.py diff --git a/mindspore/ops/_op_impl/tbe/mul.py b/mindspore/python/mindspore/ops/_op_impl/tbe/mul.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/mul.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/mul.py diff --git a/mindspore/ops/_op_impl/tbe/mul_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/mul_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/mul_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/mul_ds.py diff --git a/mindspore/ops/_op_impl/tbe/mul_no_nan.py b/mindspore/python/mindspore/ops/_op_impl/tbe/mul_no_nan.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/mul_no_nan.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/mul_no_nan.py diff --git a/mindspore/ops/_op_impl/tbe/neg.py b/mindspore/python/mindspore/ops/_op_impl/tbe/neg.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/neg.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/neg.py diff --git a/mindspore/ops/_op_impl/tbe/neg_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/neg_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/neg_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/neg_ds.py diff --git a/mindspore/ops/_op_impl/tbe/new_im2col.py b/mindspore/python/mindspore/ops/_op_impl/tbe/new_im2col.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/new_im2col.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/new_im2col.py diff --git a/mindspore/ops/_op_impl/tbe/nll_loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/nll_loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/nll_loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/nll_loss.py diff --git a/mindspore/ops/_op_impl/tbe/nll_loss_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/nll_loss_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/nll_loss_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/nll_loss_grad.py diff --git a/mindspore/ops/_op_impl/tbe/nms_with_mask.py b/mindspore/python/mindspore/ops/_op_impl/tbe/nms_with_mask.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/nms_with_mask.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/nms_with_mask.py diff --git a/mindspore/ops/_op_impl/tbe/non_zero_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/non_zero_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/non_zero_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/non_zero_ds.py diff --git a/mindspore/ops/_op_impl/tbe/not_equal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/not_equal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/not_equal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/not_equal.py diff --git a/mindspore/ops/_op_impl/tbe/not_equal_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/not_equal_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/not_equal_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/not_equal_ds.py diff --git a/mindspore/ops/_op_impl/tbe/npu_alloc_float_status.py b/mindspore/python/mindspore/ops/_op_impl/tbe/npu_alloc_float_status.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/npu_alloc_float_status.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/npu_alloc_float_status.py diff --git a/mindspore/ops/_op_impl/tbe/npu_clear_float_status.py b/mindspore/python/mindspore/ops/_op_impl/tbe/npu_clear_float_status.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/npu_clear_float_status.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/npu_clear_float_status.py diff --git a/mindspore/ops/_op_impl/tbe/npu_get_float_status.py b/mindspore/python/mindspore/ops/_op_impl/tbe/npu_get_float_status.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/npu_get_float_status.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/npu_get_float_status.py diff --git a/mindspore/ops/_op_impl/tbe/one_hot.py b/mindspore/python/mindspore/ops/_op_impl/tbe/one_hot.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/one_hot.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/one_hot.py diff --git a/mindspore/ops/_op_impl/tbe/one_hot_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/one_hot_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/one_hot_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/one_hot_ds.py diff --git a/mindspore/ops/_op_impl/tbe/ones_like.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ones_like.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ones_like.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ones_like.py diff --git a/mindspore/ops/_op_impl/tbe/ones_like_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/ones_like_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/ones_like_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/ones_like_ds.py diff --git a/mindspore/ops/_op_impl/tbe/pack.py b/mindspore/python/mindspore/ops/_op_impl/tbe/pack.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/pack.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/pack.py diff --git a/mindspore/ops/_op_impl/tbe/pad_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/pad_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/pad_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/pad_d.py diff --git a/mindspore/ops/_op_impl/tbe/pad_d_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/pad_d_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/pad_d_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/pad_d_ds.py diff --git a/mindspore/ops/_op_impl/tbe/parallel_concat.py b/mindspore/python/mindspore/ops/_op_impl/tbe/parallel_concat.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/parallel_concat.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/parallel_concat.py diff --git a/mindspore/ops/_op_impl/tbe/population_count.py b/mindspore/python/mindspore/ops/_op_impl/tbe/population_count.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/population_count.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/population_count.py diff --git a/mindspore/ops/_op_impl/tbe/pow.py b/mindspore/python/mindspore/ops/_op_impl/tbe/pow.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/pow.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/pow.py diff --git a/mindspore/ops/_op_impl/tbe/prelu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/prelu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/prelu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/prelu.py diff --git a/mindspore/ops/_op_impl/tbe/prelu_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/prelu_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/prelu_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/prelu_grad.py diff --git a/mindspore/ops/_op_impl/tbe/range.py b/mindspore/python/mindspore/ops/_op_impl/tbe/range.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/range.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/range.py diff --git a/mindspore/ops/_op_impl/tbe/real_div.py b/mindspore/python/mindspore/ops/_op_impl/tbe/real_div.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/real_div.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/real_div.py diff --git a/mindspore/ops/_op_impl/tbe/real_div_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/real_div_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/real_div_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/real_div_ds.py diff --git a/mindspore/ops/_op_impl/tbe/reciprocal.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reciprocal.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal.py diff --git a/mindspore/ops/_op_impl/tbe/reciprocal_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reciprocal_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_ds.py diff --git a/mindspore/ops/_op_impl/tbe/reciprocal_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reciprocal_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_grad.py diff --git a/mindspore/ops/_op_impl/tbe/reciprocal_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reciprocal_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reciprocal_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_all.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_all.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_all.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_all.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_any.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_any.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_any.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_any.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_max.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_max.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_max.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_max.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_mean.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_mean.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_mean.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_mean.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_min.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_min.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_min.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_min.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_prod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_prod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_prod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_prod.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_sum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_sum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_sum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_sum.py diff --git a/mindspore/ops/_op_impl/tbe/reduce_sum_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reduce_sum_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reduce_sum_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reduce_sum_ds.py diff --git a/mindspore/ops/_op_impl/tbe/relu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu.py diff --git a/mindspore/ops/_op_impl/tbe/relu6.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu6.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu6.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu6.py diff --git a/mindspore/ops/_op_impl/tbe/relu6_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu6_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu6_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu6_grad.py diff --git a/mindspore/ops/_op_impl/tbe/relu_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_ds.py diff --git a/mindspore/ops/_op_impl/tbe/relu_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad.py diff --git a/mindspore/ops/_op_impl/tbe/relu_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/relu_grad_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_grad_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_v2.py diff --git a/mindspore/ops/_op_impl/tbe/relu_grad_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_grad_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_grad_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/relu_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_v2.py diff --git a/mindspore/ops/_op_impl/tbe/relu_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/relu_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/relu_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/relu_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/resize_bilinear.py b/mindspore/python/mindspore/ops/_op_impl/tbe/resize_bilinear.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/resize_bilinear.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/resize_bilinear.py diff --git a/mindspore/ops/_op_impl/tbe/resize_bilinear_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/resize_bilinear_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/resize_bilinear_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/resize_bilinear_grad.py diff --git a/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor.py b/mindspore/python/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/resize_nearest_neighbor.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor.py diff --git a/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/resize_nearest_neighbor_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/resize_nearest_neighbor_grad.py diff --git a/mindspore/ops/_op_impl/tbe/reverse_v2_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/reverse_v2_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/reverse_v2_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/reverse_v2_d.py diff --git a/mindspore/ops/_op_impl/tbe/rint.py b/mindspore/python/mindspore/ops/_op_impl/tbe/rint.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/rint.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/rint.py diff --git a/mindspore/ops/_op_impl/tbe/rint_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/rint_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/rint_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/rint_ds.py diff --git a/mindspore/ops/_op_impl/tbe/roi_align.py b/mindspore/python/mindspore/ops/_op_impl/tbe/roi_align.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/roi_align.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/roi_align.py diff --git a/mindspore/ops/_op_impl/tbe/roi_align_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/roi_align_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/roi_align_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/roi_align_grad.py diff --git a/mindspore/ops/_op_impl/tbe/roll.py b/mindspore/python/mindspore/ops/_op_impl/tbe/roll.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/roll.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/roll.py diff --git a/mindspore/ops/_op_impl/tbe/round.py b/mindspore/python/mindspore/ops/_op_impl/tbe/round.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/round.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/round.py diff --git a/mindspore/ops/_op_impl/tbe/round_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/round_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/round_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/round_ds.py diff --git a/mindspore/ops/_op_impl/tbe/rsqrt.py b/mindspore/python/mindspore/ops/_op_impl/tbe/rsqrt.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/rsqrt.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/rsqrt.py diff --git a/mindspore/ops/_op_impl/tbe/rsqrt_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/rsqrt_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/rsqrt_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/rsqrt_grad.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_add.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_add_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_add_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_add_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_add_ds.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_div.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_div.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_div.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_div.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_max.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_max.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_max.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_max.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_min.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_min.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_min.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_min.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_mul.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_mul.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_mul.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_mul.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_add.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_add_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_add_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_add_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_add_ds.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_d.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_sub.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_sub.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_sub.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_sub.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_update.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_nd_update_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_update_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_nd_update_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_nd_update_ds.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_non_aliasing_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_non_aliasing_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_non_aliasing_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_non_aliasing_add.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_sub.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_sub.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_sub.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_sub.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_update.py diff --git a/mindspore/ops/_op_impl/tbe/scatter_update_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/scatter_update_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/scatter_update_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/scatter_update_ds.py diff --git a/mindspore/ops/_op_impl/tbe/select.py b/mindspore/python/mindspore/ops/_op_impl/tbe/select.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/select.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/select.py diff --git a/mindspore/ops/_op_impl/tbe/selu.py b/mindspore/python/mindspore/ops/_op_impl/tbe/selu.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/selu.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/selu.py diff --git a/mindspore/ops/_op_impl/tbe/sgd.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sgd.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sgd.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sgd.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_cross_entropy_with_logits_grad.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sigmoid_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sigmoid_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sigmoid_grad.py diff --git a/mindspore/ops/_op_impl/tbe/sign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sign.py diff --git a/mindspore/ops/_op_impl/tbe/sign_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sign_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sign_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sign_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sin.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sin.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sin.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sin.py diff --git a/mindspore/ops/_op_impl/tbe/sinh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sinh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sinh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sinh.py diff --git a/mindspore/ops/_op_impl/tbe/sinh_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sinh_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sinh_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sinh_ds.py diff --git a/mindspore/ops/_op_impl/tbe/slice.py b/mindspore/python/mindspore/ops/_op_impl/tbe/slice.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/slice.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/slice.py diff --git a/mindspore/ops/_op_impl/tbe/smooth_l1_loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/smooth_l1_loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/smooth_l1_loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/smooth_l1_loss.py diff --git a/mindspore/ops/_op_impl/tbe/smooth_l1_loss_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/smooth_l1_loss_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/smooth_l1_loss_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/smooth_l1_loss_grad.py diff --git a/mindspore/ops/_op_impl/tbe/soft_margin_loss.py b/mindspore/python/mindspore/ops/_op_impl/tbe/soft_margin_loss.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/soft_margin_loss.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/soft_margin_loss.py diff --git a/mindspore/ops/_op_impl/tbe/soft_margin_loss_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/soft_margin_loss_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/soft_margin_loss_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/soft_margin_loss_grad.py diff --git a/mindspore/ops/_op_impl/tbe/soft_shrink.py b/mindspore/python/mindspore/ops/_op_impl/tbe/soft_shrink.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/soft_shrink.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/soft_shrink.py diff --git a/mindspore/ops/_op_impl/tbe/soft_shrink_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/soft_shrink_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/soft_shrink_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/soft_shrink_grad.py diff --git a/mindspore/ops/_op_impl/tbe/softmax.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softmax.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softmax.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softmax.py diff --git a/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits.py diff --git a/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softmax_cross_entropy_with_logits_ds.py diff --git a/mindspore/ops/_op_impl/tbe/softmax_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softmax_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softmax_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softmax_ds.py diff --git a/mindspore/ops/_op_impl/tbe/softmax_grad_ext.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softmax_grad_ext.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softmax_grad_ext.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softmax_grad_ext.py diff --git a/mindspore/ops/_op_impl/tbe/softplus.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softplus.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softplus.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softplus.py diff --git a/mindspore/ops/_op_impl/tbe/softplus_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softplus_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softplus_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softplus_grad.py diff --git a/mindspore/ops/_op_impl/tbe/softsign.py b/mindspore/python/mindspore/ops/_op_impl/tbe/softsign.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/softsign.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/softsign.py diff --git a/mindspore/ops/_op_impl/tbe/sort.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sort.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sort.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sort.py diff --git a/mindspore/ops/_op_impl/tbe/sort_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sort_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sort_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sort_ds.py diff --git a/mindspore/ops/_op_impl/tbe/space_to_batch.py b/mindspore/python/mindspore/ops/_op_impl/tbe/space_to_batch.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/space_to_batch.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/space_to_batch.py diff --git a/mindspore/ops/_op_impl/tbe/space_to_batch_nd.py b/mindspore/python/mindspore/ops/_op_impl/tbe/space_to_batch_nd.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/space_to_batch_nd.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/space_to_batch_nd.py diff --git a/mindspore/ops/_op_impl/tbe/space_to_depth.py b/mindspore/python/mindspore/ops/_op_impl/tbe/space_to_depth.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/space_to_depth.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/space_to_depth.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_adagrad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_adagrad_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_adagrad_v2.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_d_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_ftrl_v2.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_proximal_adagrad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_apply_r_m_s_prop.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_r_m_s_prop.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_apply_r_m_s_prop.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_apply_r_m_s_prop.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_gather_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_gather_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_gather_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_gather_v2.py diff --git a/mindspore/ops/_op_impl/tbe/sparse_gather_v2_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sparse_gather_v2_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sparse_gather_v2_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sparse_gather_v2_ds.py diff --git a/mindspore/ops/_op_impl/tbe/split_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/split_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/split_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/split_d.py diff --git a/mindspore/ops/_op_impl/tbe/split_v.py b/mindspore/python/mindspore/ops/_op_impl/tbe/split_v.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/split_v.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/split_v.py diff --git a/mindspore/ops/_op_impl/tbe/splitv.py b/mindspore/python/mindspore/ops/_op_impl/tbe/splitv.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/splitv.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/splitv.py diff --git a/mindspore/ops/_op_impl/tbe/sqrt.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sqrt.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sqrt.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sqrt.py diff --git a/mindspore/ops/_op_impl/tbe/sqrt_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sqrt_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_ds.py diff --git a/mindspore/ops/_op_impl/tbe/sqrt_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sqrt_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_grad.py diff --git a/mindspore/ops/_op_impl/tbe/sqrt_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sqrt_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sqrt_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/square.py b/mindspore/python/mindspore/ops/_op_impl/tbe/square.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/square.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/square.py diff --git a/mindspore/ops/_op_impl/tbe/square_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/square_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/square_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/square_ds.py diff --git a/mindspore/ops/_op_impl/tbe/square_sum_all.py b/mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_all.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/square_sum_all.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_all.py diff --git a/mindspore/ops/_op_impl/tbe/square_sum_v1.py b/mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_v1.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/square_sum_v1.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_v1.py diff --git a/mindspore/ops/_op_impl/tbe/square_sum_v2.py b/mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_v2.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/square_sum_v2.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/square_sum_v2.py diff --git a/mindspore/ops/_op_impl/tbe/squared_difference.py b/mindspore/python/mindspore/ops/_op_impl/tbe/squared_difference.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/squared_difference.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/squared_difference.py diff --git a/mindspore/ops/_op_impl/tbe/squeeze.py b/mindspore/python/mindspore/ops/_op_impl/tbe/squeeze.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/squeeze.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/squeeze.py diff --git a/mindspore/ops/_op_impl/tbe/strided_read.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_read.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_read.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_read.py diff --git a/mindspore/ops/_op_impl/tbe/strided_slice_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_slice_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_d.py diff --git a/mindspore/ops/_op_impl/tbe/strided_slice_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_slice_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_ds.py diff --git a/mindspore/ops/_op_impl/tbe/strided_slice_grad_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_grad_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_slice_grad_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_grad_d.py diff --git a/mindspore/ops/_op_impl/tbe/strided_slice_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_slice_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_slice_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/strided_write.py b/mindspore/python/mindspore/ops/_op_impl/tbe/strided_write.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/strided_write.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/strided_write.py diff --git a/mindspore/ops/_op_impl/tbe/sub.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sub.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sub.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sub.py diff --git a/mindspore/ops/_op_impl/tbe/sub_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/sub_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/sub_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/sub_ds.py diff --git a/mindspore/ops/_op_impl/tbe/tan.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tan.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tan.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tan.py diff --git a/mindspore/ops/_op_impl/tbe/tan_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tan_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tan_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tan_ds.py diff --git a/mindspore/ops/_op_impl/tbe/tanh.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tanh.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tanh.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tanh.py diff --git a/mindspore/ops/_op_impl/tbe/tanh_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tanh_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tanh_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tanh_ds.py diff --git a/mindspore/ops/_op_impl/tbe/tanh_grad.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tanh_grad.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tanh_grad.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tanh_grad.py diff --git a/mindspore/ops/_op_impl/tbe/tanh_grad_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tanh_grad_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tanh_grad_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tanh_grad_ds.py diff --git a/mindspore/ops/_op_impl/tbe/tensor_add.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tensor_add.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tensor_add.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tensor_add.py diff --git a/mindspore/ops/_op_impl/tbe/tensor_add_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tensor_add_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tensor_add_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tensor_add_ds.py diff --git a/mindspore/ops/_op_impl/tbe/tensor_move.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tensor_move.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tensor_move.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tensor_move.py diff --git a/mindspore/ops/_op_impl/tbe/tensor_scatter_update.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tensor_scatter_update.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tensor_scatter_update.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tensor_scatter_update.py diff --git a/mindspore/ops/_op_impl/tbe/tile.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tile.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tile.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tile.py diff --git a/mindspore/ops/_op_impl/tbe/tile_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/tile_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/tile_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/tile_ds.py diff --git a/mindspore/ops/_op_impl/tbe/top_k.py b/mindspore/python/mindspore/ops/_op_impl/tbe/top_k.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/top_k.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/top_k.py diff --git a/mindspore/ops/_op_impl/tbe/trans_data.py b/mindspore/python/mindspore/ops/_op_impl/tbe/trans_data.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/trans_data.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/trans_data.py diff --git a/mindspore/ops/_op_impl/tbe/trans_data_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/trans_data_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/trans_data_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/trans_data_ds.py diff --git a/mindspore/ops/_op_impl/tbe/trans_data_rnn.py b/mindspore/python/mindspore/ops/_op_impl/tbe/trans_data_rnn.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/trans_data_rnn.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/trans_data_rnn.py diff --git a/mindspore/ops/_op_impl/tbe/transpose.py b/mindspore/python/mindspore/ops/_op_impl/tbe/transpose.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/transpose.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/transpose.py diff --git a/mindspore/ops/_op_impl/tbe/transpose_d.py b/mindspore/python/mindspore/ops/_op_impl/tbe/transpose_d.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/transpose_d.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/transpose_d.py diff --git a/mindspore/ops/_op_impl/tbe/transpose_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/transpose_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/transpose_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/transpose_ds.py diff --git a/mindspore/ops/_op_impl/tbe/trunc.py b/mindspore/python/mindspore/ops/_op_impl/tbe/trunc.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/trunc.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/trunc.py diff --git a/mindspore/ops/_op_impl/tbe/truncate_div.py b/mindspore/python/mindspore/ops/_op_impl/tbe/truncate_div.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/truncate_div.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/truncate_div.py diff --git a/mindspore/ops/_op_impl/tbe/truncate_mod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/truncate_mod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/truncate_mod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/truncate_mod.py diff --git a/mindspore/ops/_op_impl/tbe/unpack.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unpack.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unpack.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unpack.py diff --git a/mindspore/ops/_op_impl/tbe/unsorted_segment_max.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_max.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unsorted_segment_max.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_max.py diff --git a/mindspore/ops/_op_impl/tbe/unsorted_segment_min.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_min.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unsorted_segment_min.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_min.py diff --git a/mindspore/ops/_op_impl/tbe/unsorted_segment_prod.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_prod.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unsorted_segment_prod.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_prod.py diff --git a/mindspore/ops/_op_impl/tbe/unsorted_segment_sum.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_sum.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unsorted_segment_sum.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_sum.py diff --git a/mindspore/ops/_op_impl/tbe/unsorted_segment_sum_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_sum_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/unsorted_segment_sum_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/unsorted_segment_sum_ds.py diff --git a/mindspore/ops/_op_impl/tbe/wts_arq.py b/mindspore/python/mindspore/ops/_op_impl/tbe/wts_arq.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/wts_arq.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/wts_arq.py diff --git a/mindspore/ops/_op_impl/tbe/xdivy.py b/mindspore/python/mindspore/ops/_op_impl/tbe/xdivy.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/xdivy.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/xdivy.py diff --git a/mindspore/ops/_op_impl/tbe/xdivy_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/xdivy_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/xdivy_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/xdivy_ds.py diff --git a/mindspore/ops/_op_impl/tbe/xlogy.py b/mindspore/python/mindspore/ops/_op_impl/tbe/xlogy.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/xlogy.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/xlogy.py diff --git a/mindspore/ops/_op_impl/tbe/zeros_like.py b/mindspore/python/mindspore/ops/_op_impl/tbe/zeros_like.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/zeros_like.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/zeros_like.py diff --git a/mindspore/ops/_op_impl/tbe/zeros_like_ds.py b/mindspore/python/mindspore/ops/_op_impl/tbe/zeros_like_ds.py similarity index 100% rename from mindspore/ops/_op_impl/tbe/zeros_like_ds.py rename to mindspore/python/mindspore/ops/_op_impl/tbe/zeros_like_ds.py diff --git a/mindspore/ops/_register_for_op.py b/mindspore/python/mindspore/ops/_register_for_op.py similarity index 100% rename from mindspore/ops/_register_for_op.py rename to mindspore/python/mindspore/ops/_register_for_op.py diff --git a/mindspore/ops/_utils/__init__.py b/mindspore/python/mindspore/ops/_utils/__init__.py similarity index 100% rename from mindspore/ops/_utils/__init__.py rename to mindspore/python/mindspore/ops/_utils/__init__.py diff --git a/mindspore/ops/_utils/utils.py b/mindspore/python/mindspore/ops/_utils/utils.py similarity index 100% rename from mindspore/ops/_utils/utils.py rename to mindspore/python/mindspore/ops/_utils/utils.py diff --git a/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Argmax_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Argmax_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Argmax_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Argmax_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Argmin_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Argmin_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Argmin_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Argmin_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/AssignSub_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Assign_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Assign_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Assign_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Assign_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/BNTrainingReduce_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/BNTrainingReduce_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/BNTrainingReduce_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/BNTrainingReduce_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Broadcast_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Broadcast_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Broadcast_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Broadcast_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/DType_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/DType_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/DType_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/DType_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Depend_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Depend_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Depend_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Depend_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/DropoutDoMask_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/DropoutDoMask_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/DropoutDoMask_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/DropoutDoMask_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/DropoutGenMask_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/DropoutGenMask_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/DropoutGenMask_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/DropoutGenMask_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/DynamicShape_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/DynamicShape_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/DynamicShape_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/DynamicShape_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Equal_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Equal_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Greater_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Greater_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/IOU_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IOU_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/IOU_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/IOU_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Identity_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Identity_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Identity_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Identity_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/IsFinite_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/IsInf_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/IsInf_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/IsNan_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/IsNan_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/LessEqual_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Less_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Less_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/LinSpace_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Load_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Load_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Load_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Load_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Maximum_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Maximum_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Maximum_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Maximum_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Minimum_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Minimum_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Minimum_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Minimum_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/NotEqual_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/OneHot_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/OneHot_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/OneHot_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/OneHot_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/OnesLike_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/OnesLike_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/OnesLike_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/OnesLike_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Range_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Range_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Range_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Range_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Rank_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Rank_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Rank_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Rank_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ReLUV2_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReLUV2_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ReLUV2_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ReLUV2_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ReLU_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReLU_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ReLU_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ReLU_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ReluGrad_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReluGrad_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ReluGrad_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ReluGrad_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Round_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Round_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ScatterMax_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ScatterMax_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ScatterMax_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ScatterMax_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Select_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Select_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Select_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Select_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Shape_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Shape_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Shape_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Shape_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Sign_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Sign_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/Switch_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Switch_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/Switch_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/Switch_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/TupleGetItem_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/TupleGetItem_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/TupleGetItem_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/TupleGetItem_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/UpdateState_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/UpdateState_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/UpdateState_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/UpdateState_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/ZerosLike_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ZerosLike_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/ZerosLike_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/ZerosLike_bprop.mindir diff --git a/mindspore/ops/bprop_mindir/__init__.py b/mindspore/python/mindspore/ops/bprop_mindir/__init__.py similarity index 100% rename from mindspore/ops/bprop_mindir/__init__.py rename to mindspore/python/mindspore/ops/bprop_mindir/__init__.py diff --git a/mindspore/ops/bprop_mindir/generate_mindir.py b/mindspore/python/mindspore/ops/bprop_mindir/generate_mindir.py similarity index 100% rename from mindspore/ops/bprop_mindir/generate_mindir.py rename to mindspore/python/mindspore/ops/bprop_mindir/generate_mindir.py diff --git a/mindspore/ops/bprop_mindir/stop_gradient_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/stop_gradient_bprop.mindir similarity index 100% rename from mindspore/ops/bprop_mindir/stop_gradient_bprop.mindir rename to mindspore/python/mindspore/ops/bprop_mindir/stop_gradient_bprop.mindir diff --git a/mindspore/ops/composite/__init__.py b/mindspore/python/mindspore/ops/composite/__init__.py similarity index 100% rename from mindspore/ops/composite/__init__.py rename to mindspore/python/mindspore/ops/composite/__init__.py diff --git a/mindspore/ops/composite/array_ops.py b/mindspore/python/mindspore/ops/composite/array_ops.py similarity index 100% rename from mindspore/ops/composite/array_ops.py rename to mindspore/python/mindspore/ops/composite/array_ops.py diff --git a/mindspore/ops/composite/base.py b/mindspore/python/mindspore/ops/composite/base.py similarity index 100% rename from mindspore/ops/composite/base.py rename to mindspore/python/mindspore/ops/composite/base.py diff --git a/mindspore/ops/composite/clip_ops.py b/mindspore/python/mindspore/ops/composite/clip_ops.py similarity index 100% rename from mindspore/ops/composite/clip_ops.py rename to mindspore/python/mindspore/ops/composite/clip_ops.py diff --git a/mindspore/ops/composite/math_ops.py b/mindspore/python/mindspore/ops/composite/math_ops.py similarity index 100% rename from mindspore/ops/composite/math_ops.py rename to mindspore/python/mindspore/ops/composite/math_ops.py diff --git a/mindspore/ops/composite/multitype_ops/__init__.py b/mindspore/python/mindspore/ops/composite/multitype_ops/__init__.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/__init__.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/__init__.py diff --git a/mindspore/ops/composite/multitype_ops/_compile_utils.py b/mindspore/python/mindspore/ops/composite/multitype_ops/_compile_utils.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/_compile_utils.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/_compile_utils.py diff --git a/mindspore/ops/composite/multitype_ops/_constexpr_utils.py b/mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/_constexpr_utils.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py diff --git a/mindspore/ops/composite/multitype_ops/add_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/add_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/add_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/add_impl.py diff --git a/mindspore/ops/composite/multitype_ops/div_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/div_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/div_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/div_impl.py diff --git a/mindspore/ops/composite/multitype_ops/equal_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/equal_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/equal_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/equal_impl.py diff --git a/mindspore/ops/composite/multitype_ops/floordiv_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/floordiv_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/floordiv_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/floordiv_impl.py diff --git a/mindspore/ops/composite/multitype_ops/getitem_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/getitem_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/getitem_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/getitem_impl.py diff --git a/mindspore/ops/composite/multitype_ops/greater_equal_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/greater_equal_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/greater_equal_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/greater_equal_impl.py diff --git a/mindspore/ops/composite/multitype_ops/greater_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/greater_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/greater_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/greater_impl.py diff --git a/mindspore/ops/composite/multitype_ops/in_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/in_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/in_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/in_impl.py diff --git a/mindspore/ops/composite/multitype_ops/less_equal_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/less_equal_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/less_equal_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/less_equal_impl.py diff --git a/mindspore/ops/composite/multitype_ops/less_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/less_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/less_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/less_impl.py diff --git a/mindspore/ops/composite/multitype_ops/logic_not_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/logic_not_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/logic_not_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/logic_not_impl.py diff --git a/mindspore/ops/composite/multitype_ops/logical_and_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/logical_and_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/logical_and_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/logical_and_impl.py diff --git a/mindspore/ops/composite/multitype_ops/logical_or_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/logical_or_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/logical_or_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/logical_or_impl.py diff --git a/mindspore/ops/composite/multitype_ops/mod_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/mod_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/mod_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/mod_impl.py diff --git a/mindspore/ops/composite/multitype_ops/mul_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/mul_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/mul_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/mul_impl.py diff --git a/mindspore/ops/composite/multitype_ops/negative_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/negative_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/negative_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/negative_impl.py diff --git a/mindspore/ops/composite/multitype_ops/not_equal_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/not_equal_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/not_equal_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/not_equal_impl.py diff --git a/mindspore/ops/composite/multitype_ops/not_in_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/not_in_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/not_in_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/not_in_impl.py diff --git a/mindspore/ops/composite/multitype_ops/ones_like_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/ones_like_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/ones_like_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/ones_like_impl.py diff --git a/mindspore/ops/composite/multitype_ops/pow_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/pow_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/pow_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/pow_impl.py diff --git a/mindspore/ops/composite/multitype_ops/setitem_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/setitem_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/setitem_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/setitem_impl.py diff --git a/mindspore/ops/composite/multitype_ops/sub_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/sub_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/sub_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/sub_impl.py diff --git a/mindspore/ops/composite/multitype_ops/uadd_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/uadd_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/uadd_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/uadd_impl.py diff --git a/mindspore/ops/composite/multitype_ops/zeros_like_impl.py b/mindspore/python/mindspore/ops/composite/multitype_ops/zeros_like_impl.py similarity index 100% rename from mindspore/ops/composite/multitype_ops/zeros_like_impl.py rename to mindspore/python/mindspore/ops/composite/multitype_ops/zeros_like_impl.py diff --git a/mindspore/ops/composite/random_ops.py b/mindspore/python/mindspore/ops/composite/random_ops.py similarity index 100% rename from mindspore/ops/composite/random_ops.py rename to mindspore/python/mindspore/ops/composite/random_ops.py diff --git a/mindspore/ops/functional.py b/mindspore/python/mindspore/ops/functional.py similarity index 100% rename from mindspore/ops/functional.py rename to mindspore/python/mindspore/ops/functional.py diff --git a/mindspore/ops/op_info_register.py b/mindspore/python/mindspore/ops/op_info_register.py similarity index 100% rename from mindspore/ops/op_info_register.py rename to mindspore/python/mindspore/ops/op_info_register.py diff --git a/mindspore/ops/operations/__init__.py b/mindspore/python/mindspore/ops/operations/__init__.py similarity index 100% rename from mindspore/ops/operations/__init__.py rename to mindspore/python/mindspore/ops/operations/__init__.py diff --git a/mindspore/ops/operations/_csr_ops.py b/mindspore/python/mindspore/ops/operations/_csr_ops.py similarity index 100% rename from mindspore/ops/operations/_csr_ops.py rename to mindspore/python/mindspore/ops/operations/_csr_ops.py diff --git a/mindspore/ops/operations/_custom_grad.py b/mindspore/python/mindspore/ops/operations/_custom_grad.py similarity index 100% rename from mindspore/ops/operations/_custom_grad.py rename to mindspore/python/mindspore/ops/operations/_custom_grad.py diff --git a/mindspore/ops/operations/_embedding_cache_ops.py b/mindspore/python/mindspore/ops/operations/_embedding_cache_ops.py similarity index 100% rename from mindspore/ops/operations/_embedding_cache_ops.py rename to mindspore/python/mindspore/ops/operations/_embedding_cache_ops.py diff --git a/mindspore/ops/operations/_grad_ops.py b/mindspore/python/mindspore/ops/operations/_grad_ops.py similarity index 100% rename from mindspore/ops/operations/_grad_ops.py rename to mindspore/python/mindspore/ops/operations/_grad_ops.py diff --git a/mindspore/ops/operations/_inner_ops.py b/mindspore/python/mindspore/ops/operations/_inner_ops.py similarity index 100% rename from mindspore/ops/operations/_inner_ops.py rename to mindspore/python/mindspore/ops/operations/_inner_ops.py diff --git a/mindspore/ops/operations/_pyfunc_registry.py b/mindspore/python/mindspore/ops/operations/_pyfunc_registry.py similarity index 100% rename from mindspore/ops/operations/_pyfunc_registry.py rename to mindspore/python/mindspore/ops/operations/_pyfunc_registry.py diff --git a/mindspore/ops/operations/_quant_ops.py b/mindspore/python/mindspore/ops/operations/_quant_ops.py similarity index 100% rename from mindspore/ops/operations/_quant_ops.py rename to mindspore/python/mindspore/ops/operations/_quant_ops.py diff --git a/mindspore/ops/operations/_rl_inner_ops.py b/mindspore/python/mindspore/ops/operations/_rl_inner_ops.py similarity index 100% rename from mindspore/ops/operations/_rl_inner_ops.py rename to mindspore/python/mindspore/ops/operations/_rl_inner_ops.py diff --git a/mindspore/ops/operations/_tensor_array.py b/mindspore/python/mindspore/ops/operations/_tensor_array.py similarity index 100% rename from mindspore/ops/operations/_tensor_array.py rename to mindspore/python/mindspore/ops/operations/_tensor_array.py diff --git a/mindspore/ops/operations/_thor_ops.py b/mindspore/python/mindspore/ops/operations/_thor_ops.py similarity index 100% rename from mindspore/ops/operations/_thor_ops.py rename to mindspore/python/mindspore/ops/operations/_thor_ops.py diff --git a/mindspore/ops/operations/array_ops.py b/mindspore/python/mindspore/ops/operations/array_ops.py similarity index 100% rename from mindspore/ops/operations/array_ops.py rename to mindspore/python/mindspore/ops/operations/array_ops.py diff --git a/mindspore/ops/operations/comm_ops.py b/mindspore/python/mindspore/ops/operations/comm_ops.py similarity index 100% rename from mindspore/ops/operations/comm_ops.py rename to mindspore/python/mindspore/ops/operations/comm_ops.py diff --git a/mindspore/ops/operations/control_ops.py b/mindspore/python/mindspore/ops/operations/control_ops.py similarity index 100% rename from mindspore/ops/operations/control_ops.py rename to mindspore/python/mindspore/ops/operations/control_ops.py diff --git a/mindspore/ops/operations/custom_ops.py b/mindspore/python/mindspore/ops/operations/custom_ops.py similarity index 100% rename from mindspore/ops/operations/custom_ops.py rename to mindspore/python/mindspore/ops/operations/custom_ops.py diff --git a/mindspore/ops/operations/debug_ops.py b/mindspore/python/mindspore/ops/operations/debug_ops.py similarity index 100% rename from mindspore/ops/operations/debug_ops.py rename to mindspore/python/mindspore/ops/operations/debug_ops.py diff --git a/mindspore/ops/operations/image_ops.py b/mindspore/python/mindspore/ops/operations/image_ops.py similarity index 100% rename from mindspore/ops/operations/image_ops.py rename to mindspore/python/mindspore/ops/operations/image_ops.py diff --git a/mindspore/ops/operations/inner_ops.py b/mindspore/python/mindspore/ops/operations/inner_ops.py similarity index 100% rename from mindspore/ops/operations/inner_ops.py rename to mindspore/python/mindspore/ops/operations/inner_ops.py diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/python/mindspore/ops/operations/math_ops.py similarity index 100% rename from mindspore/ops/operations/math_ops.py rename to mindspore/python/mindspore/ops/operations/math_ops.py diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/python/mindspore/ops/operations/nn_ops.py similarity index 100% rename from mindspore/ops/operations/nn_ops.py rename to mindspore/python/mindspore/ops/operations/nn_ops.py diff --git a/mindspore/ops/operations/other_ops.py b/mindspore/python/mindspore/ops/operations/other_ops.py similarity index 100% rename from mindspore/ops/operations/other_ops.py rename to mindspore/python/mindspore/ops/operations/other_ops.py diff --git a/mindspore/ops/operations/random_ops.py b/mindspore/python/mindspore/ops/operations/random_ops.py similarity index 100% rename from mindspore/ops/operations/random_ops.py rename to mindspore/python/mindspore/ops/operations/random_ops.py diff --git a/mindspore/ops/operations/rl_ops.py b/mindspore/python/mindspore/ops/operations/rl_ops.py similarity index 100% rename from mindspore/ops/operations/rl_ops.py rename to mindspore/python/mindspore/ops/operations/rl_ops.py diff --git a/mindspore/ops/operations/sparse_ops.py b/mindspore/python/mindspore/ops/operations/sparse_ops.py similarity index 100% rename from mindspore/ops/operations/sparse_ops.py rename to mindspore/python/mindspore/ops/operations/sparse_ops.py diff --git a/mindspore/ops/operations/sponge_ops.py b/mindspore/python/mindspore/ops/operations/sponge_ops.py similarity index 100% rename from mindspore/ops/operations/sponge_ops.py rename to mindspore/python/mindspore/ops/operations/sponge_ops.py diff --git a/mindspore/ops/operations/sponge_update_ops.py b/mindspore/python/mindspore/ops/operations/sponge_update_ops.py similarity index 100% rename from mindspore/ops/operations/sponge_update_ops.py rename to mindspore/python/mindspore/ops/operations/sponge_update_ops.py diff --git a/mindspore/ops/primitive.py b/mindspore/python/mindspore/ops/primitive.py similarity index 100% rename from mindspore/ops/primitive.py rename to mindspore/python/mindspore/ops/primitive.py diff --git a/mindspore/ops/signature.py b/mindspore/python/mindspore/ops/signature.py similarity index 100% rename from mindspore/ops/signature.py rename to mindspore/python/mindspore/ops/signature.py diff --git a/mindspore/ops/vm_impl_registry.py b/mindspore/python/mindspore/ops/vm_impl_registry.py similarity index 100% rename from mindspore/ops/vm_impl_registry.py rename to mindspore/python/mindspore/ops/vm_impl_registry.py diff --git a/mindspore/parallel/OWNERS b/mindspore/python/mindspore/parallel/OWNERS similarity index 100% rename from mindspore/parallel/OWNERS rename to mindspore/python/mindspore/parallel/OWNERS diff --git a/mindspore/parallel/__init__.py b/mindspore/python/mindspore/parallel/__init__.py similarity index 100% rename from mindspore/parallel/__init__.py rename to mindspore/python/mindspore/parallel/__init__.py diff --git a/mindspore/parallel/_auto_parallel_context.py b/mindspore/python/mindspore/parallel/_auto_parallel_context.py similarity index 100% rename from mindspore/parallel/_auto_parallel_context.py rename to mindspore/python/mindspore/parallel/_auto_parallel_context.py diff --git a/mindspore/parallel/_cell_wrapper.py b/mindspore/python/mindspore/parallel/_cell_wrapper.py similarity index 100% rename from mindspore/parallel/_cell_wrapper.py rename to mindspore/python/mindspore/parallel/_cell_wrapper.py diff --git a/mindspore/parallel/_cost_model_context.py b/mindspore/python/mindspore/parallel/_cost_model_context.py similarity index 100% rename from mindspore/parallel/_cost_model_context.py rename to mindspore/python/mindspore/parallel/_cost_model_context.py diff --git a/mindspore/parallel/_dp_allreduce_fusion.py b/mindspore/python/mindspore/parallel/_dp_allreduce_fusion.py similarity index 100% rename from mindspore/parallel/_dp_allreduce_fusion.py rename to mindspore/python/mindspore/parallel/_dp_allreduce_fusion.py diff --git a/mindspore/parallel/_ps_context.py b/mindspore/python/mindspore/parallel/_ps_context.py similarity index 100% rename from mindspore/parallel/_ps_context.py rename to mindspore/python/mindspore/parallel/_ps_context.py diff --git a/mindspore/parallel/_tensor.py b/mindspore/python/mindspore/parallel/_tensor.py similarity index 100% rename from mindspore/parallel/_tensor.py rename to mindspore/python/mindspore/parallel/_tensor.py diff --git a/mindspore/parallel/_utils.py b/mindspore/python/mindspore/parallel/_utils.py similarity index 100% rename from mindspore/parallel/_utils.py rename to mindspore/python/mindspore/parallel/_utils.py diff --git a/mindspore/parallel/algo_parameter_config.py b/mindspore/python/mindspore/parallel/algo_parameter_config.py similarity index 100% rename from mindspore/parallel/algo_parameter_config.py rename to mindspore/python/mindspore/parallel/algo_parameter_config.py diff --git a/mindspore/parallel/mpi/__init__.py b/mindspore/python/mindspore/parallel/mpi/__init__.py similarity index 100% rename from mindspore/parallel/mpi/__init__.py rename to mindspore/python/mindspore/parallel/mpi/__init__.py diff --git a/mindspore/parallel/mpi/_mpi_config.py b/mindspore/python/mindspore/parallel/mpi/_mpi_config.py similarity index 100% rename from mindspore/parallel/mpi/_mpi_config.py rename to mindspore/python/mindspore/parallel/mpi/_mpi_config.py diff --git a/mindspore/parallel/nn/__init__.py b/mindspore/python/mindspore/parallel/nn/__init__.py similarity index 100% rename from mindspore/parallel/nn/__init__.py rename to mindspore/python/mindspore/parallel/nn/__init__.py diff --git a/mindspore/parallel/nn/layers.py b/mindspore/python/mindspore/parallel/nn/layers.py similarity index 100% rename from mindspore/parallel/nn/layers.py rename to mindspore/python/mindspore/parallel/nn/layers.py diff --git a/mindspore/parallel/nn/loss.py b/mindspore/python/mindspore/parallel/nn/loss.py similarity index 100% rename from mindspore/parallel/nn/loss.py rename to mindspore/python/mindspore/parallel/nn/loss.py diff --git a/mindspore/parallel/nn/moe.py b/mindspore/python/mindspore/parallel/nn/moe.py similarity index 100% rename from mindspore/parallel/nn/moe.py rename to mindspore/python/mindspore/parallel/nn/moe.py diff --git a/mindspore/parallel/nn/op_parallel_config.py b/mindspore/python/mindspore/parallel/nn/op_parallel_config.py similarity index 100% rename from mindspore/parallel/nn/op_parallel_config.py rename to mindspore/python/mindspore/parallel/nn/op_parallel_config.py diff --git a/mindspore/parallel/nn/transformer.py b/mindspore/python/mindspore/parallel/nn/transformer.py similarity index 100% rename from mindspore/parallel/nn/transformer.py rename to mindspore/python/mindspore/parallel/nn/transformer.py diff --git a/mindspore/profiler/OWNERS b/mindspore/python/mindspore/profiler/OWNERS similarity index 100% rename from mindspore/profiler/OWNERS rename to mindspore/python/mindspore/profiler/OWNERS diff --git a/mindspore/profiler/__init__.py b/mindspore/python/mindspore/profiler/__init__.py similarity index 100% rename from mindspore/profiler/__init__.py rename to mindspore/python/mindspore/profiler/__init__.py diff --git a/mindspore/profiler/common/__init__.py b/mindspore/python/mindspore/profiler/common/__init__.py similarity index 100% rename from mindspore/profiler/common/__init__.py rename to mindspore/python/mindspore/profiler/common/__init__.py diff --git a/mindspore/profiler/common/exceptions/__init__.py b/mindspore/python/mindspore/profiler/common/exceptions/__init__.py similarity index 100% rename from mindspore/profiler/common/exceptions/__init__.py rename to mindspore/python/mindspore/profiler/common/exceptions/__init__.py diff --git a/mindspore/profiler/common/exceptions/error_code.py b/mindspore/python/mindspore/profiler/common/exceptions/error_code.py similarity index 100% rename from mindspore/profiler/common/exceptions/error_code.py rename to mindspore/python/mindspore/profiler/common/exceptions/error_code.py diff --git a/mindspore/profiler/common/exceptions/exceptions.py b/mindspore/python/mindspore/profiler/common/exceptions/exceptions.py similarity index 100% rename from mindspore/profiler/common/exceptions/exceptions.py rename to mindspore/python/mindspore/profiler/common/exceptions/exceptions.py diff --git a/mindspore/profiler/common/util.py b/mindspore/python/mindspore/profiler/common/util.py similarity index 100% rename from mindspore/profiler/common/util.py rename to mindspore/python/mindspore/profiler/common/util.py diff --git a/mindspore/profiler/common/validator/__init__.py b/mindspore/python/mindspore/profiler/common/validator/__init__.py similarity index 100% rename from mindspore/profiler/common/validator/__init__.py rename to mindspore/python/mindspore/profiler/common/validator/__init__.py diff --git a/mindspore/profiler/common/validator/validate.py b/mindspore/python/mindspore/profiler/common/validator/validate.py similarity index 100% rename from mindspore/profiler/common/validator/validate.py rename to mindspore/python/mindspore/profiler/common/validator/validate.py diff --git a/mindspore/profiler/common/validator/validate_path.py b/mindspore/python/mindspore/profiler/common/validator/validate_path.py similarity index 100% rename from mindspore/profiler/common/validator/validate_path.py rename to mindspore/python/mindspore/profiler/common/validator/validate_path.py diff --git a/mindspore/profiler/parser/OWNERS b/mindspore/python/mindspore/profiler/parser/OWNERS similarity index 100% rename from mindspore/profiler/parser/OWNERS rename to mindspore/python/mindspore/profiler/parser/OWNERS diff --git a/mindspore/profiler/parser/__init__.py b/mindspore/python/mindspore/profiler/parser/__init__.py similarity index 100% rename from mindspore/profiler/parser/__init__.py rename to mindspore/python/mindspore/profiler/parser/__init__.py diff --git a/mindspore/profiler/parser/aicpu_data_parser.py b/mindspore/python/mindspore/profiler/parser/aicpu_data_parser.py similarity index 100% rename from mindspore/profiler/parser/aicpu_data_parser.py rename to mindspore/python/mindspore/profiler/parser/aicpu_data_parser.py diff --git a/mindspore/profiler/parser/container.py b/mindspore/python/mindspore/profiler/parser/container.py similarity index 100% rename from mindspore/profiler/parser/container.py rename to mindspore/python/mindspore/profiler/parser/container.py diff --git a/mindspore/profiler/parser/flops_parser.py b/mindspore/python/mindspore/profiler/parser/flops_parser.py similarity index 100% rename from mindspore/profiler/parser/flops_parser.py rename to mindspore/python/mindspore/profiler/parser/flops_parser.py diff --git a/mindspore/profiler/parser/framework_parser.py b/mindspore/python/mindspore/profiler/parser/framework_parser.py similarity index 100% rename from mindspore/profiler/parser/framework_parser.py rename to mindspore/python/mindspore/profiler/parser/framework_parser.py diff --git a/mindspore/profiler/parser/hccl_parser.py b/mindspore/python/mindspore/profiler/parser/hccl_parser.py similarity index 100% rename from mindspore/profiler/parser/hccl_parser.py rename to mindspore/python/mindspore/profiler/parser/hccl_parser.py diff --git a/mindspore/profiler/parser/hwts_log_parser.py b/mindspore/python/mindspore/profiler/parser/hwts_log_parser.py similarity index 100% rename from mindspore/profiler/parser/hwts_log_parser.py rename to mindspore/python/mindspore/profiler/parser/hwts_log_parser.py diff --git a/mindspore/profiler/parser/integrator.py b/mindspore/python/mindspore/profiler/parser/integrator.py similarity index 100% rename from mindspore/profiler/parser/integrator.py rename to mindspore/python/mindspore/profiler/parser/integrator.py diff --git a/mindspore/profiler/parser/memory_usage_parser.py b/mindspore/python/mindspore/profiler/parser/memory_usage_parser.py similarity index 100% rename from mindspore/profiler/parser/memory_usage_parser.py rename to mindspore/python/mindspore/profiler/parser/memory_usage_parser.py diff --git a/mindspore/profiler/parser/minddata_analyzer.py b/mindspore/python/mindspore/profiler/parser/minddata_analyzer.py similarity index 100% rename from mindspore/profiler/parser/minddata_analyzer.py rename to mindspore/python/mindspore/profiler/parser/minddata_analyzer.py diff --git a/mindspore/profiler/parser/minddata_parser.py b/mindspore/python/mindspore/profiler/parser/minddata_parser.py similarity index 100% rename from mindspore/profiler/parser/minddata_parser.py rename to mindspore/python/mindspore/profiler/parser/minddata_parser.py diff --git a/mindspore/profiler/parser/minddata_pipeline_parser.py b/mindspore/python/mindspore/profiler/parser/minddata_pipeline_parser.py similarity index 100% rename from mindspore/profiler/parser/minddata_pipeline_parser.py rename to mindspore/python/mindspore/profiler/parser/minddata_pipeline_parser.py diff --git a/mindspore/profiler/parser/optime_parser.py b/mindspore/python/mindspore/profiler/parser/optime_parser.py similarity index 100% rename from mindspore/profiler/parser/optime_parser.py rename to mindspore/python/mindspore/profiler/parser/optime_parser.py diff --git a/mindspore/profiler/parser/step_trace_parser.py b/mindspore/python/mindspore/profiler/parser/step_trace_parser.py similarity index 100% rename from mindspore/profiler/parser/step_trace_parser.py rename to mindspore/python/mindspore/profiler/parser/step_trace_parser.py diff --git a/mindspore/profiler/profiling.py b/mindspore/python/mindspore/profiler/profiling.py similarity index 100% rename from mindspore/profiler/profiling.py rename to mindspore/python/mindspore/profiler/profiling.py diff --git a/mindspore/run_check/__init__.py b/mindspore/python/mindspore/run_check/__init__.py similarity index 100% rename from mindspore/run_check/__init__.py rename to mindspore/python/mindspore/run_check/__init__.py diff --git a/mindspore/run_check/_check_deps_version.py b/mindspore/python/mindspore/run_check/_check_deps_version.py similarity index 100% rename from mindspore/run_check/_check_deps_version.py rename to mindspore/python/mindspore/run_check/_check_deps_version.py diff --git a/mindspore/run_check/_check_version.py b/mindspore/python/mindspore/run_check/_check_version.py similarity index 100% rename from mindspore/run_check/_check_version.py rename to mindspore/python/mindspore/run_check/_check_version.py diff --git a/mindspore/run_check/run_check.py b/mindspore/python/mindspore/run_check/run_check.py similarity index 100% rename from mindspore/run_check/run_check.py rename to mindspore/python/mindspore/run_check/run_check.py diff --git a/mindspore/scipy/OWNERS b/mindspore/python/mindspore/scipy/OWNERS similarity index 100% rename from mindspore/scipy/OWNERS rename to mindspore/python/mindspore/scipy/OWNERS diff --git a/mindspore/scipy/__init__.py b/mindspore/python/mindspore/scipy/__init__.py similarity index 100% rename from mindspore/scipy/__init__.py rename to mindspore/python/mindspore/scipy/__init__.py diff --git a/mindspore/scipy/linalg.py b/mindspore/python/mindspore/scipy/linalg.py similarity index 100% rename from mindspore/scipy/linalg.py rename to mindspore/python/mindspore/scipy/linalg.py diff --git a/mindspore/scipy/ops.py b/mindspore/python/mindspore/scipy/ops.py similarity index 100% rename from mindspore/scipy/ops.py rename to mindspore/python/mindspore/scipy/ops.py diff --git a/mindspore/scipy/optimize/__init__.py b/mindspore/python/mindspore/scipy/optimize/__init__.py similarity index 100% rename from mindspore/scipy/optimize/__init__.py rename to mindspore/python/mindspore/scipy/optimize/__init__.py diff --git a/mindspore/scipy/optimize/_bfgs.py b/mindspore/python/mindspore/scipy/optimize/_bfgs.py similarity index 100% rename from mindspore/scipy/optimize/_bfgs.py rename to mindspore/python/mindspore/scipy/optimize/_bfgs.py diff --git a/mindspore/scipy/optimize/line_search.py b/mindspore/python/mindspore/scipy/optimize/line_search.py similarity index 100% rename from mindspore/scipy/optimize/line_search.py rename to mindspore/python/mindspore/scipy/optimize/line_search.py diff --git a/mindspore/scipy/optimize/minimize.py b/mindspore/python/mindspore/scipy/optimize/minimize.py similarity index 100% rename from mindspore/scipy/optimize/minimize.py rename to mindspore/python/mindspore/scipy/optimize/minimize.py diff --git a/mindspore/scipy/sparse/__init__.py b/mindspore/python/mindspore/scipy/sparse/__init__.py similarity index 100% rename from mindspore/scipy/sparse/__init__.py rename to mindspore/python/mindspore/scipy/sparse/__init__.py diff --git a/mindspore/scipy/sparse/linalg.py b/mindspore/python/mindspore/scipy/sparse/linalg.py similarity index 100% rename from mindspore/scipy/sparse/linalg.py rename to mindspore/python/mindspore/scipy/sparse/linalg.py diff --git a/mindspore/scipy/utils.py b/mindspore/python/mindspore/scipy/utils.py similarity index 100% rename from mindspore/scipy/utils.py rename to mindspore/python/mindspore/scipy/utils.py diff --git a/mindspore/scipy/utils_const.py b/mindspore/python/mindspore/scipy/utils_const.py similarity index 100% rename from mindspore/scipy/utils_const.py rename to mindspore/python/mindspore/scipy/utils_const.py diff --git a/mindspore/train/OWNERS b/mindspore/python/mindspore/train/OWNERS similarity index 100% rename from mindspore/train/OWNERS rename to mindspore/python/mindspore/train/OWNERS diff --git a/mindspore/train/__init__.py b/mindspore/python/mindspore/train/__init__.py similarity index 100% rename from mindspore/train/__init__.py rename to mindspore/python/mindspore/train/__init__.py diff --git a/mindspore/train/_utils.py b/mindspore/python/mindspore/train/_utils.py similarity index 100% rename from mindspore/train/_utils.py rename to mindspore/python/mindspore/train/_utils.py diff --git a/mindspore/train/amp.py b/mindspore/python/mindspore/train/amp.py similarity index 100% rename from mindspore/train/amp.py rename to mindspore/python/mindspore/train/amp.py diff --git a/mindspore/train/callback/__init__.py b/mindspore/python/mindspore/train/callback/__init__.py similarity index 100% rename from mindspore/train/callback/__init__.py rename to mindspore/python/mindspore/train/callback/__init__.py diff --git a/mindspore/train/callback/_callback.py b/mindspore/python/mindspore/train/callback/_callback.py similarity index 100% rename from mindspore/train/callback/_callback.py rename to mindspore/python/mindspore/train/callback/_callback.py diff --git a/mindspore/train/callback/_checkpoint.py b/mindspore/python/mindspore/train/callback/_checkpoint.py similarity index 100% rename from mindspore/train/callback/_checkpoint.py rename to mindspore/python/mindspore/train/callback/_checkpoint.py diff --git a/mindspore/train/callback/_dataset_graph.py b/mindspore/python/mindspore/train/callback/_dataset_graph.py similarity index 100% rename from mindspore/train/callback/_dataset_graph.py rename to mindspore/python/mindspore/train/callback/_dataset_graph.py diff --git a/mindspore/train/callback/_fl_manager.py b/mindspore/python/mindspore/train/callback/_fl_manager.py similarity index 100% rename from mindspore/train/callback/_fl_manager.py rename to mindspore/python/mindspore/train/callback/_fl_manager.py diff --git a/mindspore/train/callback/_landscape.py b/mindspore/python/mindspore/train/callback/_landscape.py similarity index 100% rename from mindspore/train/callback/_landscape.py rename to mindspore/python/mindspore/train/callback/_landscape.py diff --git a/mindspore/train/callback/_loss_monitor.py b/mindspore/python/mindspore/train/callback/_loss_monitor.py similarity index 100% rename from mindspore/train/callback/_loss_monitor.py rename to mindspore/python/mindspore/train/callback/_loss_monitor.py diff --git a/mindspore/train/callback/_lr_scheduler_callback.py b/mindspore/python/mindspore/train/callback/_lr_scheduler_callback.py similarity index 100% rename from mindspore/train/callback/_lr_scheduler_callback.py rename to mindspore/python/mindspore/train/callback/_lr_scheduler_callback.py diff --git a/mindspore/train/callback/_summary_collector.py b/mindspore/python/mindspore/train/callback/_summary_collector.py similarity index 100% rename from mindspore/train/callback/_summary_collector.py rename to mindspore/python/mindspore/train/callback/_summary_collector.py diff --git a/mindspore/train/callback/_time_monitor.py b/mindspore/python/mindspore/train/callback/_time_monitor.py similarity index 100% rename from mindspore/train/callback/_time_monitor.py rename to mindspore/python/mindspore/train/callback/_time_monitor.py diff --git a/mindspore/train/dataset_helper.py b/mindspore/python/mindspore/train/dataset_helper.py similarity index 100% rename from mindspore/train/dataset_helper.py rename to mindspore/python/mindspore/train/dataset_helper.py diff --git a/mindspore/train/loss_scale_manager.py b/mindspore/python/mindspore/train/loss_scale_manager.py similarity index 100% rename from mindspore/train/loss_scale_manager.py rename to mindspore/python/mindspore/train/loss_scale_manager.py diff --git a/mindspore/train/model.py b/mindspore/python/mindspore/train/model.py similarity index 100% rename from mindspore/train/model.py rename to mindspore/python/mindspore/train/model.py diff --git a/mindspore/train/serialization.py b/mindspore/python/mindspore/train/serialization.py similarity index 100% rename from mindspore/train/serialization.py rename to mindspore/python/mindspore/train/serialization.py diff --git a/mindspore/train/summary/__init__.py b/mindspore/python/mindspore/train/summary/__init__.py similarity index 100% rename from mindspore/train/summary/__init__.py rename to mindspore/python/mindspore/train/summary/__init__.py diff --git a/mindspore/train/summary/_lineage_adapter.py b/mindspore/python/mindspore/train/summary/_lineage_adapter.py similarity index 100% rename from mindspore/train/summary/_lineage_adapter.py rename to mindspore/python/mindspore/train/summary/_lineage_adapter.py diff --git a/mindspore/train/summary/_summary_adapter.py b/mindspore/python/mindspore/train/summary/_summary_adapter.py similarity index 100% rename from mindspore/train/summary/_summary_adapter.py rename to mindspore/python/mindspore/train/summary/_summary_adapter.py diff --git a/mindspore/train/summary/_writer_pool.py b/mindspore/python/mindspore/train/summary/_writer_pool.py similarity index 100% rename from mindspore/train/summary/_writer_pool.py rename to mindspore/python/mindspore/train/summary/_writer_pool.py diff --git a/mindspore/train/summary/enums.py b/mindspore/python/mindspore/train/summary/enums.py similarity index 100% rename from mindspore/train/summary/enums.py rename to mindspore/python/mindspore/train/summary/enums.py diff --git a/mindspore/train/summary/summary_record.py b/mindspore/python/mindspore/train/summary/summary_record.py similarity index 100% rename from mindspore/train/summary/summary_record.py rename to mindspore/python/mindspore/train/summary/summary_record.py diff --git a/mindspore/train/summary/writer.py b/mindspore/python/mindspore/train/summary/writer.py similarity index 100% rename from mindspore/train/summary/writer.py rename to mindspore/python/mindspore/train/summary/writer.py diff --git a/mindspore/train/train_thor/__init__.py b/mindspore/python/mindspore/train/train_thor/__init__.py similarity index 100% rename from mindspore/train/train_thor/__init__.py rename to mindspore/python/mindspore/train/train_thor/__init__.py diff --git a/mindspore/train/train_thor/convert_utils.py b/mindspore/python/mindspore/train/train_thor/convert_utils.py similarity index 100% rename from mindspore/train/train_thor/convert_utils.py rename to mindspore/python/mindspore/train/train_thor/convert_utils.py diff --git a/mindspore/train/train_thor/dataset_helper.py b/mindspore/python/mindspore/train/train_thor/dataset_helper.py similarity index 100% rename from mindspore/train/train_thor/dataset_helper.py rename to mindspore/python/mindspore/train/train_thor/dataset_helper.py diff --git a/mindspore/train/train_thor/model_thor.py b/mindspore/python/mindspore/train/train_thor/model_thor.py similarity index 100% rename from mindspore/train/train_thor/model_thor.py rename to mindspore/python/mindspore/train/train_thor/model_thor.py diff --git a/setup.py b/setup.py index 6344ccdddae..b1581b1c499 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ def build_dependencies(): with open(version_file, 'w') as f: _write_version(f) - version_file = os.path.join(pwd, 'mindspore', 'version.py') + version_file = os.path.join(pwd, 'mindspore/python/mindspore', 'version.py') with open(version_file, 'w') as f: _write_version(f) @@ -76,7 +76,7 @@ def build_dependencies(): with open(config_file, 'w') as f: _write_config(f) - config_file = os.path.join(pwd, 'mindspore', 'default_config.py') + config_file = os.path.join(pwd, 'mindspore/python/mindspore', 'default_config.py') with open(config_file, 'w') as f: _write_config(f) @@ -84,7 +84,7 @@ def build_dependencies(): with open(target, 'a') as f: _write_device_target(f) - target = os.path.join(pwd, 'mindspore', 'default_config.py') + target = os.path.join(pwd, 'mindspore/python/mindspore', 'default_config.py') with open(target, 'a') as f: _write_device_target(f) @@ -92,7 +92,7 @@ def build_dependencies(): with open(package_info, 'a') as f: _write_package_name(f) - package_info = os.path.join(pwd, 'mindspore', 'default_config.py') + package_info = os.path.join(pwd, 'mindspore/python/mindspore', 'default_config.py') with open(package_info, 'a') as f: _write_package_name(f) @@ -100,7 +100,7 @@ def build_dependencies(): with open(commit_file, 'w') as f: _write_commit_file(f) - commit_file = os.path.join(pwd, 'mindspore', '.commit_id') + commit_file = os.path.join(pwd, 'mindspore/python/mindspore', '.commit_id') with open(commit_file, 'w') as f: _write_commit_file(f) diff --git a/tests/ut/cpp/runtest.sh b/tests/ut/cpp/runtest.sh index 29a9b2a7a97..867915d58a9 100755 --- a/tests/ut/cpp/runtest.sh +++ b/tests/ut/cpp/runtest.sh @@ -26,10 +26,11 @@ fi cd ${BUILD_PATH}/mindspore/tests/ut/cpp -export LD_LIBRARY_PATH=${BUILD_PATH}/mindspore/googletest/googlemock/gtest:${PROJECT_PATH}/mindspore:\ -${PROJECT_PATH}/mindspore/lib:${PROJECT_PATH}/graphengine/third_party/prebuild/x86_64:\ +export LD_LIBRARY_PATH=${BUILD_PATH}/mindspore/googletest/googlemock/gtest:${PROJECT_PATH}/mindspore/python/mindspore:\ +${PROJECT_PATH}/mindspore/python/mindspore/lib:${PROJECT_PATH}/graphengine/third_party/prebuild/x86_64:\ ${PROJECT_PATH}/graphengine/third_party/prebuild/aarch64:${LD_LIBRARY_PATH} -export PYTHONPATH=${PROJECT_PATH}/tests/ut/cpp/python_input:$PYTHONPATH:${PROJECT_PATH}:${PROJECT_PATH}/tests/ut/python +export PYTHONPATH=${PROJECT_PATH}/tests/ut/cpp/python_input:$PYTHONPATH:${PROJECT_PATH}/mindspore/python:\ +${PROJECT_PATH}/tests/ut/python:${PROJECT_PATH} export GLOG_v=2 export GC_COLLECT_IN_CELL=1 ## set op info config path diff --git a/tests/ut/python/env.sh b/tests/ut/python/env.sh new file mode 100644 index 00000000000..23fadfd22ac --- /dev/null +++ b/tests/ut/python/env.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# Copyright 2021 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ +CURRPATH=$(dirname "${BASH_SOURCE-$0}") +PROJECT_PATH=$(cd ${CURRPATH}/../../.. || exit; pwd) + +if [ $BUILD_PATH ];then + echo "BUILD_PATH = $BUILD_PATH" +else + BUILD_PATH=${PROJECT_PATH}/build + echo "BUILD_PATH = $BUILD_PATH" +fi + +MINDSPORE_PYTHON=${PROJECT_PATH}/mindspore/python + +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${BUILD_PATH}/third_party/gtest/lib +export PYTHONPATH=$PYTHONPATH:${MINDSPORE_PYTHON}:${PROJECT_PATH}/tests/ut/cpp/python_input:${PROJECT_PATH}/tests/ut/python +echo "export PYTHONPATH=$PYTHONPATH" +export GC_COLLECT_IN_CELL=1 \ No newline at end of file diff --git a/tests/ut/python/runtest.sh b/tests/ut/python/runtest.sh index f4b67afc52c..5cf3f4481a2 100755 --- a/tests/ut/python/runtest.sh +++ b/tests/ut/python/runtest.sh @@ -15,19 +15,8 @@ # ============================================================================ CURRPATH=$(cd "$(dirname $0)" || exit; pwd) IGNORE_EXEC="--ignore=$CURRPATH/exec" -PROJECT_PATH=$(cd ${CURRPATH}/../../.. || exit; pwd) -if [ $BUILD_PATH ];then - echo "BUILD_PATH = $BUILD_PATH" -else - BUILD_PATH=${PROJECT_PATH}/build - echo "BUILD_PATH = $BUILD_PATH" -fi - -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${BUILD_PATH}/third_party/gtest/lib -export PYTHONPATH=$PYTHONPATH:${PROJECT_PATH}:${PROJECT_PATH}/tests/ut/cpp/python_input:${PROJECT_PATH}/tests/ut/python -echo "export PYTHONPATH=$PYTHONPATH" -export GC_COLLECT_IN_CELL=1 +source $CURRPATH/env.sh if [ $# -eq 1 ] && ([ "$1" == "stage1" ] || [ "$1" == "stage2" ] || [ "$1" == "stage3" ] || [ "$1" == "stage4" ]); then if [ $1 == "stage1" ]; then