mindspore 2.6.0__cp311-none-any.whl → 2.7.0__cp311-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mindspore might be problematic. Click here for more details.

Files changed (4804) hide show
  1. mindspore/.commit_id +1 -1
  2. mindspore/Third_Party_Open_Source_Software_Notice +1290 -0
  3. mindspore/__init__.py +2 -2
  4. mindspore/_c_dataengine.cpython-311-aarch64-linux-gnu.so +0 -0
  5. mindspore/_c_expression.cpython-311-aarch64-linux-gnu.so +0 -0
  6. mindspore/_c_mindrecord.cpython-311-aarch64-linux-gnu.so +0 -0
  7. mindspore/_checkparam.py +42 -11
  8. mindspore/_extends/builtin_operations.py +3 -3
  9. mindspore/_extends/optimize/__init__.py +23 -0
  10. mindspore/_extends/optimize/cell_utils.py +96 -0
  11. mindspore/_extends/parallel_compile/akg_compiler/custom.py +1109 -0
  12. mindspore/_extends/parallel_compile/akg_compiler/gen_custom_op_files.py +1 -1
  13. mindspore/_extends/parse/__init__.py +3 -3
  14. mindspore/_extends/parse/compile_config.py +44 -22
  15. mindspore/_extends/parse/deprecated/deprecated_tensor_method.py +1 -2
  16. mindspore/_extends/parse/parser.py +64 -83
  17. mindspore/_extends/parse/resources.py +39 -0
  18. mindspore/_extends/parse/standard_method.py +47 -14
  19. mindspore/_extends/parse/trope.py +8 -1
  20. mindspore/_extends/pijit/__init__.py +1 -2
  21. mindspore/_extends/pijit/pijit_func_white_list.py +2 -5
  22. mindspore/amp.py +4 -22
  23. mindspore/boost/adasum.py +1 -1
  24. mindspore/boost/boost_cell_wrapper.py +4 -4
  25. mindspore/common/__init__.py +43 -12
  26. mindspore/common/_grad_function.py +2 -1
  27. mindspore/common/_pijit_context.py +28 -7
  28. mindspore/common/_stub_tensor.py +1 -209
  29. mindspore/common/_tensor_cpp_method.py +1 -1
  30. mindspore/common/_tensor_docs.py +3124 -2999
  31. mindspore/common/_utils.py +9 -1
  32. mindspore/common/api.py +338 -208
  33. mindspore/common/dtype.py +108 -57
  34. mindspore/common/dump.py +11 -16
  35. mindspore/common/dynamic_shape/__init__.py +0 -0
  36. mindspore/common/dynamic_shape/auto_dynamic_shape.py +498 -0
  37. mindspore/common/dynamic_shape/enable_dynamic.py +197 -0
  38. mindspore/common/file_system.py +59 -9
  39. mindspore/common/generator.py +2 -3
  40. mindspore/common/hook_handle.py +33 -5
  41. mindspore/common/jit_config.py +1 -1
  42. mindspore/common/jit_trace.py +84 -105
  43. mindspore/common/np_dtype.py +3 -3
  44. mindspore/common/parameter.py +27 -29
  45. mindspore/common/recompute.py +5 -7
  46. mindspore/common/sparse_tensor.py +0 -3
  47. mindspore/common/symbol.py +0 -1
  48. mindspore/common/tensor.py +84 -133
  49. mindspore/communication/_comm_helper.py +46 -4
  50. mindspore/communication/management.py +79 -7
  51. mindspore/context.py +47 -38
  52. mindspore/dataset/__init__.py +1 -1
  53. mindspore/dataset/audio/transforms.py +1 -1
  54. mindspore/dataset/core/config.py +38 -4
  55. mindspore/dataset/engine/datasets.py +350 -322
  56. mindspore/dataset/engine/datasets_user_defined.py +69 -23
  57. mindspore/dataset/engine/iterators.py +2 -2
  58. mindspore/dataset/engine/obs/config_loader.py +2 -2
  59. mindspore/dataset/engine/obs/obs_mindrecord_dataset.py +8 -0
  60. mindspore/dataset/transforms/c_transforms.py +2 -2
  61. mindspore/dataset/transforms/py_transforms.py +7 -3
  62. mindspore/dataset/transforms/transforms.py +10 -6
  63. mindspore/dataset/vision/__init__.py +1 -1
  64. mindspore/dataset/vision/py_transforms.py +8 -8
  65. mindspore/dataset/vision/transforms.py +17 -5
  66. mindspore/dataset/vision/utils.py +632 -21
  67. mindspore/dataset/vision/validators.py +1 -0
  68. mindspore/device_context/ascend/device.py +1 -1
  69. mindspore/device_context/ascend/op_tuning.py +35 -1
  70. mindspore/device_context/gpu/__init__.py +2 -2
  71. mindspore/device_context/gpu/device.py +1 -1
  72. mindspore/device_context/gpu/op_precision.py +4 -2
  73. mindspore/device_context/gpu/op_tuning.py +6 -3
  74. mindspore/device_manager.py +16 -9
  75. mindspore/experimental/llm_boost/ascend_native/llama_boost_ascend_native.py +5 -4
  76. mindspore/experimental/llm_boost/atb/boost_base.py +2 -3
  77. mindspore/experimental/optim/adadelta.py +13 -20
  78. mindspore/experimental/optim/adagrad.py +15 -22
  79. mindspore/experimental/optim/adam.py +17 -24
  80. mindspore/experimental/optim/adamax.py +14 -22
  81. mindspore/experimental/optim/adamw.py +28 -34
  82. mindspore/experimental/optim/asgd.py +15 -25
  83. mindspore/experimental/optim/lr_scheduler.py +27 -45
  84. mindspore/experimental/optim/nadam.py +14 -24
  85. mindspore/experimental/optim/optimizer.py +13 -23
  86. mindspore/experimental/optim/radam.py +18 -24
  87. mindspore/experimental/optim/rmsprop.py +14 -25
  88. mindspore/experimental/optim/rprop.py +15 -26
  89. mindspore/experimental/optim/sgd.py +9 -19
  90. mindspore/hal/__init__.py +4 -4
  91. mindspore/hal/contiguous_tensors_handle.py +2 -2
  92. mindspore/hal/memory.py +1 -0
  93. mindspore/include/api/cell.h +65 -5
  94. mindspore/include/api/cfg.h +24 -7
  95. mindspore/include/api/context.h +1 -0
  96. mindspore/include/api/delegate.h +10 -2
  97. mindspore/include/api/dual_abi_helper.h +100 -19
  98. mindspore/include/api/graph.h +14 -1
  99. mindspore/include/api/kernel.h +16 -3
  100. mindspore/include/api/kernel_api.h +9 -1
  101. mindspore/include/api/metrics/accuracy.h +9 -0
  102. mindspore/include/api/model.h +8 -1
  103. mindspore/include/api/model_group.h +4 -0
  104. mindspore/include/api/model_parallel_runner.h +2 -0
  105. mindspore/include/api/status.h +48 -10
  106. mindspore/include/api/types.h +8 -3
  107. mindspore/include/c_api/model_c.h +0 -58
  108. mindspore/include/c_api/tensor_c.h +0 -26
  109. mindspore/include/dataset/constants.h +9 -0
  110. mindspore/include/dataset/vision_ascend.h +1 -1
  111. mindspore/include/mindapi/base/type_id.h +3 -0
  112. mindspore/include/mindapi/base/types.h +7 -0
  113. mindspore/include/mindspore/ccsrc/availability/silent_check/silent_check.h +3 -4
  114. mindspore/include/mindspore/ccsrc/backend/backend_manager/backend_jit_config.h +47 -4
  115. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_cluster_cloud.h +1 -0
  116. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_comm_info_manager.h +1 -1
  117. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/eliminate_redundant_output.h +1 -0
  118. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/graph_kernel_expander.h +1 -1
  119. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/graph_kernel_utils.h +23 -1
  120. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/update_state_formatter.h +2 -1
  121. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/depend_edge_elimination.h +61 -0
  122. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/graph_kernel_flags.h +10 -1
  123. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/lite_graph.h +1 -1
  124. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/node.h +5 -6
  125. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse.h +1 -2
  126. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse_checker.h +0 -1
  127. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_swap_manager.h +0 -1
  128. mindspore/include/mindspore/ccsrc/backend/common/optimizer/cache_manager.h +1 -1
  129. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/convert_custom_op.h +2 -2
  130. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/link_custom_op.h +1 -1
  131. mindspore/include/mindspore/ccsrc/backend/common/pass/add_attr_to_node/add_attr_to_node_register.h +1 -3
  132. mindspore/include/mindspore/ccsrc/backend/common/pass/adjust_depend_for_parallel_optimizer_recompute_all_gather.h +1 -1
  133. mindspore/include/mindspore/ccsrc/backend/common/pass/convert_list_to_tuple.h +2 -1
  134. mindspore/include/mindspore/ccsrc/backend/common/pass/custom_defined_depend.h +1 -3
  135. mindspore/include/mindspore/ccsrc/backend/common/pass/gradients_allreduce_depend_last_send.h +1 -2
  136. mindspore/include/mindspore/ccsrc/backend/common/pass/graph_view_replace_pass.h +1 -1
  137. mindspore/include/mindspore/ccsrc/backend/common/pass/insert_tensor_move_for_communication.h +2 -1
  138. mindspore/include/mindspore/ccsrc/backend/common/pass/ir_fusion/flash_attention_fusion.h +72 -0
  139. mindspore/include/mindspore/ccsrc/backend/common/pass/label_1f1b_overlap_node.h +1 -1
  140. mindspore/include/mindspore/ccsrc/backend/common/pass/mindir/add_depend_for_adamw.h +1 -3
  141. mindspore/include/mindspore/ccsrc/backend/common/pass/mindir/all_to_all_unify_mindir.h +8 -1
  142. mindspore/include/mindspore/ccsrc/backend/common/pass/optimize_gradients_allreduce_overlap.h +1 -1
  143. mindspore/include/mindspore/ccsrc/backend/common/pass/replace_node_by_proxy.h +1 -0
  144. mindspore/include/mindspore/ccsrc/backend/common/session/exec_order_builder.h +0 -2
  145. mindspore/include/mindspore/ccsrc/backend/common/session/executor.h +0 -41
  146. mindspore/include/mindspore/ccsrc/backend/common/session/kernel_graph_mgr.h +14 -10
  147. mindspore/include/mindspore/ccsrc/backend/common/session/session_basic.h +15 -31
  148. mindspore/include/mindspore/ccsrc/backend/common/somas/somas.h +1 -1
  149. mindspore/include/mindspore/ccsrc/backend/common/somas/somas_node.h +8 -2
  150. mindspore/include/mindspore/ccsrc/backend/ge_backend/dump/hook_dynamic_loader.h +5 -0
  151. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_device_res_manager.h +1 -2
  152. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_graph_executor.h +13 -14
  153. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_utils.h +0 -2
  154. mindspore/include/mindspore/ccsrc/backend/ge_backend/ge_backend.h +10 -9
  155. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/convert.h +2 -1
  156. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/graph_runner.h +2 -1
  157. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/utils.h +12 -14
  158. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_fusion.h +51 -0
  159. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/abstract_actor.h +26 -19
  160. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_common.h +14 -5
  161. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_dump.h +2 -1
  162. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_set.h +1 -1
  163. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/control_actor.h +38 -38
  164. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/entrance_actor.h +9 -9
  165. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/exit_actor.h +8 -8
  166. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/gather_actor.h +6 -6
  167. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/stack_actor.h +11 -11
  168. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/switch_actor.h +2 -2
  169. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_prepare_actor.h +16 -16
  170. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_source_actor.h +9 -9
  171. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_actor.h +8 -8
  172. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_aware_actor.h +2 -2
  173. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/loop_count_actor.h +6 -6
  174. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_aware_actor.h +6 -6
  175. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_manager_actor.h +8 -11
  176. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/output_actor.h +8 -5
  177. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/profiler_actor.h +2 -2
  178. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/recorder_actor.h +2 -2
  179. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/super_kernel_actor.h +17 -17
  180. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/device_tensor_store.h +24 -24
  181. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_compiler.h +8 -12
  182. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_partition.h +49 -0
  183. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/scheduler_helper.h +1 -1
  184. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/segment_runner.h +50 -0
  185. mindspore/include/mindspore/ccsrc/backend/ge_backend/utils/device_address_utils.h +4 -7
  186. mindspore/include/mindspore/ccsrc/backend/graph_compiler/op_backend.h +13 -24
  187. mindspore/include/mindspore/ccsrc/backend/graph_compiler/transform.h +2 -8
  188. mindspore/include/mindspore/ccsrc/backend/graph_compiler/vm.h +1 -5
  189. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend.h +0 -39
  190. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend_base.h +10 -5
  191. mindspore/include/mindspore/ccsrc/debug/checksum/checksum.h +35 -0
  192. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_kernel.h +64 -0
  193. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_mgr.h +50 -0
  194. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/check_overflow.h +1 -11
  195. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/common.h +0 -13
  196. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/kernel_launcher.h +3 -3
  197. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mean.h +1 -1
  198. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mem_manager.h +65 -0
  199. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/statistic_kernel.h +7 -8
  200. mindspore/include/mindspore/ccsrc/debug/data_dump/overflow_counter.h +6 -1
  201. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_info_collect.h +21 -6
  202. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_statistic.h +2 -2
  203. mindspore/include/mindspore/ccsrc/debug/debug_services.h +1 -4
  204. mindspore/include/mindspore/ccsrc/debug/debugger/debugger_utils.h +7 -8
  205. mindspore/include/mindspore/ccsrc/debug/debugger/tensor_summary.h +0 -53
  206. mindspore/include/mindspore/ccsrc/debug/dump/tensordump_control.h +6 -2
  207. mindspore/include/mindspore/ccsrc/debug/dump/utils.h +30 -0
  208. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_impl.h +37 -24
  209. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_symbol.h +63 -4
  210. mindspore/include/mindspore/ccsrc/debug/profiler/profiler.h +37 -15
  211. mindspore/include/mindspore/ccsrc/debug/profiler/profiling.h +9 -6
  212. mindspore/include/mindspore/ccsrc/debug/profiler/profiling_framework_data.h +2 -0
  213. mindspore/include/mindspore/ccsrc/debug/profiler/python_obj_pointer.h +7 -7
  214. mindspore/include/mindspore/ccsrc/debug/profiler/report_data.h +23 -0
  215. mindspore/include/mindspore/ccsrc/debug/profiler/thread.h +2 -2
  216. mindspore/include/mindspore/ccsrc/debug/summary/summary.h +1 -1
  217. mindspore/include/mindspore/ccsrc/debug/utils.h +0 -5
  218. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_proxy.h +1 -1
  219. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_service.h +0 -2
  220. mindspore/include/mindspore/ccsrc/distributed/cluster/topology/meta_server_node.h +5 -5
  221. mindspore/include/mindspore/ccsrc/distributed/persistent/storage/local_file.h +0 -1
  222. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/connection.h +0 -1
  223. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/socket_operation.h +0 -1
  224. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_comm.h +0 -1
  225. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_socket_operation.h +0 -1
  226. mindspore/include/mindspore/ccsrc/frontend/ir/primitive_py.h +1 -1
  227. mindspore/include/mindspore/ccsrc/frontend/ir/py_execute_py.h +11 -28
  228. mindspore/include/mindspore/ccsrc/frontend/ir/storage.h +44 -0
  229. mindspore/include/mindspore/ccsrc/frontend/ir/storage_base.h +45 -0
  230. mindspore/include/mindspore/ccsrc/frontend/ir/tensor_py.h +13 -22
  231. mindspore/include/mindspore/ccsrc/frontend/np_dtypes/np_dtypes.h +29 -0
  232. mindspore/include/mindspore/ccsrc/frontend/operator/composite/composite.h +73 -3
  233. mindspore/include/mindspore/ccsrc/frontend/operator/composite/functional_overload.h +46 -0
  234. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/meta_impl.h +113 -22
  235. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/utils.h +38 -61
  236. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any.h +27 -0
  237. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any_ext.h +27 -0
  238. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/conv3d_padding.h +41 -0
  239. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/einsum_ext.h +47 -0
  240. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/func_dropout_ext.h +28 -0
  241. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/func_max_pool2d.h +28 -0
  242. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/inplace_exponential.h +7 -4
  243. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/moe_token_unpermute.h +28 -0
  244. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/adjoint.h +22 -3
  245. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h +21 -10
  246. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/grad.h +5 -2
  247. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/pynative_jit_grad.h +11 -2
  248. mindspore/include/mindspore/ccsrc/frontend/optimizer/auto_monad_eliminate.h +3 -13
  249. mindspore/include/mindspore/ccsrc/frontend/optimizer/cse_pass.h +3 -7
  250. mindspore/include/mindspore/ccsrc/frontend/optimizer/graph_transform.h +3 -2
  251. mindspore/include/mindspore/ccsrc/frontend/optimizer/inplace_input_replace.h +30 -0
  252. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/add_forward_monad_depend.h +51 -37
  253. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h +7 -104
  254. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/call_graph_tuple_transform.h +2 -1
  255. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/check_invalid_view_inplace_dout.h +46 -0
  256. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/const_output_eliminate.h +4 -0
  257. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/expand_dump_flag.h +1 -0
  258. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/get_grad_eliminate.h +5 -1
  259. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/incorporate_call.h +3 -3
  260. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/inline.h +35 -9
  261. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_dict_eliminate.h +3 -1
  262. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_tuple_or_list_eliminate.h +1 -17
  263. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/j_node_and_user_rematch.h +1 -1
  264. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/loop_unroll.h +1 -0
  265. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/parameter_eliminate.h +3 -3
  266. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/partial_eliminate.h +5 -3
  267. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/recompute_prepare.h +1 -0
  268. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/special_op_eliminate.h +9 -3
  269. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stack_unstack_eliminate.h +13 -6
  270. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stopgrad_eliminate.h +3 -1
  271. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/switch_or_switch_layer_defer_inline.h +13 -5
  272. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass.h +7 -7
  273. mindspore/include/mindspore/ccsrc/frontend/optimizer/opt.h +10 -5
  274. mindspore/include/mindspore/ccsrc/frontend/optimizer/optimizer.h +55 -280
  275. mindspore/include/mindspore/ccsrc/frontend/optimizer/pattern_matcher.h +8 -2
  276. mindspore/include/mindspore/ccsrc/frontend/parallel/auto_parallel/operator_costmodel.h +5 -0
  277. mindspore/include/mindspore/ccsrc/frontend/parallel/costmodel_context.h +1 -1
  278. mindspore/include/mindspore/ccsrc/frontend/parallel/dynamic_creator.h +1 -1
  279. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/grad_accumulation_utils.h +1 -0
  280. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/graph_splitter.h +2 -0
  281. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/graph_utils.h +2 -1
  282. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/node_info.h +2 -0
  283. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/parallel_tensordump.h +49 -13
  284. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/activation_info.h +0 -11
  285. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/arithmetic_info.h +44 -0
  286. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/flash_attention_score_info.h +19 -19
  287. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/fused_infer_attention_score_info.h +14 -14
  288. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/gather_info.h +16 -0
  289. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/index_add_info.h +55 -0
  290. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/loss_info.h +34 -0
  291. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/matmul_info.h +14 -1
  292. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/operator_info.h +7 -2
  293. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/ops_utils.h +18 -1
  294. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/reduce_base_method_info.h +3 -1
  295. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.h +9 -4
  296. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/topprouter_info.h +55 -0
  297. mindspore/include/mindspore/ccsrc/frontend/parallel/parallel_preprocessor.h +1 -1
  298. mindspore/include/mindspore/ccsrc/frontend/parallel/parallel_processor.h +4 -3
  299. mindspore/include/mindspore/ccsrc/frontend/parallel/parameter_manager.h +0 -1
  300. mindspore/include/mindspore/ccsrc/frontend/parallel/pass/merge_recompute_call_nodes.h +28 -0
  301. mindspore/include/mindspore/ccsrc/frontend/parallel/pass/overlap_recompute_comm.h +28 -0
  302. mindspore/include/mindspore/ccsrc/frontend/parallel/pipeline_transformer/detach_backward.h +70 -0
  303. mindspore/include/mindspore/ccsrc/frontend/parallel/pipeline_transformer/pipeline_interleave.h +14 -3
  304. mindspore/include/mindspore/ccsrc/frontend/parallel/pipeline_transformer/zero_bubble_v.h +124 -0
  305. mindspore/include/mindspore/ccsrc/frontend/parallel/step_parallel_utils.h +10 -3
  306. mindspore/include/mindspore/ccsrc/frontend/parallel/tensor_layout/tensor_layout.h +3 -0
  307. mindspore/include/mindspore/ccsrc/frontend/parallel/tensor_layout/tensor_transform.h +1 -1
  308. mindspore/include/mindspore/ccsrc/include/backend/anf_runtime_algorithm.h +29 -13
  309. mindspore/include/mindspore/ccsrc/include/backend/data_queue/data_queue_mgr.h +1 -5
  310. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_control.h +1 -0
  311. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_json_parser.h +4 -5
  312. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_utils.h +1 -0
  313. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/tensor_stat_dump.h +0 -3
  314. mindspore/include/mindspore/ccsrc/include/backend/debug/debugger/debugger.h +0 -2
  315. mindspore/include/mindspore/ccsrc/include/backend/debug/execute_order_tracker/execute_order_tracker.h +14 -4
  316. mindspore/include/mindspore/ccsrc/include/backend/debug/tensor_data.h +0 -19
  317. mindspore/include/mindspore/ccsrc/include/backend/distributed/cluster/tcp_store.h +53 -0
  318. mindspore/include/mindspore/ccsrc/include/backend/distributed/collective/collective_manager.h +17 -10
  319. mindspore/include/mindspore/ccsrc/include/backend/distributed/constants.h +1 -10
  320. mindspore/include/mindspore/ccsrc/include/backend/distributed/embedding_cache/embedding_hash_map.h +0 -2
  321. mindspore/include/mindspore/ccsrc/include/backend/distributed/ps/ps_context.h +0 -6
  322. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/tcp/constants.h +2 -1
  323. mindspore/include/mindspore/ccsrc/include/backend/kernel_graph.h +0 -1
  324. mindspore/include/mindspore/ccsrc/include/backend/kernel_info.h +8 -10
  325. mindspore/include/mindspore/ccsrc/include/backend/mbuf_device_address.h +5 -5
  326. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/abstract_dynamic_mem_pool.h +6 -5
  327. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/address_discretizer.h +63 -0
  328. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/dynamic_mem_pool.h +8 -0
  329. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/max_segment_tree.h +181 -0
  330. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_dynamic_allocator.h +0 -1
  331. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_pool_util.h +98 -0
  332. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_tracker.h +11 -107
  333. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/race_checker.h +64 -0
  334. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/tracker_graph.h +91 -0
  335. mindspore/include/mindspore/ccsrc/include/backend/optimizer/helper.h +0 -2
  336. mindspore/include/mindspore/ccsrc/include/backend/optimizer/inplace_node_pass.h +1 -9
  337. mindspore/include/mindspore/ccsrc/include/backend/optimizer/optimizer.h +3 -6
  338. mindspore/include/mindspore/ccsrc/include/backend/optimizer/pattern_engine.h +0 -2
  339. mindspore/include/mindspore/ccsrc/include/backend/optimizer/visitor.h +2 -0
  340. mindspore/include/mindspore/ccsrc/include/backend/py_execute_utils.h +2 -1
  341. mindspore/include/mindspore/ccsrc/include/common/debug/common.h +2 -1
  342. mindspore/include/mindspore/ccsrc/include/common/debug/draw.h +3 -1
  343. mindspore/include/mindspore/ccsrc/include/common/debug/dump_proto.h +2 -10
  344. mindspore/include/mindspore/ccsrc/include/common/expander/core/emitter.h +3 -2
  345. mindspore/include/mindspore/ccsrc/include/common/expander/core/node.h +1 -1
  346. mindspore/include/mindspore/ccsrc/include/common/fallback.h +9 -0
  347. mindspore/include/mindspore/ccsrc/include/common/pybind_api/api_register.h +7 -1
  348. mindspore/include/mindspore/ccsrc/include/common/pynative/abstract_converter.h +0 -4
  349. mindspore/include/mindspore/ccsrc/include/common/pynative/adapter.h +2 -5
  350. mindspore/include/mindspore/ccsrc/include/common/pynative/common_utils.h +5 -1
  351. mindspore/include/mindspore/ccsrc/include/common/pynative/grad_state.h +12 -0
  352. mindspore/include/mindspore/ccsrc/include/common/pynative/variable.h +326 -0
  353. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/runtime_conf.h +11 -7
  354. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/thread_bind_core.h +12 -10
  355. mindspore/include/mindspore/ccsrc/include/common/symbol_engine/symbol_engine_impl.h +16 -1
  356. mindspore/include/mindspore/ccsrc/include/common/utils/anfalgo.h +12 -2
  357. mindspore/include/mindspore/ccsrc/include/common/utils/comm_manager.h +0 -1
  358. mindspore/include/mindspore/ccsrc/include/common/utils/compile_cache_context.h +4 -2
  359. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils.h +18 -4
  360. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils_py.h +2 -10
  361. mindspore/include/mindspore/ccsrc/include/common/utils/cse.h +0 -1
  362. mindspore/include/mindspore/ccsrc/include/common/utils/json_operation_utils.h +1 -1
  363. mindspore/include/mindspore/ccsrc/include/common/utils/ms_device_shape_transfer.h +0 -1
  364. mindspore/include/mindspore/ccsrc/include/common/utils/parallel_context.h +10 -2
  365. mindspore/include/mindspore/ccsrc/include/common/utils/python_adapter.h +3 -3
  366. mindspore/include/mindspore/ccsrc/include/common/utils/stub_tensor.h +1 -3
  367. mindspore/include/mindspore/ccsrc/include/common/utils/summary/event_writer.h +1 -1
  368. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py.h +24 -117
  369. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py_wrapper.h +1 -7
  370. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_utils.h +3 -3
  371. mindspore/include/mindspore/ccsrc/include/common/utils/utils.h +8 -8
  372. mindspore/include/mindspore/ccsrc/include/common/visible.h +0 -10
  373. mindspore/include/mindspore/ccsrc/kernel/environ_manager.h +2 -0
  374. mindspore/include/mindspore/ccsrc/kernel/graph_kernel_info.h +1 -1
  375. mindspore/include/mindspore/ccsrc/kernel/philox_random.h +47 -87
  376. mindspore/include/mindspore/ccsrc/minddata/dataset/api/python/python_mp.h +26 -6
  377. mindspore/include/mindspore/ccsrc/minddata/dataset/core/config_manager.h +9 -0
  378. mindspore/include/mindspore/ccsrc/minddata/dataset/core/cv_tensor.h +1 -1
  379. mindspore/include/mindspore/ccsrc/minddata/dataset/core/data_type.h +1 -56
  380. mindspore/include/mindspore/ccsrc/minddata/dataset/core/device_buffer.h +74 -0
  381. mindspore/include/mindspore/ccsrc/minddata/dataset/core/message_queue.h +29 -20
  382. mindspore/include/mindspore/ccsrc/minddata/dataset/core/shared_memory_queue.h +47 -2
  383. mindspore/include/mindspore/ccsrc/minddata/dataset/core/tensor.h +26 -2
  384. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/connector.h +7 -0
  385. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_info.h +61 -0
  386. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.h +28 -39
  387. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/cpu_map_job.h +3 -3
  388. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/gpu_map_job.h +3 -3
  389. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_job.h +2 -2
  390. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.h +12 -2
  391. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/npu_map_job.h +3 -3
  392. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/receive_bridge_op.h +4 -0
  393. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/send_bridge_op.h +1 -1
  394. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mindrecord_op.h +0 -1
  395. mindspore/include/mindspore/ccsrc/minddata/dataset/include/dataset/constants.h +9 -0
  396. mindspore/include/mindspore/ccsrc/minddata/dataset/include/dataset/vision_ascend.h +1 -1
  397. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/data/parse_example_op.h +19 -15
  398. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/acl_adapter.h +28 -1
  399. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteType.h +6 -1
  400. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteUtils.h +6 -1
  401. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/DvppCommon.h +1 -1
  402. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ErrorCode.h +2 -2
  403. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ThreadSafeQueue.h +3 -1
  404. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/VdecHelper.h +9 -12
  405. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/acl_plugin.h +19 -0
  406. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/dvpp_video.h +29 -10
  407. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/dvpp_video_utils.h +80 -0
  408. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h +1 -1
  409. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/container.h +100 -0
  410. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/context.h +102 -0
  411. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/format.h +45 -0
  412. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/frame.h +74 -0
  413. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/packet.h +59 -0
  414. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/pyav/stream.h +93 -0
  415. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/py_func_op.h +37 -0
  416. mindspore/include/mindspore/ccsrc/minddata/dataset/util/btree.h +1 -1
  417. mindspore/include/mindspore/ccsrc/minddata/dataset/util/command.h +29 -0
  418. mindspore/include/mindspore/ccsrc/minddata/dataset/util/cond_var.h +0 -1
  419. mindspore/include/mindspore/ccsrc/minddata/dataset/util/ftok_key.h +2 -2
  420. mindspore/include/mindspore/ccsrc/minddata/dataset/util/json_helper.h +1 -1
  421. mindspore/include/mindspore/ccsrc/minddata/dataset/util/log_adapter.h +0 -5
  422. mindspore/include/mindspore/ccsrc/minddata/dataset/util/queue.h +1 -1
  423. mindspore/include/mindspore/ccsrc/minddata/dataset/util/sig_handler.h +11 -3
  424. mindspore/include/mindspore/ccsrc/minddata/dataset/util/system_pool.h +1 -1
  425. mindspore/include/mindspore/ccsrc/minddata/dataset/util/task_manager.h +0 -1
  426. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/common/log_adapter.h +0 -5
  427. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_distributed_sample.h +0 -1
  428. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_header.h +0 -1
  429. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_index.h +0 -1
  430. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_pk_sample.h +0 -1
  431. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_reader.h +0 -1
  432. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_schema.h +0 -1
  433. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_statistics.h +0 -1
  434. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_writer.h +0 -1
  435. mindspore/include/mindspore/ccsrc/minddata/utils.h +30 -2
  436. mindspore/include/mindspore/ccsrc/ms_extension/all.h +46 -0
  437. mindspore/include/mindspore/ccsrc/ms_extension/api.h +33 -0
  438. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/atb_common.h +98 -0
  439. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/operation_cache.h +229 -0
  440. mindspore/include/mindspore/ccsrc/ms_extension/common/tensor.h +319 -0
  441. mindspore/include/mindspore/ccsrc/ms_extension/common/tensor_utils.h +83 -0
  442. mindspore/include/mindspore/ccsrc/ms_extension/common/visible.h +28 -0
  443. mindspore/include/mindspore/ccsrc/ms_extension/pynative/pyboost_extension.h +312 -0
  444. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/capture_context.h +1 -1
  445. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/eval_frame_hook.h +2 -2
  446. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/build_graph_utils.h +1 -7
  447. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/func_graph_builder.h +25 -6
  448. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/abstract_object.h +92 -19
  449. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/cfg.h +19 -5
  450. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/code_generator.h +53 -49
  451. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph.h +40 -10
  452. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_analyzer.h +3 -19
  453. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_arguments_optimizer.h +145 -0
  454. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_build.h +13 -26
  455. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/node.h +33 -3
  456. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/side_effect.h +116 -27
  457. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/abstract_type.h +2 -2
  458. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/compiler.h +4 -0
  459. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/utils.h +2 -0
  460. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/cache.h +32 -8
  461. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard.h +11 -15
  462. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard_utils.h +17 -8
  463. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/infer.h +0 -2
  464. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/shape_ctx.h +3 -3
  465. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/trace.h +50 -93
  466. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/jit_compile_results.h +1 -16
  467. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/pi_jit_config.h +11 -22
  468. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_code.h +56 -5
  469. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_frame.h +6 -7
  470. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/pydef.h +0 -6
  471. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/runtime.h +1 -1
  472. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/opcode_util.h +5 -0
  473. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/stop_trace_reason.h +26 -17
  474. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/utils.h +15 -11
  475. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/action.h +3 -4
  476. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/executor_py.h +116 -0
  477. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/graph_executor_py.h +118 -0
  478. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/jit_executor_py.h +68 -0
  479. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/graph_circle_handler.h +35 -0
  480. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/data_converter.h +6 -0
  481. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/function_block.h +1 -0
  482. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse.h +10 -0
  483. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse_base.h +17 -3
  484. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/resolve.h +7 -1
  485. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass.h +4 -1
  486. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass_config.h +4 -0
  487. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pipeline.h +17 -171
  488. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/resource.h +2 -16
  489. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/auto_monad.h +1 -1
  490. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/builtin_prim.h +3 -3
  491. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/evaluator.h +14 -12
  492. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/order_enforce.h +1 -1
  493. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim.h +12 -76
  494. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim_utils.h +78 -0
  495. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/static_analysis.h +4 -5
  496. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/validator.h +3 -0
  497. mindspore/include/mindspore/ccsrc/pipeline/jit/trace/trace_recorder.h +19 -4
  498. mindspore/include/mindspore/ccsrc/pipeline/llm_boost/llm_boost_binder.h +1 -1
  499. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_dma_handle.h +0 -2
  500. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/kernel_select_ascend.h +2 -3
  501. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/acl_stream_assign.h +2 -2
  502. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_device_context.h +69 -0
  503. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_device_res_manager.h +14 -13
  504. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_graph_optimization.h +0 -1
  505. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_kernel_executor.h +6 -7
  506. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/stress_detect.h +40 -0
  507. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/ascend_profiling.h +32 -7
  508. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/feature_mgr.h +1 -1
  509. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/mstx/mstx_dispatcher.h +10 -8
  510. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/add_atb_kernel.h +2 -1
  511. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_adapter.h +24 -0
  512. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_kernel_mod.h +3 -1
  513. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_grouped_matmul_add_atb_kernel.h +2 -1
  514. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_matmul_add_atb_kernel.h +39 -0
  515. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_comm_info.h +1 -0
  516. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_kernel_mod.h +1 -1
  517. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_kernel.h +15 -16
  518. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_op.h +119 -93
  519. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_all_gather_matmul.h +63 -0
  520. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_all_gather_v.h +51 -0
  521. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_matmul_all_reduce.h +2 -1
  522. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_matmul_reduce_scatter.h +61 -0
  523. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_receive.h +3 -1
  524. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_reduce_scatter_v.h +51 -0
  525. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_send.h +1 -0
  526. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_util.h +26 -11
  527. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  528. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  529. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather_into_tensor_uneven.h +40 -0
  530. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  531. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  532. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  533. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  534. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  535. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  536. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather.h +1 -1
  537. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  538. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  539. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_isend.h +1 -1
  540. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  541. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  542. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  543. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter_tensor_uneven.h +40 -0
  544. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  545. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  546. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  547. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  548. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  549. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  550. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_isend.h +1 -1
  551. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  552. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/comm_common.h +4 -4
  553. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather.h +1 -1
  554. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather_into_tensor.h +2 -2
  555. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather_into_tensor_uneven.h +38 -0
  556. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_reduce.h +1 -1
  557. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v.h +1 -1
  558. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v_single.h +2 -2
  559. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_broadcast.h +1 -1
  560. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather.h +1 -1
  561. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather_into_tensor.h +2 -2
  562. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_irecv.h +1 -1
  563. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_isend.h +1 -1
  564. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce.h +1 -1
  565. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter.h +1 -1
  566. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter_tensor.h +2 -2
  567. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter_tensor_uneven.h +39 -0
  568. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter.h +1 -1
  569. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter_tensor.h +2 -2
  570. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_gather.h +1 -1
  571. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_reduce.h +1 -1
  572. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_to_all_v.h +1 -1
  573. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_isend.h +1 -1
  574. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_reduce_scatter.h +1 -1
  575. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/internal_kernel_in_out_map.h +16 -0
  576. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/internal_tiling_cache.h +3 -3
  577. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/kv_scale_cache.h +30 -0
  578. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/mla.h +48 -0
  579. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/mla_preprocess.h +32 -0
  580. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/multi_weight_matmul.h +2 -0
  581. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/apply_rotary_pos_emb.h +46 -0
  582. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/internal_kernel_info_adapter.h +95 -0
  583. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/kernel_info_adapter.h +78 -0
  584. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/flash_attention_score.h +54 -0
  585. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_kernel_info.h +162 -0
  586. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_pyboost_utils.h +121 -0
  587. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/mla.h +53 -0
  588. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/paged_attention.h +91 -0
  589. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/reshape_and_cache.h +43 -0
  590. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/rts/reshape_ext.h +5 -0
  591. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/base/event_manager.h +0 -2
  592. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/utils/ModelTaskExecutor.h +0 -1
  593. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/expander_fallback.h +33 -0
  594. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/matmul_assignadd_fusion.h +61 -0
  595. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion_infer/inference_matmul_split_fusion.h +31 -8
  596. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion_infer/inference_qbmm_elemwise_fusion.h +46 -0
  597. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion_infer/moe_init_routing_dyn_quantv2_fusion.h +66 -0
  598. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_common.h +1 -1
  599. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_device_context.h +16 -11
  600. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_somas.h +1 -1
  601. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/mpi_collective_comm_lib.h +3 -1
  602. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/ms_collective_comm_lib.h +3 -1
  603. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/cpu_kernel.h +2 -2
  604. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/custom_kernel_input_info.h +99 -0
  605. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/custom_op_plugin_kernel.h +62 -0
  606. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/pyexecute/joinedstr_cpu_kernel.h +46 -0
  607. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/pyexecute/py_execute_cpu_kernel.h +1 -6
  608. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/device/gpu_kernel_task.h +1 -0
  609. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_device_context.h +13 -18
  610. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_somas.h +1 -1
  611. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/nvidia_collective_comm_lib.h +3 -1
  612. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_address.h +27 -16
  613. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_res_manager.h +25 -11
  614. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/capture_graph/ascend_capture_graph.h +45 -0
  615. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_collective_comm_lib.h +6 -5
  616. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_communication_group.h +27 -12
  617. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_collective_comm_lib.h +4 -5
  618. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_communication_group.h +4 -4
  619. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dummy_ascend_collective_comm_lib.h +3 -5
  620. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_collective_comm_lib.h +5 -5
  621. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_communication_group.h +1 -1
  622. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/hccl_watch_dog_thread.h +5 -3
  623. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/leaper_trans.h +2 -5
  624. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/lowlatency_collective_comm_lib.h +20 -5
  625. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_collective_comm_lib.h +6 -6
  626. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_communication_group.h +4 -2
  627. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/utils.h +83 -0
  628. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/device_context_conf/op_tuning_conf.h +14 -0
  629. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/dvm/dvm.h +246 -0
  630. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hal_manager/ascend_hal_manager.h +1 -0
  631. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/hccl_adapter.h +31 -3
  632. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/plugin/hccl_plugin.h +8 -0
  633. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mbuf_manager/mbuf_receive_manager.h +6 -1
  634. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mbuf_manager/tdt_manager.h +44 -0
  635. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_memory_pool.h +6 -0
  636. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_vmm_adapter.h +9 -9
  637. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_array_ops.h +11 -0
  638. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_other_ops.h +0 -22
  639. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_base.h +38 -33
  640. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_map.h +5 -2
  641. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_util.h +3 -0
  642. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/array_ops_declare.h +3 -0
  643. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/hcom_ops_declare.h +3 -0
  644. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/transform_fusion_ops_declare.h +0 -6
  645. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/transform_util.h +1 -1
  646. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/stream_manager/ascend_stream_manager.h +6 -4
  647. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/acl_mdl_symbol.h +14 -0
  648. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/acl_rt_symbol.h +6 -0
  649. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/symbol_utils.h +11 -6
  650. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_address.h +17 -12
  651. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_hash_table.h +128 -0
  652. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_hash_table_util.h +114 -0
  653. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_manager.h +4 -10
  654. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_pool.h +3 -1
  655. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_res_manager.h +8 -15
  656. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/visible.h +32 -0
  657. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_address.h +19 -11
  658. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/gpu_res_manager.h +9 -9
  659. mindspore/include/mindspore/ccsrc/ps/core/communicator/http_request_handler.h +0 -1
  660. mindspore/include/mindspore/ccsrc/ps/core/file_configuration.h +2 -2
  661. mindspore/include/mindspore/ccsrc/ps/core/node.h +1 -1
  662. mindspore/include/mindspore/ccsrc/pybind_api/hal/event_py.h +2 -2
  663. mindspore/include/mindspore/ccsrc/pybind_api/hal/memory_py.h +2 -0
  664. mindspore/include/mindspore/ccsrc/pybind_api/hal/stream_py.h +3 -4
  665. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_api/auto_generate/tensor_api.h +139 -134
  666. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_index_py.h +10 -107
  667. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/auto_generate/tensor_py_gen.h +139 -135
  668. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/tensor_func_reg.h +0 -1
  669. mindspore/include/mindspore/ccsrc/pybind_api/resource/manager.h +2 -2
  670. mindspore/include/mindspore/ccsrc/pybind_api/storage_py.h +36 -0
  671. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/abs.h +1 -1
  672. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acos_ext.h +1 -1
  673. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acosh_ext.h +1 -1
  674. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adamw.h +1 -1
  675. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  676. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  677. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  678. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  679. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  680. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  681. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  682. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add.h +1 -1
  683. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_ext.h +1 -1
  684. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  685. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  686. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rms_norm.h +1 -1
  687. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  688. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_scalar.h +1 -1
  689. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addbmm.h +1 -1
  690. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcdiv_ext.h +1 -1
  691. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcmul_ext.h +1 -1
  692. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmm.h +1 -1
  693. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmv.h +1 -1
  694. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_finite.h +1 -1
  695. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_gather_matmul.h +1 -1
  696. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any.h +44 -0
  697. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any_ext.h +44 -0
  698. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/apply_rotary_pos_emb.h +44 -0
  699. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/arange.h +1 -1
  700. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_ext.h +1 -1
  701. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_with_value.h +1 -1
  702. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_ext.h +1 -1
  703. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_with_value.h +1 -1
  704. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argsort.h +1 -1
  705. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/as_strided.h +1 -1
  706. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asin_ext.h +1 -1
  707. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asinh_ext.h +1 -1
  708. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan2_ext.h +1 -1
  709. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan_ext.h +1 -1
  710. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atanh.h +1 -1
  711. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool1d.h +1 -1
  712. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d.h +1 -1
  713. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  714. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  715. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  716. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/baddbmm.h +1 -1
  717. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_mat_mul.h +1 -1
  718. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  719. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  720. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_ext.h +1 -1
  721. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  722. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  723. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  724. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_stats.h +1 -1
  725. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bernoulli_ext.h +1 -1
  726. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  727. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  728. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  729. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  730. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bincount_ext.h +1 -1
  731. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  732. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  733. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_not.h +1 -1
  734. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  735. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  736. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  737. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  738. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bmm_ext.h +1 -1
  739. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to.h +1 -1
  740. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to_view.h +1 -1
  741. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cast.h +1 -1
  742. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ceil.h +1 -1
  743. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cell_backward_hook.h +44 -0
  744. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk.h +1 -1
  745. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk_view.h +1 -1
  746. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_scalar.h +1 -1
  747. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_tensor.h +1 -1
  748. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clone.h +1 -1
  749. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_ext.h +1 -1
  750. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_grad.h +1 -1
  751. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/concat.h +1 -1
  752. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/constant_pad_nd.h +1 -1
  753. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/contiguous.h +1 -1
  754. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_ext.h +1 -1
  755. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_padding.h +1 -1
  756. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_ext.h +1 -1
  757. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_padding.h +1 -1
  758. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_ext.h +1 -1
  759. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_padding.h +1 -1
  760. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv_transpose2d.h +1 -1
  761. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution.h +1 -1
  762. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_grad.h +1 -1
  763. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str.h +1 -1
  764. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str_grad.h +1 -1
  765. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/copy.h +1 -1
  766. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cos.h +1 -1
  767. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cosh.h +1 -1
  768. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/count_nonzero.h +1 -1
  769. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cross.h +1 -1
  770. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cross_entropy_loss.h +44 -0
  771. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cross_entropy_loss_grad.h +44 -0
  772. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummax.h +1 -1
  773. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummin_ext.h +1 -1
  774. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cumsum_ext.h +1 -1
  775. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/custom_ext.h +1 -1
  776. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dense.h +1 -1
  777. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diag_ext.h +1 -1
  778. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diagonal_view.h +44 -0
  779. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  780. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  781. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather_into_tensor_uneven.h +44 -0
  782. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  783. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  784. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  785. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  786. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  787. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  788. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather.h +1 -1
  789. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  790. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  791. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_isend.h +1 -1
  792. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  793. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  794. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  795. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter_tensor_uneven.h +44 -0
  796. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  797. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  798. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/div.h +1 -1
  799. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmod.h +1 -1
  800. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmods.h +1 -1
  801. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divs.h +1 -1
  802. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dot.h +1 -1
  803. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  804. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_ext.h +1 -1
  805. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  806. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  807. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  808. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/einsum_ext.h +44 -0
  809. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu.h +1 -1
  810. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_ext.h +1 -1
  811. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_grad_ext.h +1 -1
  812. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding.h +1 -1
  813. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  814. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty.h +44 -0
  815. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty_like.h +44 -0
  816. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal.h +1 -1
  817. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal_ext.h +1 -1
  818. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erf.h +1 -1
  819. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfc.h +1 -1
  820. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfinv.h +1 -1
  821. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp.h +1 -1
  822. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp2.h +1 -1
  823. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_as.h +1 -1
  824. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims.h +1 -1
  825. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims_view.h +1 -1
  826. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expm1.h +1 -1
  827. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/eye.h +1 -1
  828. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ffn_ext.h +1 -1
  829. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_scalar.h +1 -1
  830. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_tensor.h +1 -1
  831. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score.h +1 -1
  832. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  833. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flatten_ext.h +1 -1
  834. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor.h +1 -1
  835. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div.h +1 -1
  836. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div_scalar.h +1 -1
  837. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_scalar.h +1 -1
  838. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_tensor.h +1 -1
  839. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/frac.h +1 -1
  840. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/full_like.h +1 -1
  841. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/func_dropout_ext.h +44 -0
  842. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/func_max_pool2d.h +44 -0
  843. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  844. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d.h +1 -1
  845. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  846. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gcd.h +1 -1
  847. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu.h +1 -1
  848. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_ext.h +1 -1
  849. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad.h +1 -1
  850. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  851. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/generator.h +1 -1
  852. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu.h +1 -1
  853. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu_grad.h +1 -1
  854. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm.h +1 -1
  855. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward.h +1 -1
  856. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  857. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2.h +1 -1
  858. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  859. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  860. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater.h +1 -1
  861. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal.h +1 -1
  862. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  863. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  864. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  865. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  866. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  867. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm.h +1 -1
  868. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm_grad.h +1 -1
  869. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul.h +1 -1
  870. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  871. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  872. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh.h +1 -1
  873. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh_grad.h +1 -1
  874. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/histc_ext.h +1 -1
  875. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink.h +1 -1
  876. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink_grad.h +1 -1
  877. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid.h +1 -1
  878. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  879. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish.h +1 -1
  880. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish_grad.h +1 -1
  881. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/identity.h +1 -1
  882. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/im2col_ext.h +1 -1
  883. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/incre_flash_attention.h +1 -1
  884. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index.h +1 -1
  885. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_add_ext.h +1 -1
  886. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_scalar.h +1 -1
  887. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_tensor.h +1 -1
  888. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_select.h +1 -1
  889. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  890. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  891. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  892. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  893. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_isend.h +1 -1
  894. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  895. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_index.h +1 -1
  896. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  897. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_moe_token_unpermute.h +44 -0
  898. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_non_zero.h +1 -1
  899. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_add_ext.h +1 -1
  900. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_addmm.h +1 -1
  901. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  902. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_bernoulli_scalar.h +44 -0
  903. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_bernoulli_tensor.h +44 -0
  904. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  905. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  906. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_copy.h +1 -1
  907. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_div.h +1 -1
  908. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmod.h +1 -1
  909. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmods.h +1 -1
  910. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divs.h +1 -1
  911. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_elu.h +1 -1
  912. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_erfinv.h +1 -1
  913. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exp.h +1 -1
  914. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exponential.h +1 -1
  915. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  916. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  917. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  918. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor.h +1 -1
  919. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  920. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  921. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  922. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  923. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_add.h +1 -1
  924. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_put.h +1 -1
  925. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_log.h +1 -1
  926. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  927. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  928. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_matmul_add.h +44 -0
  929. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_mul.h +1 -1
  930. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_muls.h +1 -1
  931. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_normal.h +1 -1
  932. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_put.h +1 -1
  933. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_random.h +1 -1
  934. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_relu.h +1 -1
  935. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_remainder_tensor_scalar.h +44 -0
  936. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_remainder_tensor_tensor.h +44 -0
  937. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  938. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  939. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  940. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  941. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  942. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_silu.h +44 -0
  943. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  944. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  945. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  946. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_tanh.h +1 -1
  947. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_threshold.h +1 -1
  948. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_uniform.h +1 -1
  949. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_zero.h +1 -1
  950. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isclose.h +1 -1
  951. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isfinite.h +1 -1
  952. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isinf.h +1 -1
  953. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isneginf.h +1 -1
  954. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div.h +1 -1
  955. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div_grad.h +1 -1
  956. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kthvalue.h +1 -1
  957. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  958. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  959. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_ext.h +1 -1
  960. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_ext.h +1 -1
  961. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  962. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  963. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  964. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp.h +1 -1
  965. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp_scalar.h +1 -1
  966. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less.h +1 -1
  967. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less_equal.h +1 -1
  968. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lin_space_ext.h +1 -1
  969. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_qr.h +1 -1
  970. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  971. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log.h +1 -1
  972. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log10.h +1 -1
  973. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log1p.h +1 -1
  974. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log2.h +1 -1
  975. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax.h +1 -1
  976. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_ext.h +1 -1
  977. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_grad.h +1 -1
  978. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp.h +1 -1
  979. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp2.h +1 -1
  980. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_and.h +1 -1
  981. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_not.h +1 -1
  982. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_or.h +1 -1
  983. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_xor.h +1 -1
  984. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid.h +1 -1
  985. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  986. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsumexp.h +1 -1
  987. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_fill.h +1 -1
  988. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_scatter.h +44 -0
  989. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select.h +1 -1
  990. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select_grad.h +1 -1
  991. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul.h +1 -1
  992. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  993. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_ext.h +1 -1
  994. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  995. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  996. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max.h +1 -1
  997. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_dim.h +1 -1
  998. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  999. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  1000. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  1001. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  1002. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  1003. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/maximum.h +1 -1
  1004. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mean_ext.h +1 -1
  1005. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_dim.h +1 -1
  1006. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_ext.h +1 -1
  1007. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/meshgrid.h +1 -1
  1008. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min.h +1 -1
  1009. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min_dim.h +1 -1
  1010. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/minimum.h +1 -1
  1011. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_ext.h +1 -1
  1012. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_grad_ext.h +1 -1
  1013. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mla.h +44 -0
  1014. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mm_ext.h +1 -1
  1015. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  1016. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_combine.h +44 -0
  1017. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_dispatch.h +44 -0
  1018. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  1019. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  1020. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing.h +1 -1
  1021. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_quant_v2.h +44 -0
  1022. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  1023. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute.h +1 -1
  1024. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  1025. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  1026. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  1027. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_ext.h +1 -1
  1028. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  1029. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mul.h +1 -1
  1030. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/muls.h +1 -1
  1031. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  1032. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  1033. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multinomial_ext.h +1 -1
  1034. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mv.h +1 -1
  1035. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nan_to_num.h +1 -1
  1036. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nansum.h +1 -1
  1037. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow.h +1 -1
  1038. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow_view.h +1 -1
  1039. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ne_scalar.h +1 -1
  1040. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/neg.h +1 -1
  1041. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_empty.h +44 -0
  1042. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_full.h +44 -0
  1043. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_ones.h +1 -1
  1044. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_zeros.h +1 -1
  1045. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss.h +1 -1
  1046. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d.h +1 -1
  1047. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  1048. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_grad.h +1 -1
  1049. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero.h +1 -1
  1050. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero_ext.h +1 -1
  1051. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/norm.h +1 -1
  1052. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_float.h +1 -1
  1053. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_tensor.h +1 -1
  1054. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_float.h +1 -1
  1055. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  1056. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/not_equal.h +1 -1
  1057. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/one_hot_ext.h +1 -1
  1058. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones.h +1 -1
  1059. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones_like_ext.h +1 -1
  1060. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/outer.h +1 -1
  1061. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/paged_attention.h +44 -0
  1062. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pixel_shuffle.h +1 -1
  1063. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/polar.h +1 -1
  1064. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow.h +1 -1
  1065. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  1066. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  1067. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu.h +1 -1
  1068. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu_grad.h +1 -1
  1069. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prod_ext.h +1 -1
  1070. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  1071. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  1072. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_matmul.h +44 -0
  1073. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_v2.h +1 -1
  1074. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_ext.h +1 -1
  1075. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_like_ext.h +1 -1
  1076. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint.h +1 -1
  1077. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint_like.h +1 -1
  1078. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn.h +1 -1
  1079. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn_like.h +1 -1
  1080. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randperm_ext.h +1 -1
  1081. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reciprocal.h +1 -1
  1082. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_all.h +1 -1
  1083. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_any.h +1 -1
  1084. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_max.h +1 -1
  1085. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_min.h +1 -1
  1086. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  1087. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  1088. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  1089. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  1090. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  1091. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  1092. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu.h +1 -1
  1093. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu_grad.h +1 -1
  1094. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  1095. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  1096. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  1097. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat.h +1 -1
  1098. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  1099. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  1100. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  1101. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d.h +1 -1
  1102. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  1103. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d.h +1 -1
  1104. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  1105. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d.h +1 -1
  1106. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  1107. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape.h +1 -1
  1108. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape_and_cache.h +44 -0
  1109. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reverse_v2.h +1 -1
  1110. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ring_attention_update.h +44 -0
  1111. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm.h +1 -1
  1112. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm_grad.h +1 -1
  1113. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/roll.h +1 -1
  1114. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  1115. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  1116. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/round.h +1 -1
  1117. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rsqrt.h +1 -1
  1118. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter.h +1 -1
  1119. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_add_ext.h +1 -1
  1120. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_value.h +1 -1
  1121. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/searchsorted.h +1 -1
  1122. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select.h +1 -1
  1123. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_ext_view.h +1 -1
  1124. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_v2.h +1 -1
  1125. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_ext.h +1 -1
  1126. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_grad.h +1 -1
  1127. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid.h +1 -1
  1128. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid_grad.h +1 -1
  1129. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sign.h +1 -1
  1130. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v2.h +1 -1
  1131. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v3.h +1 -1
  1132. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu.h +1 -1
  1133. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu_grad.h +1 -1
  1134. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sin.h +1 -1
  1135. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinc.h +1 -1
  1136. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinh.h +1 -1
  1137. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice.h +1 -1
  1138. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext.h +1 -1
  1139. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext_view.h +1 -1
  1140. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  1141. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  1142. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss.h +1 -1
  1143. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  1144. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax.h +1 -1
  1145. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax_backward.h +1 -1
  1146. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_ext.h +1 -1
  1147. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  1148. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink.h +1 -1
  1149. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink_grad.h +1 -1
  1150. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sort_ext.h +1 -1
  1151. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  1152. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  1153. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split.h +1 -1
  1154. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor.h +1 -1
  1155. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor_view.h +1 -1
  1156. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size.h +1 -1
  1157. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size_view.h +1 -1
  1158. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sqrt.h +1 -1
  1159. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/square.h +1 -1
  1160. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/squeeze.h +1 -1
  1161. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/stack_ext.h +1 -1
  1162. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std.h +1 -1
  1163. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std_mean.h +1 -1
  1164. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub.h +1 -1
  1165. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_ext.h +1 -1
  1166. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_scalar.h +1 -1
  1167. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sum_ext.h +1 -1
  1168. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu.h +1 -1
  1169. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu_grad.h +1 -1
  1170. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/t_ext.h +1 -1
  1171. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/take.h +1 -1
  1172. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tan.h +1 -1
  1173. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh.h +1 -1
  1174. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh_grad.h +1 -1
  1175. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  1176. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold.h +1 -1
  1177. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold_grad.h +1 -1
  1178. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tile.h +1 -1
  1179. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/topk_ext.h +1 -1
  1180. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trace_ext.h +1 -1
  1181. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose.h +1 -1
  1182. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_ext_view.h +1 -1
  1183. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_view.h +1 -1
  1184. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triangular_solve.h +1 -1
  1185. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tril_ext.h +1 -1
  1186. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triu.h +1 -1
  1187. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trunc.h +1 -1
  1188. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/type_as.h +1 -1
  1189. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/uniform_ext.h +1 -1
  1190. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique2.h +1 -1
  1191. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_consecutive.h +1 -1
  1192. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_dim.h +1 -1
  1193. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unstack_ext_view.h +1 -1
  1194. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  1195. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  1196. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  1197. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  1198. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d.h +1 -1
  1199. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  1200. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  1201. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  1202. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  1203. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  1204. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  1205. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  1206. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  1207. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  1208. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var.h +1 -1
  1209. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var_mean.h +1 -1
  1210. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view.h +1 -1
  1211. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view_as.h +1 -1
  1212. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  1213. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy.h +1 -1
  1214. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  1215. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  1216. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros.h +1 -1
  1217. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros_like_ext.h +1 -1
  1218. mindspore/include/mindspore/ccsrc/pyboost/comm_handle.h +6 -2
  1219. mindspore/include/mindspore/ccsrc/pyboost/customize/any.h +39 -0
  1220. mindspore/include/mindspore/ccsrc/pyboost/customize/cell_backward_hook.h +27 -0
  1221. mindspore/include/mindspore/ccsrc/pyboost/customize/divmod.h +3 -3
  1222. mindspore/include/mindspore/ccsrc/pyboost/customize/einsum_ext.h +38 -0
  1223. mindspore/include/mindspore/ccsrc/pyboost/customize/identity.h +2 -2
  1224. mindspore/include/mindspore/ccsrc/pyboost/customize/meshgrid.h +7 -4
  1225. mindspore/include/mindspore/ccsrc/pyboost/customize/op_common.h +12 -15
  1226. mindspore/include/mindspore/ccsrc/pyboost/customize/pixel_shuffle.h +2 -3
  1227. mindspore/include/mindspore/ccsrc/pyboost/customize/reshape.h +4 -3
  1228. mindspore/include/mindspore/ccsrc/pyboost/customize/searchsorted.h +4 -5
  1229. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/auto_grad_op_reg.h +1583 -1418
  1230. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/functions.h +578 -494
  1231. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/pyboost_grad_functions.h +3 -0
  1232. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/value_converter.h +30 -4
  1233. mindspore/include/mindspore/ccsrc/pyboost/op_register.h +52 -0
  1234. mindspore/include/mindspore/ccsrc/pyboost/op_runner.h +45 -19
  1235. mindspore/include/mindspore/ccsrc/pyboost/pyboost_utils.h +106 -62
  1236. mindspore/include/mindspore/ccsrc/pynative/base.h +22 -24
  1237. mindspore/include/mindspore/ccsrc/pynative/forward/do_pyboost_cast.h +71 -67
  1238. mindspore/include/mindspore/ccsrc/pynative/forward/forward.h +14 -12
  1239. mindspore/include/mindspore/ccsrc/pynative/forward/forward_task.h +34 -2
  1240. mindspore/include/mindspore/ccsrc/pynative/grad/custom_function.h +14 -7
  1241. mindspore/include/mindspore/ccsrc/pynative/grad/function/auto_generate/pyboost_native_grad_functions.h +494 -463
  1242. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_builder.h +3 -3
  1243. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_grad.h +280 -96
  1244. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_pass.h +0 -1
  1245. mindspore/include/mindspore/ccsrc/pynative/grad/function.h +28 -23
  1246. mindspore/include/mindspore/ccsrc/pynative/grad/function_py.h +19 -11
  1247. mindspore/include/mindspore/ccsrc/pynative/grad/grad.h +30 -97
  1248. mindspore/include/mindspore/ccsrc/pynative/grad/grad_utils.h +39 -23
  1249. mindspore/include/mindspore/ccsrc/pynative/grad/hook_py.h +21 -22
  1250. mindspore/include/mindspore/ccsrc/pynative/grad/jit/jit_grad.h +2 -26
  1251. mindspore/include/mindspore/ccsrc/pynative/grad/top_cell.h +8 -150
  1252. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_api.h +564 -0
  1253. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_core.h +564 -0
  1254. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/tensor_func_utils.h +493 -491
  1255. mindspore/include/mindspore/ccsrc/pynative/op_function/comm_handle_py.h +2 -0
  1256. mindspore/include/mindspore/ccsrc/pynative/op_function/converter.h +11 -0
  1257. mindspore/include/mindspore/ccsrc/pynative/op_function/customize/direct_ops.h +2 -12
  1258. mindspore/include/mindspore/ccsrc/pynative/predict_out_type_map.h +3 -0
  1259. mindspore/include/mindspore/ccsrc/pynative/pynative_execute.h +6 -2
  1260. mindspore/include/mindspore/ccsrc/pynative/pynative_utils.h +39 -43
  1261. mindspore/include/mindspore/ccsrc/runtime/collective/collective_communication_lib.h +17 -1
  1262. mindspore/include/mindspore/ccsrc/runtime/collective/communication_group.h +5 -0
  1263. mindspore/include/mindspore/ccsrc/runtime/collective/dummy_collective_communication_lib.h +2 -1
  1264. mindspore/include/mindspore/ccsrc/runtime/device/device_address_utils.h +55 -50
  1265. mindspore/include/mindspore/ccsrc/runtime/device/memory_scheduler.h +2 -1
  1266. mindspore/include/mindspore/ccsrc/runtime/device/move_to.h +3 -0
  1267. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/auto_mem_offload.h +0 -1
  1268. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/capture_graph.h +35 -0
  1269. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_base.h +18 -17
  1270. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_manager.h +7 -3
  1271. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/loadable_device_address.h +1 -1
  1272. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/memory_manager.h +0 -1
  1273. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/swap_manager.h +2 -2
  1274. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/tensor_array.h +1 -1
  1275. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/utils/utils.h +0 -1
  1276. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/abstract_actor.h +46 -33
  1277. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_common.h +30 -19
  1278. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_dump.h +4 -3
  1279. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_set.h +0 -4
  1280. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/any_type_kernel_actor.h +7 -61
  1281. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/condition_gather_runner.h +74 -0
  1282. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/condition_switch_runner.h +89 -0
  1283. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/control_actor.h +37 -41
  1284. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/entrance_actor.h +11 -11
  1285. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/exit_actor.h +8 -9
  1286. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/gather_actor.h +6 -7
  1287. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/stack_actor.h +11 -11
  1288. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/switch_actor.h +2 -2
  1289. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/copy_actor.h +12 -14
  1290. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_prepare_actor.h +28 -20
  1291. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_source_actor.h +10 -58
  1292. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_actor.h +11 -10
  1293. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_aware_actor.h +2 -2
  1294. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/fusion/fusion_actor.h +2 -2
  1295. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_actor.h +79 -86
  1296. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_infer_actor.h +3 -1
  1297. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_launch_actor.h +11 -1
  1298. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_resize_actor.h +3 -1
  1299. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_infer_actor.h +4 -4
  1300. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_resize_actor.h +4 -4
  1301. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_runner.h +405 -0
  1302. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/loop_count_actor.h +11 -11
  1303. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_alloc_actor.h +3 -3
  1304. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_free_actor.h +2 -3
  1305. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_swap_actor.h +4 -4
  1306. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_aware_actor.h +7 -7
  1307. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_manager_actor.h +18 -17
  1308. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/output_actor.h +11 -7
  1309. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/profiler_actor.h +2 -2
  1310. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/recorder_actor.h +2 -2
  1311. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/mux_send_actor.h +1 -1
  1312. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/recv_actor.h +6 -10
  1313. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/rpc_actor.h +2 -14
  1314. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/send_actor.h +4 -4
  1315. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/super_kernel_actor.h +72 -57
  1316. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/any_type_graph_scheduler.h +0 -33
  1317. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/control_node_parser.h +13 -1
  1318. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/control_node_scheduler.h +1 -2
  1319. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_copy_store.h +14 -14
  1320. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_store.h +28 -27
  1321. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/comm_execution_order_check.h +17 -7
  1322. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/kernel_cache.h +24 -4
  1323. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_capture/graph_capture_manager.h +117 -0
  1324. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_compiler.h +4 -71
  1325. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_parameter_store.h +81 -143
  1326. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_scheduler.h +9 -22
  1327. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/parameter_store.h +4 -0
  1328. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pipeline/async_lf_queue.h +97 -0
  1329. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pipeline/lf_ring_queue.h +205 -0
  1330. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pipeline/runtime_pipeline.h +71 -0
  1331. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pre_launch_comm.h +10 -2
  1332. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/rpc_node_scheduler.h +4 -13
  1333. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/scheduler_helper.h +12 -1
  1334. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context.h +35 -173
  1335. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context_manager.h +1 -1
  1336. mindspore/include/mindspore/ccsrc/runtime/pipeline/async_rqueue.h +2 -2
  1337. mindspore/include/mindspore/ccsrc/runtime/pipeline/ring_queue.h +1 -1
  1338. mindspore/include/mindspore/ccsrc/runtime/pipeline/task/task.h +1 -1
  1339. mindspore/include/mindspore/ccsrc/runtime/pynative/graph_adapter.h +0 -1
  1340. mindspore/include/mindspore/ccsrc/runtime/pynative/ir_converter.h +8 -7
  1341. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runner.h +6 -6
  1342. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runtime_info.h +4 -4
  1343. mindspore/include/mindspore/ccsrc/utils/dlopen_macro.h +2 -2
  1344. mindspore/include/mindspore/core/include/abstract/abstract_function.h +54 -13
  1345. mindspore/include/mindspore/core/include/abstract/abstract_value.h +50 -13
  1346. mindspore/include/mindspore/core/include/abstract/ops/primitive_infer_map.h +1 -1
  1347. mindspore/include/mindspore/core/include/abstract/param_validator.h +3 -2
  1348. mindspore/include/mindspore/core/include/base/bfloat16.h +1 -1
  1349. mindspore/include/mindspore/core/include/base/float16.h +4 -3
  1350. mindspore/include/mindspore/core/include/base/float8_e4m3fn.h +264 -0
  1351. mindspore/include/mindspore/core/include/base/float8_e5m2.h +260 -0
  1352. mindspore/include/mindspore/core/include/base/hifloat8.h +53 -57
  1353. mindspore/include/mindspore/core/include/ir/anf.h +37 -8
  1354. mindspore/include/mindspore/core/include/ir/device_sync.h +17 -1
  1355. mindspore/include/mindspore/core/include/ir/dtype/number.h +123 -9
  1356. mindspore/include/mindspore/core/include/ir/dtype/op_dtype.h +48 -0
  1357. mindspore/include/mindspore/core/include/ir/dtype.h +4 -0
  1358. mindspore/include/mindspore/core/include/ir/func_graph.h +2 -0
  1359. mindspore/include/mindspore/core/include/ir/func_graph_cloner.h +2 -0
  1360. mindspore/include/mindspore/core/include/ir/meta_grad_data.h +4 -13
  1361. mindspore/include/mindspore/core/include/ir/primitive.h +20 -2
  1362. mindspore/include/mindspore/core/include/ir/scalar.h +2 -2
  1363. mindspore/include/mindspore/core/include/ir/scope.h +16 -3
  1364. mindspore/include/mindspore/core/include/ir/tensor.h +922 -41
  1365. mindspore/include/mindspore/core/include/ir/tensor_py_wrapperbase.h +11 -11
  1366. mindspore/include/mindspore/core/include/ir/tensor_storage_info.h +1 -0
  1367. mindspore/include/mindspore/core/include/load_mindir/infer_mindir.h +3 -2
  1368. mindspore/include/mindspore/core/include/mindapi/base/macros.h +3 -3
  1369. mindspore/include/mindspore/core/include/mindapi/base/type_id.h +3 -0
  1370. mindspore/include/mindspore/core/include/mindapi/base/types.h +7 -0
  1371. mindspore/include/mindspore/core/include/ops/op_def.h +2 -31
  1372. mindspore/include/mindspore/core/include/symbolic_shape/operation_builder.h +1 -1
  1373. mindspore/include/mindspore/core/include/utils/anf_utils.h +2 -0
  1374. mindspore/include/mindspore/core/include/utils/callback_handler.h +1 -1
  1375. mindspore/include/mindspore/core/include/utils/compact_set.h +4 -0
  1376. mindspore/include/mindspore/core/include/utils/core_op_utils.h +1 -1
  1377. mindspore/include/mindspore/core/include/utils/device_manager_conf.h +4 -0
  1378. mindspore/include/mindspore/core/include/utils/info.h +7 -0
  1379. mindspore/include/mindspore/core/include/utils/log_adapter.h +11 -2
  1380. mindspore/include/mindspore/core/include/utils/ms_context.h +13 -11
  1381. mindspore/include/mindspore/core/include/utils/ms_exception.h +39 -5
  1382. mindspore/include/mindspore/core/include/utils/ms_utils.h +3 -8
  1383. mindspore/include/mindspore/core/include/utils/ms_utils_secure.h +1 -1
  1384. mindspore/include/mindspore/core/include/utils/phase.h +17 -2
  1385. mindspore/include/mindspore/core/include/utils/system/base.h +1 -1
  1386. mindspore/include/mindspore/core/include/utils/tensor_hook_map.h +30 -0
  1387. mindspore/include/mindspore/core/mindrt/include/actor/op_actor.h +68 -0
  1388. mindspore/include/mindspore/core/mindrt/include/async/async.h +2 -2
  1389. mindspore/include/mindspore/core/mindrt/include/thread/actor_threadpool.h +4 -0
  1390. mindspore/include/mindspore/core/mindrt/include/thread/core_affinity.h +1 -1
  1391. mindspore/include/mindspore/core/mindrt/include/thread/hqueue.h +6 -6
  1392. mindspore/include/mindspore/core/mindrt/include/thread/threadpool.h +6 -2
  1393. mindspore/include/mindspore/ops/grad/grad_utils.h +21 -3
  1394. mindspore/include/mindspore/ops/infer/all_gather_v.h +39 -0
  1395. mindspore/include/mindspore/ops/infer/all_to_all.h +38 -0
  1396. mindspore/include/mindspore/ops/infer/dtype.h +12 -0
  1397. mindspore/include/mindspore/ops/infer/ops_func_impl/acosh.h +2 -9
  1398. mindspore/include/mindspore/ops/infer/ops_func_impl/asinh.h +2 -9
  1399. mindspore/include/mindspore/ops/infer/ops_func_impl/atanh.h +4 -9
  1400. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_ext.h +6 -11
  1401. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_grad_ext.h +5 -4
  1402. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_scalar.h +4 -5
  1403. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_tensor.h +3 -5
  1404. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_scalar.h +3 -10
  1405. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_tensor.h +2 -10
  1406. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_scalar.h +3 -10
  1407. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_tensor.h +2 -10
  1408. mindspore/include/mindspore/ops/infer/ops_func_impl/cell_backward_hook.h +32 -0
  1409. mindspore/include/mindspore/ops/infer/ops_func_impl/cross_entropy_loss.h +36 -0
  1410. mindspore/include/mindspore/ops/infer/ops_func_impl/cross_entropy_loss_grad.h +36 -0
  1411. mindspore/include/mindspore/ops/infer/ops_func_impl/diagonal_view.h +32 -0
  1412. mindspore/include/mindspore/ops/infer/ops_func_impl/dist_comm_all_gather_into_tensor_uneven.h +33 -0
  1413. mindspore/include/mindspore/ops/infer/ops_func_impl/dist_comm_reduce_scatter_tensor_uneven.h +33 -0
  1414. mindspore/include/mindspore/ops/infer/ops_func_impl/dump_gradient.h +33 -0
  1415. mindspore/include/mindspore/ops/infer/ops_func_impl/eltwise_op.h +4 -10
  1416. mindspore/include/mindspore/ops/infer/ops_func_impl/empty.h +7 -3
  1417. mindspore/include/mindspore/ops/infer/ops_func_impl/empty_like.h +7 -3
  1418. mindspore/include/mindspore/ops/infer/ops_func_impl/exp.h +3 -4
  1419. mindspore/include/mindspore/ops/infer/ops_func_impl/fused_add_topk_div.h +3 -0
  1420. mindspore/include/mindspore/ops/infer/ops_func_impl/grouped_matmul_base.h +1 -1
  1421. mindspore/include/mindspore/ops/infer/ops_func_impl/inner_moe_token_unpermute.h +36 -0
  1422. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_bernoulli_scalar.h +25 -0
  1423. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_bernoulli_tensor.h +40 -0
  1424. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_matmul_add.h +34 -0
  1425. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_remainder_tensor_scalar.h +35 -0
  1426. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_remainder_tensor_tensor.h +35 -0
  1427. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_silu.h +35 -0
  1428. mindspore/include/mindspore/ops/infer/ops_func_impl/kv_scale_cache.h +48 -0
  1429. mindspore/include/mindspore/ops/infer/ops_func_impl/masked_fill.h +4 -3
  1430. mindspore/include/mindspore/ops/infer/ops_func_impl/masked_scatter.h +37 -0
  1431. mindspore/include/mindspore/ops/infer/ops_func_impl/matmul_fusion_utils.h +6 -0
  1432. mindspore/include/mindspore/ops/infer/ops_func_impl/matmul_split_silu_fastgelu_add_mul_out1.h +34 -0
  1433. mindspore/include/mindspore/ops/infer/ops_func_impl/matmul_split_silu_mul_out1.h +34 -0
  1434. mindspore/include/mindspore/ops/infer/ops_func_impl/matmul_split_silu_out2.h +1 -1
  1435. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_indices.h +2 -8
  1436. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_mask.h +4 -2
  1437. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_indices.h +6 -4
  1438. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_mask.h +6 -4
  1439. mindspore/include/mindspore/ops/infer/ops_func_impl/mla.h +54 -0
  1440. mindspore/include/mindspore/ops/infer/ops_func_impl/mla_preprocess.h +75 -0
  1441. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_distribute_combine.h +34 -0
  1442. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_distribute_dispatch.h +37 -0
  1443. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_init_routing_quant_v2.h +39 -0
  1444. mindspore/include/mindspore/ops/infer/ops_func_impl/neg.h +1 -6
  1445. mindspore/include/mindspore/ops/infer/ops_func_impl/new_empty.h +7 -3
  1446. mindspore/include/mindspore/ops/infer/ops_func_impl/new_full.h +37 -0
  1447. mindspore/include/mindspore/ops/infer/ops_func_impl/normal_float_float.h +1 -0
  1448. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like.h +2 -6
  1449. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like_ext.h +1 -2
  1450. mindspore/include/mindspore/ops/infer/ops_func_impl/q_matmul_split_silu_fastgelu_add_mul_out1.h +34 -0
  1451. mindspore/include/mindspore/ops/infer/ops_func_impl/q_matmul_split_silu_mul_out1.h +34 -0
  1452. mindspore/include/mindspore/ops/infer/ops_func_impl/quant_matmul.h +32 -0
  1453. mindspore/include/mindspore/ops/infer/ops_func_impl/reciprocal.h +4 -9
  1454. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_any.h +4 -5
  1455. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_arithmetic.h +2 -1
  1456. mindspore/include/mindspore/ops/infer/ops_func_impl/remainder_tensor_scalar.h +4 -4
  1457. mindspore/include/mindspore/ops/infer/ops_func_impl/ring_attention_update.h +36 -0
  1458. mindspore/include/mindspore/ops/infer/ops_func_impl/sigmoid.h +4 -5
  1459. mindspore/include/mindspore/ops/infer/ops_func_impl/square.h +2 -10
  1460. mindspore/include/mindspore/ops/infer/ops_func_impl/topprouter.h +36 -0
  1461. mindspore/include/mindspore/ops/infer/ops_func_impl/zeros_like_ext.h +1 -2
  1462. mindspore/include/mindspore/ops/infer/reduce_scatter.h +3 -1
  1463. mindspore/include/mindspore/ops/infer/reduce_scatter_v.h +38 -0
  1464. mindspore/include/mindspore/ops/kernel/ascend/acl/acl_kernel_mod.h +3 -0
  1465. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/acl_adapter_info.h +1 -1
  1466. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_aclnn_utils.h +95 -0
  1467. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_cache.h +12 -5
  1468. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_exec.h +2 -0
  1469. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_cache.h +12 -7
  1470. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_convert.h +32 -101
  1471. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_exec.h +35 -30
  1472. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_util.h +5 -1
  1473. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_base.h +1 -1
  1474. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_log.h +11 -11
  1475. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/formats_definitions.h +5 -1
  1476. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/register_format_transfer.h +5 -1
  1477. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/inc/ms_cpu_kernel.h +1 -1
  1478. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/concat.h +1 -1
  1479. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dct.h +1 -1
  1480. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dctn.h +1 -1
  1481. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_ortho.h +1 -1
  1482. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_shapecopy.h +1 -1
  1483. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftbase.h +1 -1
  1484. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftfreq.h +1 -1
  1485. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftnbase.h +1 -1
  1486. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/irfft_double.h +1 -1
  1487. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/nms_with_mask.h +0 -1
  1488. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/philox_random_dist.h +1 -1
  1489. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/random_distributions.h +27 -25
  1490. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/topprouter.h +64 -0
  1491. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/eigen_tensor.h +18 -15
  1492. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/fused_sparse_utils.h +1 -1
  1493. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/kernel_util.h +2 -2
  1494. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/philox_random.h +75 -138
  1495. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/range_sampler.h +7 -3
  1496. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sampling_kernels.h +18 -15
  1497. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_group.h +18 -15
  1498. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_tensor.h +18 -15
  1499. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_grad_op.h +0 -11
  1500. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_op.h +0 -11
  1501. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3_d_grad_op.h +0 -14
  1502. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3d_op.h +0 -18
  1503. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool_2d_grad_op.h +0 -14
  1504. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adjust_contrastv2_op.h +0 -21
  1505. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/arg_max_op.h +0 -22
  1506. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/bartlett_window_op.h +0 -19
  1507. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cauchy_op.h +0 -11
  1508. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cholesky_solve_op.h +0 -23
  1509. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/coalesce_op.h +0 -24
  1510. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/csr_sparse_matrix_to_dense_op.h +0 -15
  1511. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/dense_to_csr_sparse_matrix_op.h +0 -16
  1512. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/eig_op.h +0 -17
  1513. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/exp.h +0 -18
  1514. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_grad_with_fixed_ksize_op.h +0 -22
  1515. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_with_fixed_ksize_op.h +0 -19
  1516. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/geqrf_op.h +0 -14
  1517. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_grad_op.h +0 -17
  1518. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_op.h +0 -20
  1519. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/hamming_window_op.h +0 -20
  1520. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/index_fill.h +0 -18
  1521. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/instance_norm_v2_grad.h +0 -28
  1522. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/layer_norm_grad_grad_op.h +0 -17
  1523. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/log_normal_reverse.h +0 -15
  1524. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/logspace.h +0 -23
  1525. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/lstsq_op.h +0 -15
  1526. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_logarithm.h +0 -13
  1527. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_power_op.h +0 -16
  1528. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/max_pool_3d_grad_with_argmax_op.h +0 -26
  1529. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/maximum_grad_grad.h +0 -19
  1530. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_grad_op.h +0 -19
  1531. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_op.h +0 -17
  1532. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/minimum_grad_grad.h +0 -19
  1533. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_grad_op.h +0 -24
  1534. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_op.h +0 -19
  1535. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_grad_op.h +0 -17
  1536. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_op.h +0 -15
  1537. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/pdist_grad_op.h +0 -21
  1538. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_mean_op.h +0 -18
  1539. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_min_op.h +0 -19
  1540. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_addmm.h +0 -16
  1541. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_adagrad_da.h +0 -38
  1542. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_centered_rms_prop.h +0 -47
  1543. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_momentum.h +0 -36
  1544. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_proximal_gradient_descent.h +0 -29
  1545. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_matrix_transpose_op.h +0 -29
  1546. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_mean_with_num_segments_op.h +0 -19
  1547. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_grad_op.h +0 -21
  1548. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_op.h +0 -18
  1549. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_with_num_segments_op.h +0 -20
  1550. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_tensor_to_csr_sparse_matrix_op.h +0 -18
  1551. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sspaddmm_op.h +0 -22
  1552. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/triplet_margin_loss_op.h +0 -22
  1553. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/axis_util.h +5 -1
  1554. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/reduce_infer_util.h +1 -2
  1555. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/transfer_shape_according_to_format.h +5 -1
  1556. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/drop_out_gen_mask_kernels.h +2 -2
  1557. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/gather_grad_kernels.h +1 -1
  1558. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/replay_buffer/replay_buffer_factory.h +2 -1
  1559. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_util.h +2 -0
  1560. mindspore/include/mindspore/ops/kernel/ascend/availability/silent_check/ascend_silent_check.h +13 -14
  1561. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addbmm_aclnn_kernel.h +1 -1
  1562. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmm_aclnn_kernel.h +1 -1
  1563. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmv_aclnn_kernel.h +1 -1
  1564. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/baddbmm_aclnn_kernel.h +1 -1
  1565. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_ext_aclnn_kernel.h +1 -0
  1566. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_grad_ext_aclnn_kernel.h +2 -1
  1567. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/bincount_ext_aclnn_kernel.h +2 -2
  1568. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/chunk_aclnn_kernel.h +2 -2
  1569. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv1d_padding_aclnn_kernel.h +1 -1
  1570. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv2d_padding_aclnn_kernel.h +1 -1
  1571. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/convolution_str_aclnn_kernel.h +1 -1
  1572. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/cross_entropy_loss_aclnn_kernel.h +48 -0
  1573. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/cross_entropy_loss_grad_aclnn_kernel.h +47 -0
  1574. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_aclnn_utils.h +1 -1
  1575. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_v2_aclnn_kernel.h +26 -21
  1576. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dense_aclnn_kernel.h +13 -6
  1577. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dropout_ext_aclnn_kernel.h +3 -3
  1578. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_aclnn_kernel.h +39 -0
  1579. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_like_aclnn_kernel.h +39 -0
  1580. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_aclnn_kernel.h +1 -0
  1581. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_grad_aclnn_kernel.h +1 -0
  1582. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/gather_d_grad_v2_aclnn_kernel.h +1 -1
  1583. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_2d_grad_aclnn_kernel.h +3 -3
  1584. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_3d_grad_aclnn_kernel.h +3 -3
  1585. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_add_ext_aclnn_kernel.h +1 -1
  1586. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_scalar_aclnn_kernel.h +1 -1
  1587. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_tensor_aclnn_kernel.h +1 -1
  1588. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inner_inplace_index_put_aclnn_kernel.h +1 -0
  1589. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inner_moe_token_unpermute_aclnn_kernel.h +45 -0
  1590. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_bernoulli_scalar_aclnn_kernel.h +47 -0
  1591. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_bernoulli_tensor_aclnn_kernel.h +46 -0
  1592. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_clamp_scalar_aclnn_kernel.h +2 -0
  1593. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_index_add_aclnn_kernel.h +1 -1
  1594. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_normal_aclnn_kernel.h +2 -2
  1595. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_scatter_add_aclnn_kernel.h +45 -0
  1596. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_silu_aclnn_kernel.h +42 -0
  1597. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_uniform_aclnn_kernel.h +2 -2
  1598. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/isinf_aclnn_kernel.h +1 -1
  1599. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/linalg_vector_norm_aclnn_kernel.h +1 -1
  1600. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/masked_scatter_aclnn_kernel.h +45 -0
  1601. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_all_reduce_aclnn_kernel.h +2 -2
  1602. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_reduce_scatter_aclnn_kernel.h +4 -4
  1603. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_combine_aclnn_kernel.h +56 -0
  1604. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_dispatch_aclnn_kernel.h +55 -0
  1605. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_init_routing_quant_v2_aclnn_kernel.h +50 -0
  1606. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_ext_aclnn_kernel.h +1 -1
  1607. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_grad_ext_aclnn_kernel.h +1 -1
  1608. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/multinomial_ext_aclnn_kernel.h +1 -1
  1609. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/narrow_aclnn_kernel.h +3 -3
  1610. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_empty_aclnn_kernel.h +39 -0
  1611. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_full_aclnn_kernel.h +41 -0
  1612. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/norm_aclnn_kernel.h +1 -1
  1613. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/prod_ext_aclnn_kernel.h +1 -1
  1614. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/quant_batch_matmul_all_reduce_aclnn_kernel.h +2 -2
  1615. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/rand_ext_aclnn_kernel.h +2 -2
  1616. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randint_aclnn_kernel.h +4 -4
  1617. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randn_aclnn_kernel.h +2 -2
  1618. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randperm_ext_aclnn_kernel.h +2 -2
  1619. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/repeat_interleave_grad_aclnn_kernel.h +1 -1
  1620. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/ring_attention_update_aclnn_kernel.h +41 -0
  1621. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/split_with_size_aclnn_kernel.h +1 -1
  1622. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique2_aclnn_kernel.h +3 -0
  1623. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_consecutive_aclnn_kernel.h +2 -0
  1624. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_dim_aclnn_kernel.h +3 -0
  1625. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/view/diagonal_view.h +42 -0
  1626. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/apply_rotary_pos_emb_aclnn_kernel.h +41 -0
  1627. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/mla_aclnn_kernel.h +41 -0
  1628. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/paged_attention_aclnn_kernel.h +41 -0
  1629. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_mod.h +139 -23
  1630. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_utils.h +3 -3
  1631. mindspore/include/mindspore/ops/kernel/ascend/pyboost/aclnn_utils.h +42 -17
  1632. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner.h +124 -0
  1633. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner_base.h +48 -0
  1634. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_utils.h +63 -0
  1635. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/abs.h +1 -1
  1636. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acos_ext.h +1 -1
  1637. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acosh_ext.h +1 -1
  1638. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adamw.h +1 -1
  1639. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  1640. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  1641. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  1642. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  1643. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  1644. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  1645. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  1646. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add.h +1 -1
  1647. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_ext.h +1 -1
  1648. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  1649. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  1650. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rms_norm.h +1 -1
  1651. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  1652. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_scalar.h +1 -1
  1653. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addbmm.h +1 -1
  1654. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcdiv_ext.h +1 -1
  1655. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcmul_ext.h +1 -1
  1656. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmm.h +1 -1
  1657. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmv.h +1 -1
  1658. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_finite.h +1 -1
  1659. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_gather_matmul.h +1 -1
  1660. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any.h +40 -0
  1661. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any_ext.h +40 -0
  1662. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/apply_rotary_pos_emb.h +40 -0
  1663. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/arange.h +1 -1
  1664. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_ext.h +1 -1
  1665. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_with_value.h +1 -1
  1666. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_ext.h +1 -1
  1667. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_with_value.h +1 -1
  1668. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argsort.h +1 -1
  1669. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/as_strided.h +1 -1
  1670. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asin_ext.h +1 -1
  1671. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asinh_ext.h +1 -1
  1672. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan2_ext.h +1 -1
  1673. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan_ext.h +1 -1
  1674. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atanh.h +1 -1
  1675. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool1d.h +1 -1
  1676. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d.h +1 -1
  1677. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  1678. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  1679. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  1680. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/baddbmm.h +1 -1
  1681. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_mat_mul.h +1 -1
  1682. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  1683. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  1684. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_ext.h +1 -1
  1685. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  1686. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  1687. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  1688. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_stats.h +1 -1
  1689. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bernoulli_ext.h +1 -1
  1690. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  1691. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  1692. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  1693. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  1694. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bincount_ext.h +1 -1
  1695. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  1696. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  1697. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_not.h +1 -1
  1698. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  1699. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  1700. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  1701. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  1702. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bmm_ext.h +1 -1
  1703. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to.h +1 -1
  1704. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to_view.h +1 -1
  1705. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cast.h +1 -1
  1706. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ceil.h +1 -1
  1707. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cell_backward_hook.h +40 -0
  1708. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk.h +1 -1
  1709. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk_view.h +1 -1
  1710. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_scalar.h +1 -1
  1711. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_tensor.h +1 -1
  1712. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clone.h +1 -1
  1713. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_ext.h +1 -1
  1714. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_grad.h +1 -1
  1715. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/concat.h +1 -1
  1716. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/constant_pad_nd.h +1 -1
  1717. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/contiguous.h +1 -1
  1718. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_ext.h +1 -1
  1719. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_padding.h +1 -1
  1720. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_ext.h +1 -1
  1721. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_padding.h +1 -1
  1722. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_ext.h +1 -1
  1723. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_padding.h +1 -1
  1724. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv_transpose2d.h +1 -1
  1725. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution.h +1 -1
  1726. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_grad.h +1 -1
  1727. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str.h +1 -1
  1728. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str_grad.h +1 -1
  1729. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/copy.h +1 -1
  1730. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cos.h +1 -1
  1731. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cosh.h +1 -1
  1732. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/count_nonzero.h +1 -1
  1733. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cross.h +1 -1
  1734. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cross_entropy_loss.h +40 -0
  1735. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cross_entropy_loss_grad.h +40 -0
  1736. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummax.h +1 -1
  1737. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummin_ext.h +1 -1
  1738. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cumsum_ext.h +1 -1
  1739. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/custom_ext.h +1 -1
  1740. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dense.h +1 -1
  1741. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diag_ext.h +1 -1
  1742. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diagonal_view.h +40 -0
  1743. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/div.h +1 -1
  1744. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmod.h +1 -1
  1745. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmods.h +1 -1
  1746. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divs.h +1 -1
  1747. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dot.h +1 -1
  1748. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  1749. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_ext.h +1 -1
  1750. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  1751. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  1752. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  1753. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/einsum_ext.h +40 -0
  1754. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu.h +1 -1
  1755. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_ext.h +1 -1
  1756. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_grad_ext.h +1 -1
  1757. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding.h +1 -1
  1758. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  1759. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty.h +40 -0
  1760. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty_like.h +40 -0
  1761. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal.h +1 -1
  1762. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal_ext.h +1 -1
  1763. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erf.h +1 -1
  1764. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfc.h +1 -1
  1765. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfinv.h +1 -1
  1766. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp.h +1 -1
  1767. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp2.h +1 -1
  1768. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_as.h +1 -1
  1769. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims.h +1 -1
  1770. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims_view.h +1 -1
  1771. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expm1.h +1 -1
  1772. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/eye.h +1 -1
  1773. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ffn_ext.h +1 -1
  1774. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_scalar.h +1 -1
  1775. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_tensor.h +1 -1
  1776. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score.h +1 -1
  1777. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  1778. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flatten_ext.h +1 -1
  1779. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor.h +1 -1
  1780. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div.h +1 -1
  1781. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div_scalar.h +1 -1
  1782. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_scalar.h +1 -1
  1783. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_tensor.h +1 -1
  1784. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/frac.h +1 -1
  1785. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/full_like.h +1 -1
  1786. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/func_dropout_ext.h +40 -0
  1787. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/func_max_pool2d.h +40 -0
  1788. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  1789. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d.h +1 -1
  1790. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  1791. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gcd.h +1 -1
  1792. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu.h +1 -1
  1793. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_ext.h +1 -1
  1794. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad.h +1 -1
  1795. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  1796. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/generator.h +1 -1
  1797. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu.h +1 -1
  1798. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu_grad.h +1 -1
  1799. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm.h +1 -1
  1800. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward.h +1 -1
  1801. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  1802. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2.h +1 -1
  1803. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  1804. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  1805. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater.h +1 -1
  1806. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal.h +1 -1
  1807. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  1808. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  1809. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  1810. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  1811. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  1812. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm.h +1 -1
  1813. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm_grad.h +1 -1
  1814. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul.h +1 -1
  1815. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  1816. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  1817. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh.h +1 -1
  1818. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh_grad.h +1 -1
  1819. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/histc_ext.h +1 -1
  1820. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink.h +1 -1
  1821. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink_grad.h +1 -1
  1822. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid.h +1 -1
  1823. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  1824. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish.h +1 -1
  1825. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish_grad.h +1 -1
  1826. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/identity.h +1 -1
  1827. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/im2col_ext.h +1 -1
  1828. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/incre_flash_attention.h +1 -1
  1829. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index.h +1 -1
  1830. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_add_ext.h +1 -1
  1831. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_scalar.h +1 -1
  1832. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_tensor.h +1 -1
  1833. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_select.h +1 -1
  1834. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_index.h +1 -1
  1835. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  1836. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_moe_token_unpermute.h +40 -0
  1837. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_non_zero.h +1 -1
  1838. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_add_ext.h +1 -1
  1839. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_addmm.h +1 -1
  1840. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  1841. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_bernoulli_scalar.h +40 -0
  1842. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_bernoulli_tensor.h +40 -0
  1843. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  1844. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  1845. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_copy.h +1 -1
  1846. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_div.h +1 -1
  1847. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmod.h +1 -1
  1848. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmods.h +1 -1
  1849. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divs.h +1 -1
  1850. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_elu.h +1 -1
  1851. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_erfinv.h +1 -1
  1852. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exp.h +1 -1
  1853. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exponential.h +1 -1
  1854. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  1855. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  1856. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  1857. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor.h +1 -1
  1858. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  1859. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  1860. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  1861. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  1862. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_add.h +1 -1
  1863. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_put.h +1 -1
  1864. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_log.h +1 -1
  1865. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  1866. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  1867. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_matmul_add.h +40 -0
  1868. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_mul.h +1 -1
  1869. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_muls.h +1 -1
  1870. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_normal.h +1 -1
  1871. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_put.h +1 -1
  1872. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_random.h +1 -1
  1873. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_relu.h +1 -1
  1874. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_remainder_tensor_scalar.h +40 -0
  1875. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_remainder_tensor_tensor.h +40 -0
  1876. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  1877. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  1878. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  1879. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  1880. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  1881. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_silu.h +40 -0
  1882. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  1883. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  1884. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  1885. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_tanh.h +1 -1
  1886. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_threshold.h +1 -1
  1887. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_uniform.h +1 -1
  1888. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_zero.h +1 -1
  1889. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isclose.h +1 -1
  1890. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isfinite.h +1 -1
  1891. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isinf.h +1 -1
  1892. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isneginf.h +1 -1
  1893. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div.h +1 -1
  1894. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div_grad.h +1 -1
  1895. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kthvalue.h +1 -1
  1896. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  1897. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  1898. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_ext.h +1 -1
  1899. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_ext.h +1 -1
  1900. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  1901. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  1902. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  1903. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp.h +1 -1
  1904. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp_scalar.h +1 -1
  1905. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less.h +1 -1
  1906. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less_equal.h +1 -1
  1907. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lin_space_ext.h +1 -1
  1908. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_qr.h +1 -1
  1909. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  1910. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log.h +1 -1
  1911. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log10.h +1 -1
  1912. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log1p.h +1 -1
  1913. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log2.h +1 -1
  1914. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax.h +1 -1
  1915. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_ext.h +1 -1
  1916. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_grad.h +1 -1
  1917. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp.h +1 -1
  1918. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp2.h +1 -1
  1919. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_and.h +1 -1
  1920. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_not.h +1 -1
  1921. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_or.h +1 -1
  1922. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_xor.h +1 -1
  1923. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid.h +1 -1
  1924. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  1925. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsumexp.h +1 -1
  1926. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_fill.h +1 -1
  1927. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_scatter.h +40 -0
  1928. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select.h +1 -1
  1929. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select_grad.h +1 -1
  1930. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul.h +1 -1
  1931. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  1932. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_ext.h +1 -1
  1933. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  1934. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  1935. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max.h +1 -1
  1936. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_dim.h +1 -1
  1937. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  1938. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  1939. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  1940. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  1941. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  1942. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/maximum.h +1 -1
  1943. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mean_ext.h +1 -1
  1944. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_dim.h +1 -1
  1945. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_ext.h +1 -1
  1946. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/meshgrid.h +1 -1
  1947. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min.h +1 -1
  1948. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min_dim.h +1 -1
  1949. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/minimum.h +1 -1
  1950. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_ext.h +1 -1
  1951. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_grad_ext.h +1 -1
  1952. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mla.h +40 -0
  1953. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mm_ext.h +1 -1
  1954. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  1955. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_combine.h +40 -0
  1956. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_dispatch.h +40 -0
  1957. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  1958. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  1959. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing.h +1 -1
  1960. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_quant_v2.h +40 -0
  1961. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  1962. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute.h +1 -1
  1963. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  1964. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  1965. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  1966. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_ext.h +1 -1
  1967. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  1968. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mul.h +1 -1
  1969. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/muls.h +1 -1
  1970. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  1971. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  1972. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multinomial_ext.h +1 -1
  1973. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mv.h +1 -1
  1974. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nan_to_num.h +1 -1
  1975. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nansum.h +1 -1
  1976. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow.h +1 -1
  1977. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow_view.h +1 -1
  1978. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ne_scalar.h +1 -1
  1979. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/neg.h +1 -1
  1980. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_empty.h +40 -0
  1981. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_full.h +40 -0
  1982. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_ones.h +1 -1
  1983. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_zeros.h +1 -1
  1984. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss.h +1 -1
  1985. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d.h +1 -1
  1986. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  1987. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_grad.h +1 -1
  1988. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero.h +1 -1
  1989. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero_ext.h +1 -1
  1990. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/norm.h +1 -1
  1991. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_float.h +1 -1
  1992. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_tensor.h +1 -1
  1993. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_float.h +1 -1
  1994. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  1995. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/not_equal.h +1 -1
  1996. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/one_hot_ext.h +1 -1
  1997. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones.h +1 -1
  1998. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones_like_ext.h +1 -1
  1999. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/outer.h +1 -1
  2000. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/paged_attention.h +40 -0
  2001. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pixel_shuffle.h +1 -1
  2002. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/polar.h +1 -1
  2003. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow.h +1 -1
  2004. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  2005. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  2006. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu.h +1 -1
  2007. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu_grad.h +1 -1
  2008. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prod_ext.h +1 -1
  2009. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  2010. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  2011. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_matmul.h +40 -0
  2012. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_v2.h +1 -1
  2013. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_ext.h +1 -1
  2014. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_like_ext.h +1 -1
  2015. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint.h +1 -1
  2016. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint_like.h +1 -1
  2017. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn.h +1 -1
  2018. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn_like.h +1 -1
  2019. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randperm_ext.h +1 -1
  2020. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reciprocal.h +1 -1
  2021. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_all.h +1 -1
  2022. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_any.h +1 -1
  2023. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_max.h +1 -1
  2024. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_min.h +1 -1
  2025. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  2026. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  2027. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  2028. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  2029. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  2030. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  2031. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu.h +1 -1
  2032. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu_grad.h +1 -1
  2033. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  2034. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  2035. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  2036. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat.h +1 -1
  2037. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  2038. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  2039. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  2040. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d.h +1 -1
  2041. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  2042. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d.h +1 -1
  2043. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  2044. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d.h +1 -1
  2045. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  2046. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape.h +1 -1
  2047. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape_and_cache.h +40 -0
  2048. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reverse_v2.h +1 -1
  2049. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ring_attention_update.h +40 -0
  2050. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm.h +1 -1
  2051. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm_grad.h +1 -1
  2052. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/roll.h +1 -1
  2053. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  2054. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  2055. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/round.h +1 -1
  2056. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rsqrt.h +1 -1
  2057. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter.h +1 -1
  2058. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_add_ext.h +1 -1
  2059. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_value.h +1 -1
  2060. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/searchsorted.h +1 -1
  2061. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select.h +1 -1
  2062. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_ext_view.h +1 -1
  2063. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_v2.h +1 -1
  2064. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_ext.h +1 -1
  2065. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_grad.h +1 -1
  2066. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid.h +1 -1
  2067. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid_grad.h +1 -1
  2068. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sign.h +1 -1
  2069. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v2.h +1 -1
  2070. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v3.h +1 -1
  2071. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu.h +1 -1
  2072. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu_grad.h +1 -1
  2073. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sin.h +1 -1
  2074. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinc.h +1 -1
  2075. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinh.h +1 -1
  2076. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice.h +1 -1
  2077. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext.h +1 -1
  2078. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext_view.h +1 -1
  2079. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  2080. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  2081. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss.h +1 -1
  2082. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  2083. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax.h +1 -1
  2084. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax_backward.h +1 -1
  2085. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_ext.h +1 -1
  2086. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  2087. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink.h +1 -1
  2088. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink_grad.h +1 -1
  2089. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sort_ext.h +1 -1
  2090. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  2091. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  2092. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split.h +1 -1
  2093. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor.h +1 -1
  2094. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor_view.h +1 -1
  2095. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size.h +1 -1
  2096. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size_view.h +1 -1
  2097. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sqrt.h +1 -1
  2098. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/square.h +1 -1
  2099. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/squeeze.h +1 -1
  2100. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/stack_ext.h +1 -1
  2101. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std.h +1 -1
  2102. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std_mean.h +1 -1
  2103. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub.h +1 -1
  2104. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_ext.h +1 -1
  2105. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_scalar.h +1 -1
  2106. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sum_ext.h +1 -1
  2107. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu.h +1 -1
  2108. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu_grad.h +1 -1
  2109. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/t_ext.h +1 -1
  2110. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/take.h +1 -1
  2111. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tan.h +1 -1
  2112. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh.h +1 -1
  2113. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh_grad.h +1 -1
  2114. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  2115. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold.h +1 -1
  2116. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold_grad.h +1 -1
  2117. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tile.h +1 -1
  2118. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/topk_ext.h +1 -1
  2119. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trace_ext.h +1 -1
  2120. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose.h +1 -1
  2121. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_ext_view.h +1 -1
  2122. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_view.h +1 -1
  2123. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triangular_solve.h +1 -1
  2124. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tril_ext.h +1 -1
  2125. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triu.h +1 -1
  2126. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trunc.h +1 -1
  2127. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/type_as.h +1 -1
  2128. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/uniform_ext.h +1 -1
  2129. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique2.h +1 -1
  2130. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_consecutive.h +1 -1
  2131. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_dim.h +1 -1
  2132. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unstack_ext_view.h +1 -1
  2133. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  2134. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  2135. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  2136. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  2137. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d.h +1 -1
  2138. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  2139. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  2140. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  2141. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  2142. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  2143. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  2144. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  2145. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  2146. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  2147. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var.h +1 -1
  2148. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var_mean.h +1 -1
  2149. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view.h +1 -1
  2150. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view_as.h +1 -1
  2151. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  2152. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy.h +1 -1
  2153. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  2154. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  2155. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros.h +1 -1
  2156. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros_like_ext.h +1 -1
  2157. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adamw.h +5 -5
  2158. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool1d.h +2 -3
  2159. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool3d_ext.h +2 -3
  2160. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool1d.h +3 -2
  2161. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool2d.h +3 -2
  2162. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add.h +2 -2
  2163. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_layernorm_v2.h +3 -3
  2164. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rms_norm.h +3 -3
  2165. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rmsnorm_quant_v2.h +3 -3
  2166. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_scalar.h +2 -2
  2167. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addbmm.h +3 -3
  2168. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmm.h +3 -3
  2169. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmv.h +3 -3
  2170. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_finite.h +2 -2
  2171. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_gather_matmul.h +3 -3
  2172. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/any.h +34 -0
  2173. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/any_ext.h +35 -0
  2174. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/arange.h +3 -3
  2175. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_ext.h +2 -2
  2176. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_with_value.h +4 -3
  2177. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_ext.h +2 -2
  2178. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_with_value.h +4 -3
  2179. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argsort.h +3 -3
  2180. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool1d.h +4 -4
  2181. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d.h +5 -5
  2182. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d_grad.h +5 -5
  2183. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_ext.h +6 -6
  2184. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_grad_ext.h +6 -6
  2185. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/baddbmm.h +3 -3
  2186. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_mat_mul.h +3 -3
  2187. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_elemt.h +5 -7
  2188. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_ext.h +6 -5
  2189. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_gather_stats_with_counts.h +5 -5
  2190. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_grad_ext.h +6 -6
  2191. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_stats.h +3 -2
  2192. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bernoulli_ext.h +2 -3
  2193. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy.h +4 -5
  2194. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_grad.h +5 -6
  2195. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits.h +6 -6
  2196. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits_backward.h +4 -4
  2197. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bincount_ext.h +3 -3
  2198. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bmm_ext.h +2 -3
  2199. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cell_backward_hook.h +27 -0
  2200. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/clone.h +1 -1
  2201. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/contiguous.h +1 -1
  2202. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_ext.h +4 -5
  2203. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_padding.h +5 -6
  2204. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_ext.h +4 -5
  2205. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_padding.h +5 -6
  2206. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_ext.h +4 -5
  2207. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_padding.h +5 -6
  2208. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv_transpose2d.h +6 -4
  2209. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution.h +6 -6
  2210. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_grad.h +3 -3
  2211. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_str.h +6 -7
  2212. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/copy.h +1 -1
  2213. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/count_nonzero.h +2 -3
  2214. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cross.h +2 -2
  2215. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cross_entropy_loss.h +37 -0
  2216. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cross_entropy_loss_grad.h +38 -0
  2217. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummax.h +3 -3
  2218. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummin_ext.h +3 -3
  2219. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cumsum_ext.h +2 -2
  2220. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_ext.h +2 -2
  2221. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_kernel.h +3 -3
  2222. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_launch_aclnn.h +1 -1
  2223. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dense.h +2 -2
  2224. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/diag_ext.h +2 -2
  2225. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmod.h +2 -3
  2226. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmods.h +2 -2
  2227. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divs.h +2 -2
  2228. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_do_mask_ext.h +2 -2
  2229. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_ext.h +2 -3
  2230. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_gen_mask_ext.h +3 -3
  2231. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_grad_ext.h +2 -2
  2232. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/einsum_ext.h +36 -0
  2233. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_ext.h +2 -2
  2234. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_grad_ext.h +3 -3
  2235. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding.h +4 -5
  2236. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding_dense_backward.h +5 -3
  2237. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty.h +35 -0
  2238. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty_like.h +36 -0
  2239. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/eye.h +2 -2
  2240. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ffn_ext.h +8 -8
  2241. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_scalar.h +2 -2
  2242. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_tensor.h +2 -3
  2243. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score.h +4 -4
  2244. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score_grad.h +6 -6
  2245. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flatten_ext.h +1 -1
  2246. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div.h +2 -2
  2247. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div_scalar.h +2 -2
  2248. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/full_like.h +2 -2
  2249. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/func_dropout_ext.h +38 -0
  2250. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/func_max_pool2d.h +38 -0
  2251. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fused_infer_attention_score.h +15 -18
  2252. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gather_d_grad_v2.h +2 -3
  2253. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad.h +2 -2
  2254. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad_ext.h +2 -2
  2255. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2.h +1 -1
  2256. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward.h +1 -1
  2257. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward_fusion.h +1 -2
  2258. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_2d_grad.h +3 -3
  2259. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_3d_grad.h +3 -3
  2260. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm.h +3 -3
  2261. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm_grad.h +3 -3
  2262. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul.h +1 -1
  2263. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul_v4.h +1 -1
  2264. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink.h +2 -2
  2265. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink_grad.h +2 -3
  2266. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/identity.h +1 -1
  2267. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/incre_flash_attention.h +11 -11
  2268. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index.h +2 -2
  2269. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_add_ext.h +3 -3
  2270. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_scalar.h +3 -3
  2271. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_tensor.h +3 -3
  2272. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_index.h +2 -2
  2273. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_inplace_index_put.h +4 -5
  2274. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_moe_token_unpermute.h +39 -0
  2275. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_non_zero.h +1 -2
  2276. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_add_ext.h +2 -3
  2277. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_addmm.h +3 -4
  2278. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_adds_ext.h +2 -3
  2279. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_bernoulli_scalar.h +35 -0
  2280. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_bernoulli_tensor.h +35 -0
  2281. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_scalar.h +3 -4
  2282. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_tensor.h +3 -4
  2283. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_copy.h +2 -3
  2284. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_div.h +2 -2
  2285. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmod.h +3 -3
  2286. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmods.h +3 -3
  2287. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divs.h +2 -2
  2288. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_elu.h +2 -2
  2289. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_erfinv.h +1 -2
  2290. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exp.h +1 -1
  2291. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exponential.h +3 -3
  2292. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_diagonal.h +2 -3
  2293. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_scalar.h +2 -2
  2294. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_tensor.h +2 -2
  2295. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor.h +1 -2
  2296. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divide.h +2 -3
  2297. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divides.h +2 -2
  2298. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_grouped_matmul_add.h +3 -3
  2299. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_hardtanh.h +2 -3
  2300. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_add.h +3 -4
  2301. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_put.h +3 -4
  2302. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_log.h +1 -1
  2303. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_scalar.h +2 -3
  2304. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_tensor.h +2 -3
  2305. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_matmul_add.h +34 -0
  2306. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_mul.h +2 -2
  2307. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_muls.h +2 -2
  2308. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_normal.h +3 -3
  2309. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_put.h +3 -3
  2310. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_random.h +3 -4
  2311. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_relu.h +1 -2
  2312. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_remainder_tensor_scalar.h +34 -0
  2313. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_remainder_tensor_tensor.h +35 -0
  2314. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_add.h +3 -4
  2315. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src.h +3 -4
  2316. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src_reduce.h +4 -5
  2317. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value.h +3 -3
  2318. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value_reduce.h +4 -5
  2319. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_silu.h +35 -0
  2320. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_stop_gradient.h +1 -1
  2321. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_ext.h +2 -3
  2322. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_scalar.h +2 -3
  2323. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_tanh.h +1 -2
  2324. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_threshold.h +2 -3
  2325. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_uniform.h +3 -4
  2326. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_zero.h +1 -2
  2327. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isclose.h +3 -3
  2328. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isinf.h +1 -1
  2329. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div.h +3 -3
  2330. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div_grad.h +3 -6
  2331. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kv_cache_scatter_update.h +3 -5
  2332. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_backward_ext.h +3 -5
  2333. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_ext.h +2 -2
  2334. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_ext.h +3 -3
  2335. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_grad_ext.h +4 -4
  2336. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp.h +2 -2
  2337. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp_scalar.h +2 -2
  2338. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lin_space_ext.h +3 -3
  2339. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_qr.h +1 -2
  2340. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_vector_norm.h +1 -1
  2341. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_ext.h +3 -4
  2342. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_grad.h +2 -3
  2343. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_fill.h +2 -2
  2344. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_scatter.h +35 -0
  2345. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select.h +2 -2
  2346. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select_grad.h +2 -4
  2347. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul.h +3 -3
  2348. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_allreduce_add_rmsnorm.h +3 -3
  2349. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_ext.h +2 -2
  2350. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_reduce_scatter.h +5 -4
  2351. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_indices.h +6 -7
  2352. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_mask.h +6 -6
  2353. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_indices.h +5 -5
  2354. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_mask.h +4 -5
  2355. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_unpool2d_ext.h +6 -6
  2356. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mean_ext.h +3 -3
  2357. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/meshgrid.h +4 -3
  2358. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mm_ext.h +2 -2
  2359. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_combine.h +45 -0
  2360. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_dispatch.h +41 -0
  2361. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_permute.h +2 -2
  2362. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute.h +4 -6
  2363. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute_grad.h +3 -4
  2364. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/move_to.h +2 -2
  2365. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_ext.h +2 -2
  2366. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_grad_ext.h +3 -4
  2367. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/muls.h +2 -2
  2368. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn.h +5 -3
  2369. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn_grad.h +4 -6
  2370. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multinomial_ext.h +3 -4
  2371. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mv.h +2 -2
  2372. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nan_to_num.h +3 -4
  2373. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nansum.h +3 -3
  2374. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ne_scalar.h +2 -2
  2375. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_empty.h +36 -0
  2376. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_full.h +36 -0
  2377. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_ones.h +2 -2
  2378. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_zeros.h +1 -1
  2379. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss.h +3 -3
  2380. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d.h +3 -3
  2381. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d_grad.h +4 -4
  2382. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_grad.h +4 -6
  2383. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero.h +1 -1
  2384. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero_ext.h +2 -2
  2385. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/norm.h +1 -1
  2386. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_float.h +3 -3
  2387. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_tensor.h +3 -3
  2388. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_float.h +3 -3
  2389. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_tensor.h +3 -4
  2390. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/one_hot_ext.h +3 -3
  2391. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones.h +2 -2
  2392. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones_like_ext.h +2 -2
  2393. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/outer.h +2 -2
  2394. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pixel_shuffle.h +2 -2
  2395. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_scalar_tensor.h +2 -2
  2396. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_tensor_scalar.h +2 -3
  2397. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prod_ext.h +3 -3
  2398. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prompt_flash_attention.h +7 -7
  2399. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_batch_matmul.h +7 -7
  2400. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_matmul.h +41 -0
  2401. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_v2.h +3 -3
  2402. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_ext.h +3 -3
  2403. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_like_ext.h +3 -3
  2404. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint.h +3 -4
  2405. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint_like.h +3 -4
  2406. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn.h +3 -3
  2407. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn_like.h +3 -3
  2408. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randperm_ext.h +3 -3
  2409. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reduce_all.h +2 -2
  2410. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/relu_grad.h +2 -2
  2411. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_grad.h +3 -3
  2412. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_int.h +3 -4
  2413. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_tensor.h +4 -5
  2414. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reshape.h +4 -2
  2415. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ring_attention_update.h +38 -0
  2416. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rms_norm.h +4 -4
  2417. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rotary_position_embedding_grad.h +3 -3
  2418. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/round.h +2 -2
  2419. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/scatter_add_ext.h +3 -3
  2420. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/searchsorted.h +3 -4
  2421. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sigmoid_grad.h +2 -2
  2422. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v2.h +5 -5
  2423. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v3.h +6 -4
  2424. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss.h +3 -4
  2425. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss_grad.h +4 -5
  2426. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss.h +2 -3
  2427. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss_grad.h +3 -4
  2428. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softmax.h +2 -2
  2429. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink.h +2 -2
  2430. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink_grad.h +2 -3
  2431. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sort_ext.h +5 -5
  2432. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention.h +4 -4
  2433. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention_grad.h +11 -12
  2434. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/square.h +1 -1
  2435. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std.h +3 -3
  2436. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std_mean.h +1 -1
  2437. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub.h +2 -2
  2438. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub_scalar.h +2 -2
  2439. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sum_ext.h +3 -3
  2440. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/t_ext.h +1 -1
  2441. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/take.h +2 -2
  2442. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tanh_grad.h +2 -2
  2443. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold.h +2 -2
  2444. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold_grad.h +2 -2
  2445. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tile.h +1 -1
  2446. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/type_as.h +2 -2
  2447. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/uniform_ext.h +3 -3
  2448. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique2.h +2 -2
  2449. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_consecutive.h +2 -2
  2450. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_dim.h +2 -2
  2451. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unstack_ext_view.h +4 -3
  2452. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d.h +4 -5
  2453. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d_grad.h +5 -6
  2454. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d.h +4 -5
  2455. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d_grad.h +6 -6
  2456. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d.h +4 -5
  2457. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d_grad.h +5 -6
  2458. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d.h +3 -4
  2459. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d_grad.h +4 -5
  2460. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d.h +3 -4
  2461. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d_grad.h +4 -5
  2462. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d.h +3 -4
  2463. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d_grad.h +4 -5
  2464. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d.h +4 -5
  2465. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d_grad.h +6 -6
  2466. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var.h +3 -3
  2467. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var_mean.h +1 -1
  2468. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/view_as.h +2 -2
  2469. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/weight_quant_batch_matmul.h +5 -5
  2470. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros.h +2 -2
  2471. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros_like_ext.h +2 -3
  2472. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/apply_rotary_pos_emb.h +40 -0
  2473. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/flash_attention_score.h +40 -0
  2474. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/mla.h +40 -0
  2475. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/paged_attention.h +40 -0
  2476. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/reshape_and_cache.h +40 -0
  2477. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/functions/functions.h +35 -0
  2478. mindspore/include/mindspore/ops/kernel/cpu/empty_cpu_kernel.h +55 -0
  2479. mindspore/include/mindspore/ops/kernel/cpu/empty_like_cpu_kernel.h +55 -0
  2480. mindspore/include/mindspore/ops/kernel/cpu/grid_sampler_2d_grad_cpu_kernel.h +3 -15
  2481. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_data_cpu_kernel.h +1 -1
  2482. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_grad_cpu_kernel.h +1 -1
  2483. mindspore/include/mindspore/ops/kernel/cpu/masked_fill_cpu_kernel.h +1 -0
  2484. mindspore/include/mindspore/ops/kernel/cpu/multi_margin_loss_cpu_kernel.h +6 -6
  2485. mindspore/include/mindspore/ops/kernel/cpu/new_empty_cpu_kernel.h +55 -0
  2486. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h +0 -3
  2487. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h +0 -3
  2488. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h +0 -3
  2489. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/abs.h +1 -1
  2490. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/acos_ext.h +38 -0
  2491. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2492. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2493. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  2494. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  2495. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  2496. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add.h +1 -1
  2497. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_ext.h +1 -1
  2498. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  2499. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  2500. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_scalar.h +1 -1
  2501. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  2502. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  2503. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any.h +38 -0
  2504. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any_ext.h +38 -0
  2505. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  2506. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  2507. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  2508. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argsort.h +1 -1
  2509. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/as_strided.h +1 -1
  2510. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atan_ext.h +38 -0
  2511. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atanh.h +1 -1
  2512. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  2513. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  2514. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  2515. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  2516. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  2517. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/baddbmm.h +1 -1
  2518. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  2519. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  2520. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  2521. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  2522. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  2523. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  2524. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  2525. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  2526. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  2527. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  2528. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  2529. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  2530. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  2531. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_not.h +1 -1
  2532. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  2533. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  2534. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  2535. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  2536. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bmm_ext.h +1 -1
  2537. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to.h +1 -1
  2538. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  2539. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cast.h +1 -1
  2540. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ceil.h +1 -1
  2541. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cell_backward_hook.h +38 -0
  2542. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk.h +1 -1
  2543. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk_view.h +1 -1
  2544. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  2545. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  2546. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clone.h +1 -1
  2547. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_ext.h +1 -1
  2548. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_grad.h +1 -1
  2549. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/concat.h +1 -1
  2550. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  2551. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/contiguous.h +1 -1
  2552. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  2553. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  2554. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  2555. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  2556. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  2557. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution.h +1 -1
  2558. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_grad.h +1 -1
  2559. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str.h +1 -1
  2560. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  2561. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/copy.h +1 -1
  2562. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cos.h +1 -1
  2563. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cosh.h +1 -1
  2564. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/count_nonzero.h +1 -1
  2565. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cross.h +1 -1
  2566. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cross_entropy_loss.h +38 -0
  2567. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cross_entropy_loss_grad.h +38 -0
  2568. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cummax.h +1 -1
  2569. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dense.h +1 -1
  2570. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diag_ext.h +1 -1
  2571. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diagonal_view.h +38 -0
  2572. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  2573. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  2574. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor_uneven.h +38 -0
  2575. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  2576. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  2577. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  2578. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  2579. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  2580. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  2581. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  2582. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  2583. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  2584. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  2585. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  2586. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  2587. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  2588. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor_uneven.h +38 -0
  2589. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  2590. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  2591. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/div.h +1 -1
  2592. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmod.h +1 -1
  2593. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmods.h +1 -1
  2594. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divs.h +1 -1
  2595. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dot.h +1 -1
  2596. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  2597. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/einsum_ext.h +38 -0
  2598. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/elu.h +1 -1
  2599. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding.h +1 -1
  2600. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  2601. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty.h +38 -0
  2602. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty_like.h +38 -0
  2603. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal.h +1 -1
  2604. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal_ext.h +1 -1
  2605. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erf.h +1 -1
  2606. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfc.h +1 -1
  2607. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfinv.h +1 -1
  2608. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp.h +1 -1
  2609. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp2.h +1 -1
  2610. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims.h +1 -1
  2611. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  2612. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expm1.h +1 -1
  2613. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/eye.h +1 -1
  2614. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ffn_ext.h +1 -1
  2615. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor.h +1 -1
  2616. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div.h +1 -1
  2617. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  2618. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  2619. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/frac.h +1 -1
  2620. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/full_like.h +1 -1
  2621. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/func_dropout_ext.h +38 -0
  2622. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  2623. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d.h +1 -1
  2624. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  2625. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gcd.h +1 -1
  2626. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu.h +1 -1
  2627. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_ext.h +1 -1
  2628. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad.h +1 -1
  2629. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  2630. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/generator.h +1 -1
  2631. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu.h +1 -1
  2632. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu_grad.h +1 -1
  2633. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater.h +1 -1
  2634. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal.h +1 -1
  2635. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  2636. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  2637. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  2638. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  2639. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  2640. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm.h +1 -1
  2641. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  2642. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  2643. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  2644. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  2645. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh.h +1 -1
  2646. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  2647. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink.h +1 -1
  2648. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  2649. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid.h +1 -1
  2650. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  2651. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish.h +1 -1
  2652. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish_grad.h +1 -1
  2653. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/identity.h +1 -1
  2654. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/im2col_ext.h +1 -1
  2655. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  2656. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index.h +1 -1
  2657. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_add_ext.h +1 -1
  2658. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  2659. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  2660. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  2661. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  2662. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  2663. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  2664. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  2665. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  2666. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_index.h +1 -1
  2667. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  2668. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  2669. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  2670. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  2671. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_bernoulli_scalar.h +38 -0
  2672. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_bernoulli_tensor.h +38 -0
  2673. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  2674. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  2675. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_copy.h +1 -1
  2676. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_div.h +1 -1
  2677. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  2678. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  2679. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divs.h +1 -1
  2680. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_elu.h +1 -1
  2681. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  2682. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  2683. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  2684. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  2685. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  2686. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor.h +1 -1
  2687. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  2688. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  2689. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  2690. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  2691. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  2692. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  2693. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_log.h +1 -1
  2694. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  2695. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  2696. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  2697. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_mul.h +1 -1
  2698. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_muls.h +1 -1
  2699. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_normal.h +1 -1
  2700. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_put.h +1 -1
  2701. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_random.h +1 -1
  2702. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_relu.h +1 -1
  2703. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_remainder_tensor_scalar.h +38 -0
  2704. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_remainder_tensor_tensor.h +38 -0
  2705. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  2706. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  2707. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  2708. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  2709. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  2710. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_silu.h +38 -0
  2711. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  2712. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  2713. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  2714. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  2715. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_zero.h +1 -1
  2716. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isclose.h +1 -1
  2717. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isfinite.h +1 -1
  2718. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isinf.h +1 -1
  2719. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isneginf.h +1 -1
  2720. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div.h +1 -1
  2721. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  2722. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kthvalue.h +1 -1
  2723. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  2724. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/layer_norm_ext.h +1 -1
  2725. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  2726. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  2727. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp.h +1 -1
  2728. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  2729. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less.h +1 -1
  2730. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less_equal.h +1 -1
  2731. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_qr.h +1 -1
  2732. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  2733. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log.h +1 -1
  2734. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log1p.h +1 -1
  2735. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax.h +1 -1
  2736. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  2737. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp.h +1 -1
  2738. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp2.h +1 -1
  2739. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_and.h +1 -1
  2740. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_not.h +1 -1
  2741. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_or.h +1 -1
  2742. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_xor.h +1 -1
  2743. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid.h +1 -1
  2744. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  2745. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsumexp.h +1 -1
  2746. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_fill.h +1 -1
  2747. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_scatter.h +38 -0
  2748. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select.h +1 -1
  2749. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  2750. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul.h +1 -1
  2751. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  2752. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_ext.h +1 -1
  2753. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max.h +1 -1
  2754. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max_dim.h +1 -1
  2755. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/maximum.h +1 -1
  2756. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mean_ext.h +1 -1
  2757. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_dim.h +1 -1
  2758. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_ext.h +1 -1
  2759. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/meshgrid.h +1 -1
  2760. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min.h +1 -1
  2761. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min_dim.h +1 -1
  2762. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/minimum.h +1 -1
  2763. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_ext.h +1 -1
  2764. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  2765. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mla.h +38 -0
  2766. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  2767. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  2768. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  2769. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  2770. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  2771. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  2772. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  2773. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  2774. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  2775. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  2776. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  2777. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  2778. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mul.h +1 -1
  2779. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/muls.h +1 -1
  2780. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  2781. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  2782. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mv.h +1 -1
  2783. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nan_to_num.h +1 -1
  2784. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ne_scalar.h +1 -1
  2785. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/neg.h +1 -1
  2786. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_empty.h +38 -0
  2787. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_full.h +38 -0
  2788. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_ones.h +1 -1
  2789. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_zeros.h +1 -1
  2790. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss.h +1 -1
  2791. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  2792. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  2793. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  2794. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/non_zero.h +1 -1
  2795. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/norm.h +1 -1
  2796. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_float.h +1 -1
  2797. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  2798. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  2799. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  2800. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/not_equal.h +1 -1
  2801. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ones.h +1 -1
  2802. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/outer.h +1 -1
  2803. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/paged_attention.h +38 -0
  2804. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  2805. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/polar.h +1 -1
  2806. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow.h +1 -1
  2807. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  2808. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  2809. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu.h +1 -1
  2810. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu_grad.h +1 -1
  2811. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prod_ext.h +1 -1
  2812. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  2813. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_matmul.h +38 -0
  2814. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_v2.h +1 -1
  2815. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint.h +1 -1
  2816. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint_like.h +1 -1
  2817. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn.h +1 -1
  2818. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn_like.h +1 -1
  2819. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reciprocal.h +1 -1
  2820. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_all.h +1 -1
  2821. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_any.h +1 -1
  2822. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_max.h +1 -1
  2823. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_min.h +1 -1
  2824. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  2825. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  2826. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  2827. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  2828. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  2829. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  2830. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu.h +1 -1
  2831. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu_grad.h +1 -1
  2832. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/repeat.h +1 -1
  2833. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  2834. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  2835. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  2836. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  2837. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  2838. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  2839. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape.h +1 -1
  2840. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  2841. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reverse_v2.h +1 -1
  2842. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  2843. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/roll.h +1 -1
  2844. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  2845. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  2846. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/round.h +1 -1
  2847. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rsqrt.h +1 -1
  2848. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter.h +1 -1
  2849. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  2850. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_value.h +1 -1
  2851. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/searchsorted.h +1 -1
  2852. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select.h +1 -1
  2853. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_ext_view.h +1 -1
  2854. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_v2.h +1 -1
  2855. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_ext.h +1 -1
  2856. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_grad.h +1 -1
  2857. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid.h +1 -1
  2858. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  2859. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sign.h +1 -1
  2860. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu.h +1 -1
  2861. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu_grad.h +1 -1
  2862. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sin.h +1 -1
  2863. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinc.h +1 -1
  2864. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinh.h +1 -1
  2865. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice.h +1 -1
  2866. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext.h +1 -1
  2867. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  2868. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  2869. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  2870. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  2871. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  2872. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax.h +1 -1
  2873. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax_backward.h +1 -1
  2874. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_ext.h +1 -1
  2875. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  2876. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink.h +1 -1
  2877. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  2878. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  2879. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  2880. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/split.h +1 -1
  2881. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sqrt.h +1 -1
  2882. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/square.h +1 -1
  2883. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/squeeze.h +1 -1
  2884. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/stack_ext.h +38 -0
  2885. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub.h +1 -1
  2886. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_ext.h +1 -1
  2887. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_scalar.h +1 -1
  2888. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sum_ext.h +1 -1
  2889. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/take.h +1 -1
  2890. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tan.h +1 -1
  2891. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh.h +1 -1
  2892. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh_grad.h +1 -1
  2893. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  2894. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold.h +1 -1
  2895. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold_grad.h +1 -1
  2896. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tile.h +1 -1
  2897. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose.h +1 -1
  2898. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  2899. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_view.h +1 -1
  2900. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triangular_solve.h +1 -1
  2901. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triu.h +1 -1
  2902. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/trunc.h +1 -1
  2903. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/unique_consecutive.h +1 -1
  2904. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  2905. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  2906. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  2907. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  2908. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  2909. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  2910. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  2911. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  2912. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  2913. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  2914. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  2915. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  2916. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  2917. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  2918. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/view.h +1 -1
  2919. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  2920. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy.h +1 -1
  2921. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  2922. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  2923. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros.h +1 -1
  2924. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros_like_ext.h +38 -0
  2925. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any.h +34 -0
  2926. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any_ext.h +35 -0
  2927. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/binary_cross_entropy_with_logits.h +4 -4
  2928. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/cell_backward_hook.h +27 -0
  2929. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_scalar.h +2 -2
  2930. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_tensor.h +2 -3
  2931. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/contiguous.h +1 -1
  2932. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/copy.h +1 -1
  2933. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dense.h +2 -2
  2934. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_gather.h +1 -1
  2935. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_reduce.h +1 -1
  2936. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_broadcast.h +2 -2
  2937. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_gather.h +1 -1
  2938. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_irecv.h +1 -1
  2939. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_isend.h +1 -1
  2940. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_scatter.h +1 -1
  2941. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/divmod.h +2 -3
  2942. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty.h +35 -0
  2943. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty_like.h +36 -0
  2944. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/group_norm.h +3 -3
  2945. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/grouped_matmul.h +1 -1
  2946. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/identity.h +1 -1
  2947. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inner_comm_all_reduce.h +2 -3
  2948. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inplace_copy.h +2 -2
  2949. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/layer_norm_ext.h +3 -3
  2950. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/masked_select.h +2 -2
  2951. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/matmul_ext.h +1 -1
  2952. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/max.h +1 -1
  2953. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/mean_ext.h +1 -1
  2954. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/meshgrid.h +4 -2
  2955. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/min.h +1 -1
  2956. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_empty.h +36 -0
  2957. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_ones.h +2 -2
  2958. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_zeros.h +2 -2
  2959. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/non_zero.h +1 -1
  2960. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pixel_shuffle.h +2 -2
  2961. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  2962. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  2963. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/prod_ext.h +1 -1
  2964. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/reshape.h +4 -2
  2965. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/round.h +1 -1
  2966. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/searchsorted.h +3 -4
  2967. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu.h +1 -1
  2968. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu_grad.h +1 -2
  2969. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/sum_ext.h +1 -1
  2970. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/unique_consecutive.h +2 -2
  2971. mindspore/include/mindspore/ops/kernel/cpu/sample_distorted_bounding_box_v2_cpu_kernel.h +4 -0
  2972. mindspore/include/mindspore/ops/kernel/cpu/sequence/bool_binary_arithmetic_cpu_kernel.h +42 -0
  2973. mindspore/include/mindspore/ops/kernel/cpu/sequence/sequence_len_cpu_kernel.h +0 -1
  2974. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_cpu_kernel.h +1 -1
  2975. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_v2_cpu_kernel.h +2 -2
  2976. mindspore/include/mindspore/ops/kernel/cpu/stft_cpu_kernel.h +16 -16
  2977. mindspore/include/mindspore/ops/kernel/cpu/utils/sampling_kernels.h +18 -15
  2978. mindspore/include/mindspore/ops/kernel/gpu/arrays/broadcast_to_gpu_kernel.h +1 -1
  2979. mindspore/include/mindspore/ops/kernel/gpu/arrays/select_gpu_kernel.h +2 -2
  2980. mindspore/include/mindspore/ops/kernel/gpu/arrays/unique_consecutive_gpu_kernel.h +2 -2
  2981. mindspore/include/mindspore/ops/kernel/gpu/cuda_impl/cuda_class/unique_consecutive_helper.h +1 -1
  2982. mindspore/include/mindspore/ops/kernel/gpu/dynamic_akg/dynamic_utils.h +1 -1
  2983. mindspore/include/mindspore/ops/kernel/gpu/gpu_kernel.h +3 -4
  2984. mindspore/include/mindspore/ops/kernel/gpu/math/binary_ext_ops_gpu_kernel.h +2 -2
  2985. mindspore/include/mindspore/ops/kernel/gpu/math/correlate_gpu_kernel.h +15 -11
  2986. mindspore/include/mindspore/ops/kernel/gpu/math/eps_gpu_kernel.h +4 -4
  2987. mindspore/include/mindspore/ops/kernel/gpu/math/tracev2_grad_gpu_kernel.h +0 -1
  2988. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_recv_gpu_kernel.h +1 -1
  2989. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_send_gpu_kernel.h +1 -1
  2990. mindspore/include/mindspore/ops/kernel/gpu/nn/activation_grad_kernel.h +3 -3
  2991. mindspore/include/mindspore/ops/kernel/gpu/nn/adagrad_gpu_kernel.h +4 -2
  2992. mindspore/include/mindspore/ops/kernel/gpu/nn/adam_gpu_kernel.h +1 -1
  2993. mindspore/include/mindspore/ops/kernel/gpu/nn/batch_norm_grad_gpu_kernel.h +1 -0
  2994. mindspore/include/mindspore/ops/kernel/gpu/nn/kl_div_loss_grad_kernel.h +3 -2
  2995. mindspore/include/mindspore/ops/kernel/gpu/other/dynamic_stitch_gpu_kernel.h +6 -6
  2996. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/abs.h +1 -1
  2997. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2998. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2999. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  3000. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  3001. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  3002. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add.h +1 -1
  3003. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_ext.h +1 -1
  3004. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  3005. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  3006. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_scalar.h +1 -1
  3007. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  3008. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  3009. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any.h +38 -0
  3010. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any_ext.h +38 -0
  3011. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  3012. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  3013. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  3014. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argsort.h +1 -1
  3015. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/as_strided.h +1 -1
  3016. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/atanh.h +1 -1
  3017. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  3018. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  3019. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  3020. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  3021. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  3022. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/baddbmm.h +1 -1
  3023. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  3024. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  3025. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  3026. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  3027. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  3028. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  3029. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  3030. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  3031. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  3032. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  3033. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  3034. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  3035. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  3036. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_not.h +1 -1
  3037. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  3038. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  3039. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  3040. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  3041. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bmm_ext.h +1 -1
  3042. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to.h +1 -1
  3043. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  3044. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cast.h +1 -1
  3045. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ceil.h +1 -1
  3046. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cell_backward_hook.h +38 -0
  3047. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk.h +1 -1
  3048. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk_view.h +1 -1
  3049. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  3050. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  3051. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clone.h +1 -1
  3052. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_ext.h +1 -1
  3053. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_grad.h +1 -1
  3054. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/concat.h +1 -1
  3055. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  3056. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/contiguous.h +1 -1
  3057. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  3058. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  3059. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  3060. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  3061. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  3062. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution.h +1 -1
  3063. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_grad.h +1 -1
  3064. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str.h +1 -1
  3065. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  3066. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/copy.h +1 -1
  3067. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cos.h +1 -1
  3068. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cosh.h +1 -1
  3069. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/count_nonzero.h +1 -1
  3070. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cross.h +1 -1
  3071. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cross_entropy_loss.h +38 -0
  3072. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cross_entropy_loss_grad.h +38 -0
  3073. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cummax.h +1 -1
  3074. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dense.h +1 -1
  3075. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diag_ext.h +1 -1
  3076. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diagonal_view.h +38 -0
  3077. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  3078. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  3079. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor_uneven.h +38 -0
  3080. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  3081. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  3082. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  3083. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  3084. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  3085. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  3086. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  3087. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  3088. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  3089. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  3090. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  3091. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  3092. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  3093. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor_uneven.h +38 -0
  3094. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  3095. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  3096. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/div.h +1 -1
  3097. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmod.h +1 -1
  3098. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmods.h +1 -1
  3099. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divs.h +1 -1
  3100. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dot.h +1 -1
  3101. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  3102. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/einsum_ext.h +38 -0
  3103. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/elu.h +1 -1
  3104. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding.h +1 -1
  3105. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  3106. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal.h +1 -1
  3107. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal_ext.h +1 -1
  3108. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erf.h +1 -1
  3109. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfc.h +1 -1
  3110. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfinv.h +1 -1
  3111. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp.h +1 -1
  3112. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp2.h +1 -1
  3113. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims.h +1 -1
  3114. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  3115. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expm1.h +1 -1
  3116. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/eye.h +1 -1
  3117. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ffn_ext.h +1 -1
  3118. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor.h +1 -1
  3119. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div.h +1 -1
  3120. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  3121. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  3122. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/frac.h +1 -1
  3123. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/full_like.h +1 -1
  3124. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/func_dropout_ext.h +38 -0
  3125. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  3126. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d.h +1 -1
  3127. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  3128. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gcd.h +1 -1
  3129. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu.h +1 -1
  3130. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_ext.h +1 -1
  3131. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad.h +1 -1
  3132. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  3133. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/generator.h +1 -1
  3134. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu.h +1 -1
  3135. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu_grad.h +1 -1
  3136. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater.h +1 -1
  3137. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal.h +1 -1
  3138. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  3139. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  3140. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  3141. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  3142. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  3143. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm.h +1 -1
  3144. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  3145. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  3146. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  3147. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  3148. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh.h +1 -1
  3149. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  3150. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink.h +1 -1
  3151. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  3152. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid.h +1 -1
  3153. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  3154. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish.h +1 -1
  3155. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish_grad.h +1 -1
  3156. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/identity.h +1 -1
  3157. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/im2col_ext.h +1 -1
  3158. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  3159. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index.h +1 -1
  3160. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_add_ext.h +1 -1
  3161. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  3162. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  3163. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  3164. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  3165. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  3166. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  3167. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  3168. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  3169. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_index.h +1 -1
  3170. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  3171. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  3172. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  3173. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  3174. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_bernoulli_scalar.h +38 -0
  3175. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_bernoulli_tensor.h +38 -0
  3176. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  3177. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  3178. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_copy.h +1 -1
  3179. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_div.h +1 -1
  3180. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  3181. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  3182. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divs.h +1 -1
  3183. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_elu.h +1 -1
  3184. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  3185. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  3186. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  3187. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  3188. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  3189. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor.h +1 -1
  3190. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  3191. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  3192. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  3193. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  3194. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  3195. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  3196. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_log.h +1 -1
  3197. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  3198. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  3199. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  3200. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_mul.h +1 -1
  3201. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_muls.h +1 -1
  3202. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_normal.h +1 -1
  3203. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_put.h +1 -1
  3204. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_random.h +1 -1
  3205. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_relu.h +1 -1
  3206. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  3207. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  3208. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  3209. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  3210. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  3211. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_silu.h +38 -0
  3212. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  3213. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  3214. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  3215. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  3216. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_zero.h +1 -1
  3217. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isclose.h +1 -1
  3218. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isfinite.h +1 -1
  3219. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isinf.h +1 -1
  3220. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isneginf.h +1 -1
  3221. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div.h +1 -1
  3222. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  3223. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kthvalue.h +1 -1
  3224. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  3225. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  3226. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  3227. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp.h +1 -1
  3228. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  3229. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less.h +1 -1
  3230. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less_equal.h +1 -1
  3231. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_qr.h +1 -1
  3232. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  3233. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log.h +1 -1
  3234. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log1p.h +1 -1
  3235. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax.h +1 -1
  3236. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  3237. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp.h +1 -1
  3238. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp2.h +1 -1
  3239. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_and.h +1 -1
  3240. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_not.h +1 -1
  3241. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_or.h +1 -1
  3242. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_xor.h +1 -1
  3243. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid.h +1 -1
  3244. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  3245. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsumexp.h +1 -1
  3246. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_fill.h +1 -1
  3247. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_scatter.h +38 -0
  3248. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select.h +1 -1
  3249. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  3250. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul.h +1 -1
  3251. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  3252. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_ext.h +1 -1
  3253. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max.h +1 -1
  3254. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max_dim.h +1 -1
  3255. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/maximum.h +1 -1
  3256. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mean_ext.h +1 -1
  3257. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_dim.h +1 -1
  3258. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_ext.h +1 -1
  3259. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/meshgrid.h +1 -1
  3260. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min.h +1 -1
  3261. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min_dim.h +1 -1
  3262. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/minimum.h +1 -1
  3263. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_ext.h +1 -1
  3264. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  3265. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mla.h +38 -0
  3266. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  3267. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  3268. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  3269. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  3270. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  3271. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  3272. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  3273. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  3274. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  3275. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  3276. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  3277. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  3278. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mul.h +1 -1
  3279. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/muls.h +1 -1
  3280. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  3281. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  3282. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mv.h +1 -1
  3283. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nan_to_num.h +1 -1
  3284. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ne_scalar.h +1 -1
  3285. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/neg.h +1 -1
  3286. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_full.h +38 -0
  3287. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_ones.h +1 -1
  3288. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_zeros.h +1 -1
  3289. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss.h +1 -1
  3290. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  3291. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  3292. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  3293. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/non_zero.h +1 -1
  3294. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/norm.h +1 -1
  3295. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_float.h +1 -1
  3296. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  3297. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  3298. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  3299. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/not_equal.h +1 -1
  3300. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ones.h +1 -1
  3301. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/outer.h +1 -1
  3302. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/paged_attention.h +38 -0
  3303. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  3304. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/polar.h +1 -1
  3305. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow.h +1 -1
  3306. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  3307. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  3308. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu.h +1 -1
  3309. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu_grad.h +1 -1
  3310. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prod_ext.h +1 -1
  3311. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  3312. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_matmul.h +38 -0
  3313. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_v2.h +1 -1
  3314. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint.h +1 -1
  3315. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint_like.h +1 -1
  3316. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn.h +1 -1
  3317. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn_like.h +1 -1
  3318. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reciprocal.h +1 -1
  3319. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_all.h +1 -1
  3320. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_any.h +1 -1
  3321. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_max.h +1 -1
  3322. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_min.h +1 -1
  3323. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  3324. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  3325. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  3326. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  3327. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  3328. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  3329. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu.h +1 -1
  3330. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu_grad.h +1 -1
  3331. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/repeat.h +1 -1
  3332. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  3333. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  3334. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  3335. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  3336. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  3337. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  3338. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape.h +1 -1
  3339. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  3340. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reverse_v2.h +1 -1
  3341. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  3342. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/roll.h +1 -1
  3343. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  3344. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  3345. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/round.h +1 -1
  3346. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rsqrt.h +1 -1
  3347. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter.h +1 -1
  3348. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  3349. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_value.h +1 -1
  3350. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/searchsorted.h +1 -1
  3351. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select.h +1 -1
  3352. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_ext_view.h +1 -1
  3353. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_v2.h +1 -1
  3354. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_ext.h +1 -1
  3355. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_grad.h +1 -1
  3356. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid.h +1 -1
  3357. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  3358. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sign.h +1 -1
  3359. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu.h +1 -1
  3360. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu_grad.h +1 -1
  3361. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sin.h +1 -1
  3362. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinc.h +1 -1
  3363. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinh.h +1 -1
  3364. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice.h +1 -1
  3365. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext.h +1 -1
  3366. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  3367. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  3368. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  3369. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  3370. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  3371. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax.h +1 -1
  3372. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax_backward.h +1 -1
  3373. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_ext.h +1 -1
  3374. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  3375. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink.h +1 -1
  3376. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  3377. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  3378. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  3379. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/split.h +1 -1
  3380. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sqrt.h +1 -1
  3381. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/square.h +1 -1
  3382. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/squeeze.h +1 -1
  3383. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub.h +1 -1
  3384. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_ext.h +1 -1
  3385. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_scalar.h +1 -1
  3386. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sum_ext.h +1 -1
  3387. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/take.h +1 -1
  3388. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tan.h +1 -1
  3389. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh.h +1 -1
  3390. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh_grad.h +1 -1
  3391. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  3392. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold.h +1 -1
  3393. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold_grad.h +1 -1
  3394. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tile.h +1 -1
  3395. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose.h +1 -1
  3396. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  3397. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_view.h +1 -1
  3398. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triangular_solve.h +1 -1
  3399. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triu.h +1 -1
  3400. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/trunc.h +1 -1
  3401. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  3402. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  3403. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  3404. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  3405. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  3406. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  3407. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  3408. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  3409. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  3410. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  3411. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  3412. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  3413. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  3414. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  3415. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/view.h +1 -1
  3416. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  3417. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy.h +1 -1
  3418. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  3419. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  3420. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/zeros.h +1 -1
  3421. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any.h +34 -0
  3422. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any_ext.h +35 -0
  3423. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/cell_backward_hook.h +27 -0
  3424. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_scalar.h +2 -2
  3425. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_tensor.h +2 -3
  3426. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/contiguous.h +1 -1
  3427. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/copy.h +1 -1
  3428. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/dense.h +2 -2
  3429. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/divmod.h +2 -3
  3430. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/grouped_matmul.h +1 -1
  3431. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/identity.h +1 -1
  3432. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_gather.h +1 -1
  3433. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_reduce.h +1 -1
  3434. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_isend.h +1 -1
  3435. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_reduce_scatter.h +1 -1
  3436. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/masked_select.h +2 -2
  3437. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/matmul_ext.h +1 -1
  3438. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/max.h +1 -1
  3439. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/mean_ext.h +1 -1
  3440. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/meshgrid.h +4 -2
  3441. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/min.h +1 -1
  3442. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_ones.h +2 -2
  3443. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_zeros.h +2 -2
  3444. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/non_zero.h +1 -1
  3445. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pixel_shuffle.h +2 -2
  3446. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  3447. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  3448. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/prod_ext.h +1 -1
  3449. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/reshape.h +4 -2
  3450. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/searchsorted.h +3 -4
  3451. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/sum_ext.h +1 -1
  3452. mindspore/include/mindspore/ops/kernel/gpu/random/random_categorical_gpu_kernel.h +4 -8
  3453. mindspore/include/mindspore/ops/kernel/gpu/rl/buffer_sample_gpu_kernel.h +8 -8
  3454. mindspore/include/mindspore/ops/kernel/gpu/rl/gru_gpu_kernel.h +1 -0
  3455. mindspore/include/mindspore/ops/kernel/gpu/sparse/csr_sparse_matrix_to_sparse_tensor_gpu_kernel.h +1 -1
  3456. mindspore/include/mindspore/ops/kernel/gpu/sparse/dense_to_csr_sparse_matrix_gpu_kernel.h +3 -3
  3457. mindspore/include/mindspore/ops/kernel/gpu/sparse/sparse_matrix_sparse_matmul_gpu_kernel.h +2 -2
  3458. mindspore/include/mindspore/ops/kernel/include/common/common_utils.h +9 -0
  3459. mindspore/include/mindspore/ops/kernel/include/common/device_address.h +290 -33
  3460. mindspore/include/mindspore/ops/kernel/include/common/device_type.h +3 -5
  3461. mindspore/include/mindspore/ops/kernel/include/common/kernel.h +26 -1
  3462. mindspore/include/mindspore/ops/kernel/include/common/kernel_tensor.h +119 -306
  3463. mindspore/include/mindspore/ops/op_def/array_ops.h +0 -2
  3464. mindspore/include/mindspore/ops/op_def/auto_generate/gen_lite_ops.h +3217 -2989
  3465. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_def.h +810 -779
  3466. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_a.h +61 -59
  3467. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_b.h +27 -27
  3468. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_c.h +36 -33
  3469. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_d.h +29 -26
  3470. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_e.h +29 -28
  3471. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_f.h +21 -19
  3472. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_g.h +19 -19
  3473. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_h.h +8 -8
  3474. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_i.h +71 -64
  3475. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_k.h +2 -1
  3476. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_l.h +32 -32
  3477. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_m.h +47 -39
  3478. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_n.h +19 -18
  3479. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_o.h +3 -3
  3480. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_p.h +6 -7
  3481. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_q.h +6 -3
  3482. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_r.h +61 -60
  3483. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_s.h +66 -66
  3484. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_t.h +21 -20
  3485. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_u.h +14 -14
  3486. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_v.h +2 -2
  3487. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_x.h +1 -1
  3488. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_z.h +1 -1
  3489. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_a.h +61 -59
  3490. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_b.h +27 -27
  3491. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_c.h +36 -33
  3492. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_d.h +29 -26
  3493. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_e.h +29 -28
  3494. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_f.h +21 -19
  3495. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_g.h +19 -19
  3496. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_h.h +8 -8
  3497. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_i.h +71 -64
  3498. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_k.h +2 -1
  3499. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_l.h +32 -32
  3500. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_m.h +47 -39
  3501. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_n.h +19 -18
  3502. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_o.h +3 -3
  3503. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_p.h +6 -7
  3504. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_q.h +6 -3
  3505. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_r.h +61 -60
  3506. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_s.h +66 -66
  3507. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_t.h +21 -20
  3508. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_u.h +14 -14
  3509. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_v.h +2 -2
  3510. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_x.h +1 -1
  3511. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_z.h +1 -1
  3512. mindspore/include/mindspore/ops/op_def/framework_op_name.h +0 -1
  3513. mindspore/include/mindspore/ops/op_def/framework_ops.h +3 -2
  3514. mindspore/include/mindspore/ops/op_def/nn_op_name.h +4 -0
  3515. mindspore/include/mindspore/ops/op_def/op_enum.h +4 -0
  3516. mindspore/include/mindspore/ops/op_def/other_op_name.h +6 -0
  3517. mindspore/include/mindspore/ops/op_def/other_ops.h +2 -0
  3518. mindspore/include/mindspore/ops/op_def/structure_ops.h +4 -1
  3519. mindspore/include/mindspore/ops/ops_utils/memory_overlap.h +4 -5
  3520. mindspore/include/mindspore/ops/ops_utils/op_constants.h +12 -0
  3521. mindspore/include/mindspore/ops/ops_utils/op_utils.h +14 -5
  3522. mindspore/include/mindspore/ops/ops_utils/type_dispatch.h +51 -42
  3523. mindspore/include/mindspore/ops/view/as_strided_strides_calc.h +5 -1
  3524. mindspore/include/mindspore/ops/view/broadcast_to_strides_calc.h +4 -2
  3525. mindspore/include/mindspore/ops/view/broadcast_to_view_strides_calc.h +3 -1
  3526. mindspore/include/mindspore/ops/view/chunk_strides_calc.h +3 -1
  3527. mindspore/include/mindspore/ops/view/chunk_view_strides_calc.h +3 -1
  3528. mindspore/include/mindspore/ops/view/diagonal_strides_calc.h +6 -3
  3529. mindspore/include/mindspore/ops/view/diagonal_view_strides_calc.h +32 -0
  3530. mindspore/include/mindspore/ops/view/expand_dims_strides_calc.h +3 -1
  3531. mindspore/include/mindspore/ops/view/expand_dims_view_strides_calc.h +3 -1
  3532. mindspore/include/mindspore/ops/view/narrow_strides_calc.h +4 -2
  3533. mindspore/include/mindspore/ops/view/narrow_view_strides_calc.h +4 -2
  3534. mindspore/include/mindspore/ops/view/reshape_strides_calc.h +2 -1
  3535. mindspore/include/mindspore/ops/view/select_ext_view_strides_calc.h +3 -1
  3536. mindspore/include/mindspore/ops/view/slice_ext_strides_calc.h +4 -1
  3537. mindspore/include/mindspore/ops/view/slice_ext_view_strides_calc.h +4 -2
  3538. mindspore/include/mindspore/ops/view/slice_strides_calc.h +4 -1
  3539. mindspore/include/mindspore/ops/view/split_strides_calc.h +3 -1
  3540. mindspore/include/mindspore/ops/view/split_tensor_strides_calc.h +3 -1
  3541. mindspore/include/mindspore/ops/view/split_tensor_view_strides_calc.h +3 -1
  3542. mindspore/include/mindspore/ops/view/split_with_size_strides_calc.h +3 -1
  3543. mindspore/include/mindspore/ops/view/split_with_size_view_strides_calc.h +4 -1
  3544. mindspore/include/mindspore/ops/view/squeeze_strides_calc.h +3 -0
  3545. mindspore/include/mindspore/ops/view/transpose_ext_view_strides_calc.h +3 -0
  3546. mindspore/include/mindspore/ops/view/transpose_strides_calc.h +3 -1
  3547. mindspore/include/mindspore/ops/view/transpose_view_strides_calc.h +3 -0
  3548. mindspore/include/mindspore/ops/view/unstack_ext_view_strides_calc.h +1 -1
  3549. mindspore/include/mindspore/ops/view/view_strides_calc.h +3 -2
  3550. mindspore/include/mindspore/ops/view/view_strides_calculator.h +1 -2
  3551. mindspore/include/ms_extension.h +12 -5
  3552. mindspore/lib/libavcodec.so.59 +0 -0
  3553. mindspore/lib/libavdevice.so.59 +0 -0
  3554. mindspore/lib/libavfilter.so.8 +0 -0
  3555. mindspore/lib/libavformat.so.59 +0 -0
  3556. mindspore/lib/libavutil.so.57 +0 -0
  3557. mindspore/lib/libdnnl.so.2 +0 -0
  3558. mindspore/lib/libicuuc.so.74 +0 -0
  3559. mindspore/lib/libmindspore_backend_common.so +0 -0
  3560. mindspore/lib/libmindspore_backend_manager.so +0 -0
  3561. mindspore/lib/libmindspore_common.so +0 -0
  3562. mindspore/lib/libmindspore_core.so +0 -0
  3563. mindspore/lib/libmindspore_dump.so +0 -0
  3564. mindspore/lib/libmindspore_extension.so +0 -0
  3565. mindspore/lib/libmindspore_frontend.so +0 -0
  3566. mindspore/lib/libmindspore_ge_backend.so +0 -0
  3567. mindspore/lib/libmindspore_glog.so.0 +0 -0
  3568. mindspore/lib/libmindspore_gpr.so.15 +0 -0
  3569. mindspore/lib/libmindspore_grpc++.so.1 +0 -0
  3570. mindspore/lib/libmindspore_grpc.so.15 +0 -0
  3571. mindspore/lib/libmindspore_memory_pool.so +0 -0
  3572. mindspore/lib/libmindspore_ms_backend.so +0 -0
  3573. mindspore/lib/libmindspore_ops.so +0 -0
  3574. mindspore/lib/libmindspore_ops_kernel_common.so +0 -0
  3575. mindspore/lib/libmindspore_profiler.so +0 -0
  3576. mindspore/lib/libmindspore_pyboost.so +0 -0
  3577. mindspore/lib/libmindspore_pynative.so +0 -0
  3578. mindspore/lib/libmindspore_res_manager.so +0 -0
  3579. mindspore/lib/libmindspore_runtime_pipeline.so +0 -0
  3580. mindspore/lib/libmpi_adapter.so +0 -0
  3581. mindspore/lib/libmpi_collective.so +0 -0
  3582. mindspore/lib/libnnacl.so +0 -0
  3583. mindspore/lib/libopencv_core.so.4.5 +0 -0
  3584. mindspore/lib/libopencv_imgcodecs.so.4.5 +0 -0
  3585. mindspore/lib/libopencv_imgproc.so.4.5 +0 -0
  3586. mindspore/lib/libps_cache.so +0 -0
  3587. mindspore/lib/libswresample.so.4 +0 -0
  3588. mindspore/lib/libswscale.so.6 +0 -0
  3589. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/aicpu_kernel/impl/libcust_cpu_kernels.so +0 -0
  3590. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/config/cust_aicpu_kernel.json +96 -152
  3591. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_proto/libcust_op_proto.so +0 -0
  3592. mindspore/lib/plugin/ascend/custom_ascendc_910b/framework/plugin/npu_supported_ops.json +0 -8
  3593. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/lib/libcust_opapi.so +0 -0
  3594. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json +0 -180
  3595. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910_93/aic-ascend910_93-ops-info.json +0 -180
  3596. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json +0 -180
  3597. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/all_finite.py +28 -12
  3598. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3599. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3600. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3601. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3602. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3603. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3604. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3605. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3606. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3607. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3608. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3609. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3610. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3611. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3612. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3613. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3614. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3615. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3616. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/binary_info_config.json +0 -300
  3617. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/binary_info_config.json +0 -300
  3618. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/binary_info_config.json +0 -300
  3619. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  3620. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  3621. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/inc/op_proto.h +0 -22
  3622. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  3623. mindspore/lib/plugin/ascend/custom_ascendc_910b/version.info +1 -1
  3624. mindspore/lib/plugin/ascend/custom_compiler/OWNERS +1 -3
  3625. mindspore/lib/plugin/ascend/libakg.so +0 -0
  3626. mindspore/lib/plugin/ascend/libascend_collective.so +0 -0
  3627. mindspore/lib/plugin/ascend/libd_collective.so +0 -0
  3628. mindspore/lib/plugin/ascend/libdvpp_utils.so +0 -0
  3629. mindspore/lib/plugin/ascend/libhccl_plugin.so +0 -0
  3630. mindspore/lib/plugin/ascend/liblowlatency_collective.so +0 -0
  3631. mindspore/lib/plugin/ascend/libmindspore_ascend_res_manager.so +0 -0
  3632. mindspore/lib/plugin/ascend/libmindspore_atb_kernels.so +0 -0
  3633. mindspore/lib/plugin/ascend/libmindspore_cpu_kernels.so +0 -0
  3634. mindspore/lib/plugin/ascend/libmindspore_extension_ascend_atb.a +0 -0
  3635. mindspore/lib/plugin/ascend/libmindspore_graph_ir.so +0 -0
  3636. mindspore/lib/plugin/ascend/libmindspore_internal_kernels.so +0 -0
  3637. mindspore/lib/plugin/ascend/libmindspore_pyboost_atb_kernels.so +0 -0
  3638. mindspore/lib/plugin/ascend/libms_ascend_native_boost.so +0 -0
  3639. mindspore/lib/plugin/ascend/libms_atb_boost.so +0 -0
  3640. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/faUpdate.h +35 -0
  3641. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/logprobs.h +28 -0
  3642. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/params.h +3 -0
  3643. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/scatter_elements_v2.h +39 -0
  3644. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/fused_add_topk_div.h +3 -1
  3645. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla.h +14 -1
  3646. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla_preprocess.h +8 -1
  3647. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/params.h +1 -0
  3648. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/toppsample_rand.h +31 -0
  3649. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/unpad_flash_attention.h +12 -1
  3650. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_api.h +1 -1
  3651. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_comm.h +3 -2
  3652. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_types.h +1 -0
  3653. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lccl.h +2 -0
  3654. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_args.h +7 -4
  3655. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_func.h +2 -1
  3656. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_args.h +7 -4
  3657. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_func.h +2 -1
  3658. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/tensor.h +2 -1
  3659. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log.h +7 -7
  3660. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log_sink_file.h +1 -0
  3661. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops.so +0 -0
  3662. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops_static.a +0 -0
  3663. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops.so +0 -0
  3664. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops_static.a +0 -0
  3665. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_mixops_static.a +0 -0
  3666. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_ops_static.a +0 -0
  3667. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal.so +0 -0
  3668. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal_static.a +0 -0
  3669. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libmki.so +0 -0
  3670. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libtbe_adapter.so +0 -0
  3671. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/base_type.h +9 -4
  3672. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_creator.h +41 -12
  3673. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_param.h +68 -0
  3674. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/tiling_utils.h +3 -138
  3675. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_layer_norm_op.so +0 -0
  3676. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_op.so +0 -0
  3677. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_quant_op.so +0 -0
  3678. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_310p_op.so +0 -0
  3679. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_op.so +0 -0
  3680. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcast_op.so +0 -0
  3681. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcompare_op.so +0 -0
  3682. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libfused_add_topk_div_op.so +0 -0
  3683. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgelu_op.so +0 -0
  3684. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgroup_topk_op.so +0 -0
  3685. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libkv_scale_cache_op.so +0 -0
  3686. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libllama_op.so +0 -0
  3687. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmatmul_op.so +0 -0
  3688. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmoe_gating_group_topk_op.so +0 -0
  3689. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmoe_init_routing_op.so +0 -0
  3690. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmoe_token_unpermute_op.so +0 -0
  3691. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_kernels_internal.so +0 -0
  3692. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_gelu_op.so +0 -0
  3693. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_op.so +0 -0
  3694. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_nz_op.so +0 -0
  3695. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_op.so +0 -0
  3696. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/librms_norm_op.so +0 -0
  3697. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_dynamic_quant_op.so +0 -0
  3698. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_matmul_op.so +0 -0
  3699. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_moe_init_routing_op.so +0 -0
  3700. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_paged_attention_op.so +0 -0
  3701. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_reshape_and_cache_nz_op.so +0 -0
  3702. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswft_transpose_batch_matmul_transpose_op.so +0 -0
  3703. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswiglu_dynamic_quant_op.so +0 -0
  3704. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libtranspose_batch_matmul_transpose_op.so +0 -0
  3705. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_f16_310p/internal_grouped_matmul_f16_310p.o +0 -0
  3706. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_f16_310p/internal_grouped_matmul_f16_310p_0.o +0 -0
  3707. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_i8_310p/internal_grouped_matmul_i8_310p.o +0 -0
  3708. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_i8_310p/internal_grouped_matmul_i8_310p_0.o +0 -0
  3709. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_f16_nz/internal_pp_matmul_f16_nz.o +0 -0
  3710. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_f16_nz/internal_pp_matmul_f16_nz_0.o +0 -0
  3711. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_i8_nz_compress/internal_pp_matmul_i8_nz_compress.o +0 -0
  3712. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_i8_nz_compress/internal_pp_matmul_i8_nz_compress_0.o +0 -0
  3713. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_int8_nz/internal_pp_matmul_int8_nz.o +0 -0
  3714. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_int8_nz/internal_pp_matmul_int8_nz_0.o +0 -0
  3715. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libadd_rms_norm_ascend310p.so +0 -0
  3716. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libadd_rms_norm_quant_ascend310p.so +0 -0
  3717. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libapply_rotary_pos_emb_310p_ascend310p.so +0 -0
  3718. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcast_ascend310p.so +0 -0
  3719. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcompare_ascend310p.so +0 -0
  3720. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libfused_add_topk_div_ascend310p.so +0 -0
  3721. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libgelu_ascend310p.so +0 -0
  3722. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmatmul_ascend310p.so +0 -0
  3723. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmoe_gating_group_topk_ascend310p.so +0 -0
  3724. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmoe_init_routing_ascend310p.so +0 -0
  3725. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmoe_token_unpermute_ascend310p.so +0 -0
  3726. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_ascend310p.so +0 -0
  3727. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_gelu_ascend310p.so +0 -0
  3728. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libreshape_and_cache_nz_ascend310p.so +0 -0
  3729. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_dynamic_quant_ascend310p.so +0 -0
  3730. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_matmul_ascend310p.so +0 -0
  3731. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_moe_init_routing_ascend310p.so +0 -0
  3732. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_paged_attention_ascend310p.so +0 -0
  3733. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_reshape_and_cache_nz_ascend310p.so +0 -0
  3734. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswft_transpose_batch_matmul_transpose_ascend310p.so +0 -0
  3735. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libswiglu_dynamic_quant_ascend310p.so +0 -0
  3736. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bnsd_full_mix.o +0 -0
  3737. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bnsd_tri_mix.o +0 -0
  3738. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bsh_full_mix.o +0 -0
  3739. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bsh_tri_mix.o +0 -0
  3740. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bnsd_full_mix.o +0 -0
  3741. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bnsd_tri_mix.o +0 -0
  3742. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bsh_full_mix.o +0 -0
  3743. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bsh_tri_mix.o +0 -0
  3744. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix.o +0 -0
  3745. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix_mix_aic_0.o +0 -0
  3746. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix_mix_aiv_0.o +0 -0
  3747. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix.o +0 -0
  3748. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix_mix_aic_0.o +0 -0
  3749. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix_mix_aiv_0.o +0 -0
  3750. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_bf16.o +0 -0
  3751. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_fp16.o +0 -0
  3752. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_fp32.o +0 -0
  3753. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_bf16.o +0 -0
  3754. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_fp16.o +0 -0
  3755. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_fp32.o +0 -0
  3756. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2.o +0 -0
  3757. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2_mix_aic_0.o +0 -0
  3758. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2_mix_aiv_0.o +0 -0
  3759. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_layer_norm_ascend910b.so +0 -0
  3760. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_ascend910b.so +0 -0
  3761. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_quant_ascend910b.so +0 -0
  3762. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libapply_rotary_pos_emb_ascend910b.so +0 -0
  3763. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcast_ascend910b.so +0 -0
  3764. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcompare_ascend910b.so +0 -0
  3765. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgelu_ascend910b.so +0 -0
  3766. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgroup_topk_ascend910b.so +0 -0
  3767. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libkv_scale_cache_ascend910b.so +0 -0
  3768. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libllama_ascend910b.so +0 -0
  3769. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmatmul_ascend910b.so +0 -0
  3770. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmoe_gating_group_topk_ascend910b.so +0 -0
  3771. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmulti_weight_matmul_kernel_ascend910b.so +0 -0
  3772. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libreshape_and_cache_ascend910b.so +0 -0
  3773. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/librms_norm_ascend910b.so +0 -0
  3774. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libswiglu_dynamic_quant_ascend910b.so +0 -0
  3775. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libtranspose_batch_matmul_transpose_ascend910b.so +0 -0
  3776. mindspore/lib/plugin/cpu/libakg.so +0 -0
  3777. mindspore/lib/plugin/cpu/libmindspore_cpu_res_manager.so +0 -0
  3778. mindspore/lib/plugin/libmindspore_ascend.so.2 +0 -0
  3779. mindspore/lib/plugin/libmindspore_ops_ascend.so +0 -0
  3780. mindspore/lib/plugin/libmindspore_ops_host.so +0 -0
  3781. mindspore/mindrecord/tools/cifar10.py +61 -11
  3782. mindspore/mindrecord/tools/cifar10_to_mr.py +5 -0
  3783. mindspore/mint/__init__.py +4 -44
  3784. mindspore/mint/distributed/__init__.py +5 -0
  3785. mindspore/mint/distributed/distributed.py +425 -19
  3786. mindspore/mint/nn/__init__.py +1 -1
  3787. mindspore/mint/nn/functional.py +53 -6
  3788. mindspore/mint/nn/layer/_functions.py +163 -294
  3789. mindspore/mint/nn/layer/activation.py +8 -6
  3790. mindspore/mint/nn/layer/conv.py +125 -101
  3791. mindspore/mint/nn/layer/normalization.py +11 -25
  3792. mindspore/mint/optim/adam.py +19 -18
  3793. mindspore/mint/optim/adamw.py +14 -8
  3794. mindspore/mint/optim/sgd.py +5 -5
  3795. mindspore/nn/cell.py +488 -620
  3796. mindspore/nn/grad/cell_grad.py +11 -12
  3797. mindspore/nn/layer/activation.py +36 -36
  3798. mindspore/nn/layer/basic.py +74 -77
  3799. mindspore/nn/layer/channel_shuffle.py +4 -4
  3800. mindspore/nn/layer/combined.py +4 -2
  3801. mindspore/nn/layer/conv.py +86 -85
  3802. mindspore/nn/layer/dense.py +9 -7
  3803. mindspore/nn/layer/embedding.py +50 -52
  3804. mindspore/nn/layer/image.py +38 -40
  3805. mindspore/nn/layer/math.py +111 -112
  3806. mindspore/nn/layer/normalization.py +56 -44
  3807. mindspore/nn/layer/pooling.py +58 -63
  3808. mindspore/nn/layer/rnn_cells.py +33 -33
  3809. mindspore/nn/layer/rnns.py +56 -56
  3810. mindspore/nn/layer/thor_layer.py +74 -73
  3811. mindspore/nn/layer/transformer.py +11 -1
  3812. mindspore/nn/learning_rate_schedule.py +20 -20
  3813. mindspore/nn/loss/loss.py +79 -81
  3814. mindspore/nn/optim/adam.py +2 -4
  3815. mindspore/nn/optim/adasum.py +2 -2
  3816. mindspore/nn/optim/lamb.py +1 -3
  3817. mindspore/nn/optim/optimizer.py +1 -1
  3818. mindspore/nn/optim/tft_wrapper.py +2 -3
  3819. mindspore/nn/optim/thor.py +2 -2
  3820. mindspore/nn/probability/distribution/_utils/utils.py +2 -2
  3821. mindspore/nn/probability/distribution/exponential.py +2 -1
  3822. mindspore/nn/probability/distribution/poisson.py +2 -1
  3823. mindspore/nn/sparse/sparse.py +3 -3
  3824. mindspore/nn/wrap/cell_wrapper.py +73 -42
  3825. mindspore/nn/wrap/grad_reducer.py +37 -52
  3826. mindspore/nn/wrap/loss_scale.py +72 -74
  3827. mindspore/numpy/array_creations.py +7 -7
  3828. mindspore/numpy/fft.py +1 -1
  3829. mindspore/numpy/math_ops.py +1 -1
  3830. mindspore/numpy/utils_const.py +1 -1
  3831. mindspore/ops/_grad_experimental/grad_comm_ops.py +51 -13
  3832. mindspore/ops/_grad_experimental/grad_debug_ops.py +14 -0
  3833. mindspore/ops/_grad_experimental/grad_inner_ops.py +0 -9
  3834. mindspore/ops/_op_impl/cpu/__init__.py +1 -0
  3835. mindspore/ops/_op_impl/cpu/joinedstr_op.py +28 -0
  3836. mindspore/ops/_vmap/vmap_array_ops.py +6 -13
  3837. mindspore/ops/_vmap/vmap_nn_ops.py +8 -16
  3838. mindspore/ops/auto_generate/cpp_create_prim_instance_helper.py +452 -433
  3839. mindspore/ops/auto_generate/gen_extend_func.py +1306 -1356
  3840. mindspore/ops/auto_generate/gen_ops_def.py +6863 -6383
  3841. mindspore/ops/auto_generate/gen_ops_prim.py +17064 -16335
  3842. mindspore/ops/auto_generate/pyboost_inner_prim.py +360 -330
  3843. mindspore/ops/composite/__init__.py +10 -0
  3844. mindspore/ops/composite/base.py +9 -5
  3845. mindspore/ops/composite/multitype_ops/__init__.py +12 -1
  3846. mindspore/ops/composite/multitype_ops/_compile_utils.py +132 -108
  3847. mindspore/ops/composite/multitype_ops/_constexpr_utils.py +1 -1
  3848. mindspore/ops/composite/multitype_ops/add_impl.py +70 -2
  3849. mindspore/ops/composite/multitype_ops/div_impl.py +49 -0
  3850. mindspore/ops/composite/multitype_ops/floordiv_impl.py +29 -0
  3851. mindspore/ops/composite/multitype_ops/getitem_impl.py +11 -0
  3852. mindspore/ops/composite/multitype_ops/mod_impl.py +5 -3
  3853. mindspore/ops/composite/multitype_ops/mul_impl.py +49 -0
  3854. mindspore/ops/composite/multitype_ops/setitem_impl.py +57 -0
  3855. mindspore/ops/composite/multitype_ops/sub_impl.py +34 -0
  3856. mindspore/ops/composite/multitype_ops/zeros_like_impl.py +14 -0
  3857. mindspore/ops/function/__init__.py +4 -1
  3858. mindspore/ops/function/_add_attr_func.py +11 -6
  3859. mindspore/ops/function/array_func.py +17 -100
  3860. mindspore/ops/function/debug_func.py +8 -5
  3861. mindspore/ops/function/grad/grad_func.py +5 -13
  3862. mindspore/ops/function/math_func.py +65 -399
  3863. mindspore/ops/function/nn_func.py +44 -61
  3864. mindspore/ops/function/other_func.py +4 -1
  3865. mindspore/ops/function/random_func.py +31 -4
  3866. mindspore/ops/functional.py +2 -3
  3867. mindspore/ops/functional_overload.py +1250 -782
  3868. mindspore/ops/op_info_register.py +21 -0
  3869. mindspore/ops/operations/__init__.py +5 -2
  3870. mindspore/ops/operations/_custom_ops_utils.py +675 -8
  3871. mindspore/ops/operations/_inner_ops.py +14 -18
  3872. mindspore/ops/operations/_sequence_ops.py +1 -1
  3873. mindspore/ops/operations/array_ops.py +4 -50
  3874. mindspore/ops/operations/comm_ops.py +186 -41
  3875. mindspore/ops/operations/custom_ops.py +244 -175
  3876. mindspore/ops/operations/debug_ops.py +55 -4
  3877. mindspore/ops/operations/image_ops.py +13 -13
  3878. mindspore/ops/operations/manually_defined/ops_def.py +27 -28
  3879. mindspore/ops/operations/math_ops.py +8 -9
  3880. mindspore/ops/operations/nn_ops.py +6 -7
  3881. mindspore/ops/primitive.py +9 -20
  3882. mindspore/ops/tensor_method.py +52 -11
  3883. mindspore/ops_generate/api/cpp_create_prim_instance_helper_generator.py +1 -1
  3884. mindspore/ops_generate/api/functional_map_cpp_generator.py +10 -9
  3885. mindspore/ops_generate/api/functions_cc_generator.py +58 -10
  3886. mindspore/ops_generate/api/tensor_func_reg_cpp_generator.py +1 -1
  3887. mindspore/ops_generate/common/base_generator.py +14 -0
  3888. mindspore/ops_generate/common/gen_constants.py +7 -2
  3889. mindspore/ops_generate/common/gen_utils.py +0 -19
  3890. mindspore/ops_generate/common/op_proto.py +11 -4
  3891. mindspore/ops_generate/common/template.py +88 -11
  3892. mindspore/ops_generate/gen_ops.py +1 -1
  3893. mindspore/ops_generate/op_def/lite_ops_cpp_generator.py +4 -4
  3894. mindspore/ops_generate/op_def/ops_name_h_generator.py +0 -3
  3895. mindspore/ops_generate/op_def/ops_primitive_h_generator.py +0 -4
  3896. mindspore/ops_generate/op_def_py/op_prim_py_generator.py +5 -2
  3897. mindspore/ops_generate/pyboost/auto_grad_impl_cc_generator.py +49 -8
  3898. mindspore/ops_generate/pyboost/auto_grad_reg_cc_generator.py +2 -2
  3899. mindspore/ops_generate/pyboost/gen_pyboost_func.py +31 -16
  3900. mindspore/ops_generate/pyboost/op_template_parser.py +98 -72
  3901. mindspore/ops_generate/pyboost/pyboost_functions_cpp_generator.py +70 -273
  3902. mindspore/ops_generate/pyboost/pyboost_functions_h_generator.py +14 -6
  3903. mindspore/ops_generate/pyboost/pyboost_functions_impl_cpp_generator.py +316 -0
  3904. mindspore/ops_generate/pyboost/pyboost_functions_py_generator.py +1 -1
  3905. mindspore/ops_generate/pyboost/pyboost_grad_function_cpp_generator.py +5 -3
  3906. mindspore/ops_generate/pyboost/pyboost_inner_prim_generator.py +1 -1
  3907. mindspore/ops_generate/pyboost/pyboost_internal_functions_cpp_generator.py +76 -0
  3908. mindspore/ops_generate/pyboost/pyboost_internal_functions_h_generator.py +76 -0
  3909. mindspore/ops_generate/pyboost/pyboost_internal_kernel_info_adapter_generator.py +125 -0
  3910. mindspore/ops_generate/pyboost/pyboost_native_grad_functions_generator.py +4 -3
  3911. mindspore/ops_generate/pyboost/pyboost_op_cpp_code_generator.py +348 -61
  3912. mindspore/ops_generate/pyboost/pyboost_overload_functions_cpp_generator.py +1 -1
  3913. mindspore/ops_generate/pyboost/pyboost_utils.py +118 -9
  3914. mindspore/ops_generate/tensor_py_cc_generator.py +1 -24
  3915. mindspore/parallel/_auto_parallel_context.py +9 -17
  3916. mindspore/parallel/_cell_wrapper.py +106 -40
  3917. mindspore/parallel/_parallel_serialization.py +4 -3
  3918. mindspore/parallel/_ps_context.py +4 -6
  3919. mindspore/parallel/_tensor.py +167 -12
  3920. mindspore/parallel/_transformer/moe.py +1 -1
  3921. mindspore/parallel/_transformer/transformer.py +17 -12
  3922. mindspore/parallel/_utils.py +5 -11
  3923. mindspore/parallel/auto_parallel.py +33 -12
  3924. mindspore/parallel/checkpoint_convert.py +3 -3
  3925. mindspore/parallel/checkpoint_transform.py +5 -1
  3926. mindspore/parallel/cluster/process_entity/_api.py +88 -49
  3927. mindspore/parallel/cluster/process_entity/_utils.py +95 -7
  3928. mindspore/parallel/cluster/run.py +48 -7
  3929. mindspore/parallel/function/__init__.py +8 -1
  3930. mindspore/parallel/function/reshard_func.py +7 -6
  3931. mindspore/parallel/nn/__init__.py +15 -2
  3932. mindspore/parallel/nn/parallel_cell_wrapper.py +50 -14
  3933. mindspore/parallel/nn/parallel_grad_reducer.py +7 -14
  3934. mindspore/parallel/shard.py +9 -23
  3935. mindspore/parallel/transform_safetensors.py +468 -174
  3936. mindspore/profiler/__init__.py +2 -1
  3937. mindspore/profiler/analysis/parser/timeline_assembly_factory/ascend_timeline_assembler.py +7 -7
  3938. mindspore/profiler/analysis/parser/timeline_assembly_factory/base_timeline_assembler.py +3 -0
  3939. mindspore/profiler/analysis/parser/timeline_assembly_factory/trace_view_container.py +3 -0
  3940. mindspore/profiler/analysis/parser/timeline_creator/cpu_op_timeline_creator.py +3 -3
  3941. mindspore/profiler/analysis/parser/timeline_creator/fwk_timeline_creator.py +3 -3
  3942. mindspore/profiler/analysis/parser/timeline_creator/msprof_timeline_creator.py +4 -4
  3943. mindspore/profiler/analysis/parser/timeline_creator/scope_layer_timeline_creator.py +3 -3
  3944. mindspore/profiler/analysis/parser/timeline_event/fwk_event.py +4 -1
  3945. mindspore/profiler/analysis/parser/timeline_event/timeline_event_pool.py +2 -1
  3946. mindspore/profiler/analysis/task_manager.py +1 -1
  3947. mindspore/profiler/analysis/viewer/ascend_communication_viewer.py +5 -1
  3948. mindspore/profiler/analysis/viewer/ascend_integrate_viewer.py +2 -1
  3949. mindspore/profiler/analysis/viewer/ascend_kernel_details_viewer.py +10 -9
  3950. mindspore/profiler/analysis/viewer/ascend_op_memory_viewer.py +43 -23
  3951. mindspore/profiler/analysis/viewer/ascend_step_trace_time_viewer.py +3 -2
  3952. mindspore/profiler/analysis/viewer/ms_minddata_viewer.py +9 -5
  3953. mindspore/profiler/analysis/viewer/ms_operator_details_viewer.py +132 -0
  3954. mindspore/profiler/common/constant.py +16 -0
  3955. mindspore/profiler/common/msprof_cmd_tool.py +2 -2
  3956. mindspore/profiler/common/path_manager.py +9 -0
  3957. mindspore/profiler/common/profiler_context.py +50 -29
  3958. mindspore/profiler/common/profiler_info.py +0 -16
  3959. mindspore/profiler/common/profiler_meta_data.py +1 -0
  3960. mindspore/profiler/common/profiler_op_analyse.py +239 -0
  3961. mindspore/profiler/common/profiler_output_path.py +23 -8
  3962. mindspore/profiler/common/profiler_parameters.py +128 -35
  3963. mindspore/profiler/dynamic_profile/__init__.py +0 -0
  3964. mindspore/profiler/dynamic_profile/dynamic_monitor_proxy.py +39 -0
  3965. mindspore/profiler/dynamic_profile/dynamic_profiler_config_context.py +666 -0
  3966. mindspore/profiler/dynamic_profile/dynamic_profiler_utils.py +62 -0
  3967. mindspore/profiler/dynamic_profiler.py +374 -338
  3968. mindspore/profiler/envprofiler.py +42 -12
  3969. mindspore/profiler/experimental_config.py +112 -7
  3970. mindspore/profiler/mstx.py +33 -12
  3971. mindspore/profiler/platform/__init__.py +2 -3
  3972. mindspore/profiler/platform/cpu_profiler.py +10 -4
  3973. mindspore/profiler/platform/npu_profiler.py +30 -20
  3974. mindspore/profiler/profiler.py +218 -154
  3975. mindspore/profiler/profiler_action_controller.py +65 -77
  3976. mindspore/profiler/profiler_interface.py +2 -2
  3977. mindspore/profiler/schedule.py +10 -4
  3978. mindspore/rewrite/common/config.py +1 -0
  3979. mindspore/rewrite/common/namer.py +1 -0
  3980. mindspore/rewrite/common/namespace.py +1 -0
  3981. mindspore/rewrite/node/node.py +31 -11
  3982. mindspore/rewrite/parsers/assign_parser.py +1 -1
  3983. mindspore/rewrite/symbol_tree/symbol_tree.py +2 -2
  3984. mindspore/run_check/_check_version.py +7 -10
  3985. mindspore/runtime/__init__.py +8 -6
  3986. mindspore/runtime/event.py +10 -4
  3987. mindspore/runtime/executor.py +87 -45
  3988. mindspore/runtime/memory.py +22 -30
  3989. mindspore/runtime/thread_bind_core.py +299 -165
  3990. mindspore/safeguard/rewrite_obfuscation.py +12 -13
  3991. mindspore/scipy/linalg.py +2 -2
  3992. mindspore/scipy/utils_const.py +0 -17
  3993. mindspore/train/_utils.py +9 -5
  3994. mindspore/train/amp.py +43 -23
  3995. mindspore/train/callback/__init__.py +5 -5
  3996. mindspore/train/callback/_callback.py +2 -1
  3997. mindspore/train/callback/_checkpoint.py +4 -14
  3998. mindspore/train/callback/_flops_collector.py +11 -7
  3999. mindspore/train/callback/_landscape.py +0 -1
  4000. mindspore/train/callback/_train_fault_tolerance.py +72 -18
  4001. mindspore/train/data_sink.py +15 -6
  4002. mindspore/train/dataset_helper.py +14 -5
  4003. mindspore/train/model.py +49 -47
  4004. mindspore/train/serialization.py +168 -126
  4005. mindspore/train/summary/summary_record.py +13 -2
  4006. mindspore/train/train_thor/model_thor.py +2 -2
  4007. mindspore/utils/__init__.py +3 -2
  4008. mindspore/utils/bin/dataset-cache +0 -0
  4009. mindspore/utils/bin/dataset-cache-server +0 -0
  4010. mindspore/utils/dryrun.py +0 -6
  4011. mindspore/utils/runtime_execution_order_check.py +162 -78
  4012. mindspore/utils/sdc_detect.py +68 -0
  4013. mindspore/utils/utils.py +14 -17
  4014. mindspore/version.py +1 -1
  4015. mindspore-2.7.0.dist-info/METADATA +368 -0
  4016. mindspore-2.7.0.dist-info/RECORD +12024 -0
  4017. mindspore-2.7.0.dist-info/WHEEL +5 -0
  4018. mindspore/_deprecated/__init__.py +0 -17
  4019. mindspore/_deprecated/jit.py +0 -198
  4020. mindspore/_extends/remote/kernel_build_server_ascend.py +0 -75
  4021. mindspore/common/auto_dynamic_shape.py +0 -504
  4022. mindspore/communication/_hccl_management.py +0 -297
  4023. mindspore/experimental/es/__init__.py +0 -22
  4024. mindspore/experimental/es/embedding_service.py +0 -891
  4025. mindspore/experimental/es/embedding_service_layer.py +0 -581
  4026. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/proactive_fallback_expander.h +0 -39
  4027. mindspore/include/mindspore/ccsrc/backend/common/session/session_context.h +0 -47
  4028. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_add_rmsnorm_fusion.h +0 -67
  4029. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend.h +0 -124
  4030. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend_base.h +0 -205
  4031. mindspore/include/mindspore/ccsrc/backend/graph_compiler/ge_backend/ge_backend.h +0 -86
  4032. mindspore/include/mindspore/ccsrc/debug/data_dump/data_dumper.h +0 -56
  4033. mindspore/include/mindspore/ccsrc/debug/hooker/acl_data_adapter.h +0 -51
  4034. mindspore/include/mindspore/ccsrc/debug/hooker/adapter.h +0 -75
  4035. mindspore/include/mindspore/ccsrc/debug/hooker/deprecated_env.h +0 -27
  4036. mindspore/include/mindspore/ccsrc/debug/hooker/hook_debugger.h +0 -55
  4037. mindspore/include/mindspore/ccsrc/debug/hooker/hook_dynamic_loader.h +0 -52
  4038. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/decoder_k_v_cache_info.h +0 -58
  4039. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/prompt_k_v_cache_info.h +0 -59
  4040. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/overflow_dumper.h +0 -50
  4041. mindspore/include/mindspore/ccsrc/include/backend/device_synchronizer.h +0 -49
  4042. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/constants.h +0 -174
  4043. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_client.h +0 -83
  4044. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_server.h +0 -71
  4045. mindspore/include/mindspore/ccsrc/include/common/np_dtype/np_dtypes.h +0 -42
  4046. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/lite_image_utils.h +0 -239
  4047. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/ptr_list_ref.h +0 -423
  4048. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pipeline_jit.h +0 -68
  4049. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/common/ascend_utils.h +0 -43
  4050. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.h +0 -88
  4051. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_stream_assign.h +0 -255
  4052. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_deprecated_interface.h +0 -46
  4053. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_device_context.h +0 -81
  4054. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm.h +0 -232
  4055. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_build.h +0 -28
  4056. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_mod.h +0 -78
  4057. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async.h +0 -100
  4058. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger-inl.h +0 -86
  4059. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger.h +0 -74
  4060. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/argv.h +0 -40
  4061. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/env.h +0 -36
  4062. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers-inl.h +0 -107
  4063. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers.h +0 -29
  4064. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common-inl.h +0 -68
  4065. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common.h +0 -411
  4066. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer-inl.h +0 -63
  4067. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer.h +0 -45
  4068. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/circular_q.h +0 -115
  4069. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/console_globals.h +0 -28
  4070. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper-inl.h +0 -152
  4071. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper.h +0 -61
  4072. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/fmt_helper.h +0 -141
  4073. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg-inl.h +0 -44
  4074. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg.h +0 -40
  4075. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer-inl.h +0 -54
  4076. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer.h +0 -32
  4077. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/mpmc_blocking_q.h +0 -177
  4078. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/null_mutex.h +0 -35
  4079. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os-inl.h +0 -594
  4080. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os.h +0 -123
  4081. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker-inl.h +0 -26
  4082. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker.h +0 -58
  4083. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry-inl.h +0 -261
  4084. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry.h +0 -129
  4085. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/synchronous_factory.h +0 -22
  4086. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client-windows.h +0 -135
  4087. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client.h +0 -127
  4088. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool-inl.h +0 -132
  4089. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool.h +0 -128
  4090. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client-windows.h +0 -98
  4091. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client.h +0 -81
  4092. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/windows_include.h +0 -11
  4093. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bin_to_hex.h +0 -224
  4094. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/args.h +0 -235
  4095. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/chrono.h +0 -2240
  4096. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/color.h +0 -643
  4097. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/compile.h +0 -535
  4098. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/core.h +0 -2969
  4099. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format-inl.h +0 -1678
  4100. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format.h +0 -4535
  4101. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/locale.h +0 -2
  4102. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/os.h +0 -455
  4103. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ostream.h +0 -245
  4104. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/printf.h +0 -675
  4105. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ranges.h +0 -738
  4106. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/std.h +0 -537
  4107. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/xchar.h +0 -259
  4108. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/chrono.h +0 -23
  4109. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/compile.h +0 -23
  4110. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/fmt.h +0 -30
  4111. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ostr.h +0 -23
  4112. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ranges.h +0 -23
  4113. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/std.h +0 -24
  4114. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/xchar.h +0 -23
  4115. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/formatter.h +0 -17
  4116. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fwd.h +0 -18
  4117. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger-inl.h +0 -198
  4118. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger.h +0 -379
  4119. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/mdc.h +0 -50
  4120. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter-inl.h +0 -1338
  4121. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter.h +0 -118
  4122. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/android_sink.h +0 -137
  4123. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink-inl.h +0 -135
  4124. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink.h +0 -115
  4125. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink-inl.h +0 -59
  4126. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink.h +0 -51
  4127. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink-inl.h +0 -42
  4128. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink.h +0 -65
  4129. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/callback_sink.h +0 -56
  4130. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/daily_file_sink.h +0 -255
  4131. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dist_sink.h +0 -81
  4132. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dup_filter_sink.h +0 -92
  4133. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/hourly_file_sink.h +0 -193
  4134. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/kafka_sink.h +0 -119
  4135. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/mongo_sink.h +0 -108
  4136. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/msvc_sink.h +0 -68
  4137. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/null_sink.h +0 -41
  4138. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ostream_sink.h +0 -43
  4139. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/qt_sinks.h +0 -304
  4140. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ringbuffer_sink.h +0 -67
  4141. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink-inl.h +0 -144
  4142. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink.h +0 -89
  4143. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink-inl.h +0 -22
  4144. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink.h +0 -34
  4145. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -38
  4146. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks.h +0 -49
  4147. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks-inl.h +0 -126
  4148. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks.h +0 -84
  4149. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/syslog_sink.h +0 -104
  4150. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/systemd_sink.h +0 -121
  4151. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/tcp_sink.h +0 -75
  4152. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/udp_sink.h +0 -69
  4153. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/win_eventlog_sink.h +0 -260
  4154. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink-inl.h +0 -172
  4155. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink.h +0 -82
  4156. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog-inl.h +0 -92
  4157. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog.h +0 -352
  4158. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/stopwatch.h +0 -66
  4159. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/tweakme.h +0 -141
  4160. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/version.h +0 -11
  4161. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/format_type/rectify_do_mask_kernel_info.h +0 -44
  4162. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/flash_attention_fusion.h +0 -73
  4163. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_hash_table.h +0 -127
  4164. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_hash_table_util.h +0 -114
  4165. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_kernel_runtime.h +0 -82
  4166. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_session.h +0 -61
  4167. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/custom_julia_cpu_kernel.h +0 -50
  4168. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/julia_api.h +0 -443
  4169. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/device/gpu_kernel_runtime.h +0 -145
  4170. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_deprecated_interface.h +0 -43
  4171. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_inference_session.h +0 -50
  4172. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_session.h +0 -93
  4173. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_synchronizer.h +0 -45
  4174. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_synchronizer.h +0 -45
  4175. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_synchronizer.h +0 -44
  4176. mindspore/include/mindspore/ccsrc/ps/core/communicator/ssl_http.h +0 -60
  4177. mindspore/include/mindspore/ccsrc/pynative/grad/auto_grad.h +0 -77
  4178. mindspore/include/mindspore/ccsrc/pynative/grad/ir/bprop_tensor_replace.h +0 -58
  4179. mindspore/include/mindspore/ccsrc/pynative/grad/ir/dynamic_shape.h +0 -204
  4180. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_bprop.h +0 -163
  4181. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_grad.h +0 -114
  4182. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_pass.h +0 -71
  4183. mindspore/include/mindspore/ccsrc/pynative/grad/jit/jit_dfunctor.h +0 -28
  4184. mindspore/include/mindspore/ccsrc/pynative/grad/variable.h +0 -466
  4185. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_functions.h +0 -1045
  4186. mindspore/include/mindspore/ccsrc/runtime/device/kernel_runtime.h +0 -223
  4187. mindspore/include/mindspore/ccsrc/runtime/device/kernel_runtime_manager.h +0 -71
  4188. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/condition_gather_actor.h +0 -78
  4189. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/condition_switch_actor.h +0 -91
  4190. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/custom_actor.h +0 -66
  4191. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/inline_control_flow_scheduler.h +0 -81
  4192. mindspore/include/mindspore/ccsrc/runtime/hardware/deprecated_interface.h +0 -47
  4193. mindspore/include/mindspore/core/include/base/fp8_e4m3.h +0 -263
  4194. mindspore/include/mindspore/core/include/base/fp8_e5m2.h +0 -258
  4195. mindspore/include/mindspore/core/include/ir/base_tensor.h +0 -1073
  4196. mindspore/include/mindspore/ops/infer/masked_scatter.h +0 -44
  4197. mindspore/include/mindspore/ops/infer/ops_func_impl/decoder_k_v_cache.h +0 -40
  4198. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_token_unpermute.h +0 -36
  4199. mindspore/include/mindspore/ops/infer/ops_func_impl/prompt_k_v_cache.h +0 -40
  4200. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/densetodense_set_operation.h +0 -47
  4201. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/densetosparsesetoperation.h +0 -74
  4202. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/lu.h +0 -35
  4203. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_sparse.h +0 -92
  4204. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_tensor.h +0 -120
  4205. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/sample_distorted_bounding_box_ext2.h +0 -103
  4206. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/scale_and_translate.h +0 -77
  4207. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/sparse_cross.h +0 -111
  4208. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/sparse_sparse_maximum.h +0 -61
  4209. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/decoder_kv_cache_tiling.h +0 -40
  4210. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/prompt_kv_cache_tiling.h +0 -39
  4211. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv3d_padding_aclnn_kernel.h +0 -78
  4212. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_token_unpermute_aclnn_kernel.h +0 -45
  4213. mindspore/include/mindspore/ops/kernel/cpu/nnacl/arithmetic_self_parameter.h +0 -30
  4214. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/batch_to_space_base.h +0 -33
  4215. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/cast_base.h +0 -74
  4216. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/concat_base.h +0 -32
  4217. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/conv1x1_base.h +0 -32
  4218. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/conv_common_base.h +0 -41
  4219. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/crop_base.h +0 -35
  4220. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/depth_to_space_base.h +0 -31
  4221. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/fill_base.h +0 -33
  4222. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/format_transpose.h +0 -30
  4223. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/gather_d_base.h +0 -55
  4224. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/minimal_filtering_generator.h +0 -58
  4225. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/scatter_nd_binary.h +0 -37
  4226. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/space_to_depth_base.h +0 -31
  4227. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/split_with_over_lap_base.h +0 -33
  4228. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/stack_base.h +0 -30
  4229. mindspore/include/mindspore/ops/kernel/cpu/nnacl/base/transpose_base.h +0 -69
  4230. mindspore/include/mindspore/ops/kernel/cpu/nnacl/batchnorm_parameter.h +0 -29
  4231. mindspore/include/mindspore/ops/kernel/cpu/nnacl/call_parameter.h +0 -28
  4232. mindspore/include/mindspore/ops/kernel/cpu/nnacl/clip_parameter.h +0 -29
  4233. mindspore/include/mindspore/ops/kernel/cpu/nnacl/conv3d_parameter.h +0 -26
  4234. mindspore/include/mindspore/ops/kernel/cpu/nnacl/cumsum_parameter.h +0 -29
  4235. mindspore/include/mindspore/ops/kernel/cpu/nnacl/custom_gru_parameter.h +0 -31
  4236. mindspore/include/mindspore/ops/kernel/cpu/nnacl/custom_is_inf_parameter.h +0 -26
  4237. mindspore/include/mindspore/ops/kernel/cpu/nnacl/custom_masked_fill_parameter.h +0 -26
  4238. mindspore/include/mindspore/ops/kernel/cpu/nnacl/custom_parameter.h +0 -30
  4239. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fill_parameter.h +0 -25
  4240. mindspore/include/mindspore/ops/kernel/cpu/nnacl/format_transpose_parameter.h +0 -29
  4241. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/activation_fp16.h +0 -43
  4242. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/arg_min_max_fp16.h +0 -33
  4243. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/arithmetic_self_fp16.h +0 -57
  4244. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/batchnorm_fp16.h +0 -36
  4245. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/cast_fp16.h +0 -94
  4246. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/common_func_fp16.h +0 -40
  4247. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/constant_of_shape_fp16.h +0 -38
  4248. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/conv_depthwise_fp16.h +0 -65
  4249. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/conv_fp16.h +0 -60
  4250. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/crop_fp16.h +0 -26
  4251. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/custom_gru_fp16.h +0 -32
  4252. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/deconv_fp16.h +0 -36
  4253. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/deconv_winograd_fp16.h +0 -48
  4254. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/dynamic_quant_fp16.h +0 -35
  4255. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/fill_fp16.h +0 -34
  4256. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/gru_fp16.h +0 -30
  4257. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/instance_norm_fp16.h +0 -32
  4258. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/layer_norm_fp16.h +0 -33
  4259. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/log_softmax_fp16.h +0 -35
  4260. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/lstm_fp16.h +0 -54
  4261. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/matmul_fp16.h +0 -128
  4262. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/matrix_fp16.h +0 -36
  4263. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/pack_fp16.h +0 -93
  4264. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/pad_fp16.h +0 -32
  4265. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/power_fp16.h +0 -64
  4266. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/prelu_fp16.h +0 -31
  4267. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/quant_dtype_cast_fp16.h +0 -35
  4268. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/range_fp16.h +0 -27
  4269. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/reduce_fp16.h +0 -41
  4270. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/resize_fp16.h +0 -56
  4271. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/scale_fp16.h +0 -38
  4272. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/softmax_fp16.h +0 -35
  4273. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/sparse_to_dense_fp16.h +0 -31
  4274. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/splice_fp16.h +0 -31
  4275. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/topk_fp16.h +0 -35
  4276. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/transpose_fp16.h +0 -35
  4277. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/unique_fp16.h +0 -29
  4278. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/utils_fp16.h +0 -25
  4279. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/where_fp16.h +0 -32
  4280. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_transform_fp16.h +0 -57
  4281. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_utils_fp16.h +0 -571
  4282. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/activation_grad_fp16.h +0 -44
  4283. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/arithmetic_grad.h +0 -41
  4284. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/arithmetic_self_grad.h +0 -39
  4285. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/batch_norm.h +0 -40
  4286. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/convolution_grad_filter.h +0 -33
  4287. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/convolution_grad_input.h +0 -33
  4288. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/dropout_grad.h +0 -32
  4289. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/gemm_fp16.h +0 -46
  4290. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/layernorm_grad.h +0 -32
  4291. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/pack_fp16_ext.h +0 -37
  4292. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/pooling_grad.h +0 -34
  4293. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/resize_grad.h +0 -45
  4294. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/strided_slice_grad.h +0 -31
  4295. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16_grad/unsorted_segment_sum.h +0 -31
  4296. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/adder_fp32.h +0 -47
  4297. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/arg_min_max_fp32.h +0 -34
  4298. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/arithmetic_compare_fp32.h +0 -77
  4299. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/attention_fp32.h +0 -72
  4300. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/batchnorm_fp32.h +0 -40
  4301. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/bias_add.h +0 -34
  4302. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/common_func_fp32.h +0 -106
  4303. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/constant_of_shape_fp32.h +0 -52
  4304. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_1x1_avx_fp32.h +0 -40
  4305. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_1x1_x86_fp32.h +0 -21
  4306. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_common_fp32.h +0 -60
  4307. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_depthwise_avx_fp32.h +0 -37
  4308. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_depthwise_fp32.h +0 -148
  4309. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_im2col_avx512_fp32.h +0 -38
  4310. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_im2col_fp32.h +0 -33
  4311. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_sw.h +0 -132
  4312. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_sw_arm64_fp32.h +0 -33
  4313. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_sw_avx_fp32.h +0 -42
  4314. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_winograd_fp32.h +0 -48
  4315. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/crop_fp32.h +0 -34
  4316. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/cumsum_fp32.h +0 -32
  4317. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/custom_gru_fp32.h +0 -32
  4318. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/deconv_fp32.h +0 -37
  4319. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/deconv_winograd_fp32.h +0 -46
  4320. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/detection_post_process_fp32.h +0 -60
  4321. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/embedding_lookup_fp32.h +0 -43
  4322. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/group_norm_fp32.h +0 -35
  4323. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/gru_fp32.h +0 -30
  4324. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/instance_norm_fp32.h +0 -50
  4325. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/invert_permutation_fp32.h +0 -30
  4326. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/l2_norm_fp32.h +0 -34
  4327. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/layer_norm_fp32.h +0 -33
  4328. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/local_response_norm_fp32.h +0 -26
  4329. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/log_softmax_fp32.h +0 -31
  4330. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/matmul_avx512_mask_fp32.h +0 -209
  4331. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/non_max_suppression_fp32.h +0 -25
  4332. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/online_fusion/cast_gather_reduce_fp32.h +0 -37
  4333. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/online_fusion/reduce_concat_fp32.h +0 -34
  4334. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/online_fusion/split_reduce_concat_fp32.h +0 -33
  4335. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/pad_fp32.h +0 -40
  4336. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/prelu_fp32.h +0 -31
  4337. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/prior_box_fp32.h +0 -41
  4338. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/range_fp32.h +0 -34
  4339. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/rank_fp32.h +0 -32
  4340. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/resize_fp32.h +0 -74
  4341. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/reverse_fp32.h +0 -31
  4342. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/reverse_sequence_fp32.h +0 -33
  4343. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/scale_fp32.h +0 -35
  4344. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/sparse_to_dense_fp32.h +0 -31
  4345. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/splice_fp32.h +0 -26
  4346. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/transpose_fp32.h +0 -35
  4347. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/transpose_server_fp32.h +0 -40
  4348. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/triu_tril_fp32.h +0 -42
  4349. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/unique_fp32.h +0 -36
  4350. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/where_fp32.h +0 -32
  4351. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/winograd_avx.h +0 -299
  4352. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/winograd_transform.h +0 -51
  4353. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/winograd_utils.h +0 -373
  4354. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/batch_norm_grad.h +0 -37
  4355. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/batch_norm_parameter.h +0 -28
  4356. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/binary_cross_entropy_grad.h +0 -36
  4357. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/convolution_grad_filter.h +0 -32
  4358. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/convolution_grad_input.h +0 -32
  4359. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/dropout_parameter.h +0 -27
  4360. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/layernorm_grad.h +0 -29
  4361. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/nllloss_grad_fp32.h +0 -31
  4362. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/optimizer.h +0 -40
  4363. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/pack_ext.h +0 -39
  4364. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/pooling_grad.h +0 -34
  4365. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/reduce_grad.h +0 -30
  4366. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/smooth_l1_loss.h +0 -27
  4367. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/softmax_cross_entropy_with_logits.h +0 -33
  4368. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_grad/softmax_grad_utils.h +0 -33
  4369. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32_sparse/matmul_sparse_x1_fp32.h +0 -41
  4370. mindspore/include/mindspore/ops/kernel/cpu/nnacl/gather_nd_parameter.h +0 -26
  4371. mindspore/include/mindspore/ops/kernel/cpu/nnacl/gelu_parameter.h +0 -28
  4372. mindspore/include/mindspore/ops/kernel/cpu/nnacl/grid_sampler_parameter.h +0 -28
  4373. mindspore/include/mindspore/ops/kernel/cpu/nnacl/group_norm_parameter.h +0 -41
  4374. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/cast_gather_reduce_infer.h +0 -31
  4375. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensor_array_infer.h +0 -31
  4376. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensor_array_read_infer.h +0 -31
  4377. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensor_array_write_infer.h +0 -31
  4378. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensorlist_fromtensor_infer.h +0 -31
  4379. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensorlist_getitem_infer.h +0 -32
  4380. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensorlist_reserve_infer.h +0 -31
  4381. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensorlist_setitem_infer.h +0 -31
  4382. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/control/tensorlist_stack_infer.h +0 -31
  4383. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/conv3d_infer.h +0 -32
  4384. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/custom_is_inf_infer.h +0 -31
  4385. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/custom_masked_fill_infer.h +0 -31
  4386. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/custom_tensor_scatter_max_infer.h +0 -31
  4387. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/format_transpose_infer.h +0 -31
  4388. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/gather_d_infer.h +0 -33
  4389. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/grid_sampler_infer.h +0 -32
  4390. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/group_norm_infer.h +0 -31
  4391. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/reduce_concat_infer.h +0 -31
  4392. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/sparse_fill_empty_rows_infer.h +0 -31
  4393. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/sparse_reshape_infer.h +0 -31
  4394. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/sparse_segment_sum_infer.h +0 -31
  4395. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/split_reduce_concat_infer.h +0 -31
  4396. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/custom_extract_features_infer.h +0 -31
  4397. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/custom_normalize_infer.h +0 -32
  4398. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/custom_predict_infer.h +0 -36
  4399. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/hashtable_lookup_infer.h +0 -31
  4400. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/lsh_projection_infer.h +0 -32
  4401. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/string/skip_gram_infer.h +0 -31
  4402. mindspore/include/mindspore/ops/kernel/cpu/nnacl/infer/triu_tril_infer.h +0 -32
  4403. mindspore/include/mindspore/ops/kernel/cpu/nnacl/instance_norm_parameter.h +0 -32
  4404. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/add_int8.h +0 -70
  4405. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/arg_min_max_int8.h +0 -41
  4406. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/arithmetic_int8.h +0 -51
  4407. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/arithmetic_self_int8.h +0 -59
  4408. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/batch_to_space_int8.h +0 -33
  4409. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/batchnorm_int8.h +0 -34
  4410. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/common_func_int8.h +0 -95
  4411. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/concat_int8.h +0 -33
  4412. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/conv1x1_int8.h +0 -46
  4413. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/conv3x3_int8.h +0 -48
  4414. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/conv_depthwise_int8.h +0 -49
  4415. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/conv_int8.h +0 -44
  4416. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/crop_int8.h +0 -31
  4417. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/deconv_int8.h +0 -46
  4418. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/depth_to_space_int8.h +0 -32
  4419. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/div_int8.h +0 -37
  4420. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/dynamic_gather_int8.h +0 -40
  4421. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/dynamic_matmul_int8.h +0 -74
  4422. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/dynamic_quant_int8.h +0 -34
  4423. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/gatherNd_int8.h +0 -32
  4424. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/gather_int8.h +0 -35
  4425. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/hswish_int8.h +0 -43
  4426. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/l2_norm_int8.h +0 -32
  4427. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/layer_norm_int8.h +0 -35
  4428. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/leaky_relu_int8.h +0 -31
  4429. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/matmul_int8.h +0 -93
  4430. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/mul_int8.h +0 -39
  4431. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/pack_int8.h +0 -56
  4432. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/pad_int8.h +0 -35
  4433. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/pooling_int8.h +0 -50
  4434. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/power_int8.h +0 -33
  4435. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/quant_dtype_cast_int8.h +0 -56
  4436. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/reduce_int8.h +0 -70
  4437. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/relux_int8.h +0 -43
  4438. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/reshape_int8.h +0 -32
  4439. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/resize_int8.h +0 -50
  4440. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/scale_int8.h +0 -35
  4441. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/sigmoid_int8.h +0 -32
  4442. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/slice_int8.h +0 -35
  4443. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/softmax_int8.h +0 -35
  4444. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/space_to_batch_int8.h +0 -32
  4445. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/split_int8.h +0 -33
  4446. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/squeeze_int8.h +0 -32
  4447. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/sub_int8.h +0 -32
  4448. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/tanh_int8.h +0 -43
  4449. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/topk_int8.h +0 -36
  4450. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/transpose_int8.h +0 -36
  4451. mindspore/include/mindspore/ops/kernel/cpu/nnacl/int8/unsqueeze_int8.h +0 -33
  4452. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/avx/common_utils.h +0 -157
  4453. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/sse/sse_common.h +0 -390
  4454. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/activation.h +0 -25
  4455. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/addn.h +0 -35
  4456. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/arg_min_max.h +0 -63
  4457. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/arithmetic_compare.h +0 -26
  4458. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/arithmetic_self.h +0 -48
  4459. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/batch_norm.h +0 -38
  4460. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/batch_to_space.h +0 -33
  4461. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/biasadd.h +0 -25
  4462. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/cast.h +0 -32
  4463. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/clip.h +0 -34
  4464. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/concat.h +0 -52
  4465. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_1x1.h +0 -42
  4466. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_base.h +0 -63
  4467. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_delegate.h +0 -39
  4468. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_depthwise.h +0 -36
  4469. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_depthwise_3x3.h +0 -37
  4470. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_depthwise_indirect.h +0 -39
  4471. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_depthwise_sw.h +0 -36
  4472. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_depthwise_sw_avx.h +0 -40
  4473. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col.h +0 -28
  4474. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_arm32.h +0 -30
  4475. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_arm64.h +0 -29
  4476. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_avx.h +0 -29
  4477. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_avx512.h +0 -29
  4478. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_base.h +0 -52
  4479. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_im2col_sse.h +0 -29
  4480. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_slidewindow.h +0 -46
  4481. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_sw_1x1.h +0 -36
  4482. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_sw_arm64.h +0 -28
  4483. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_sw_avx.h +0 -28
  4484. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd.h +0 -32
  4485. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd_arm32.h +0 -30
  4486. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd_arm64.h +0 -30
  4487. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd_avx.h +0 -30
  4488. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd_base.h +0 -65
  4489. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/convolution_winograd_sse.h +0 -30
  4490. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/crop.h +0 -31
  4491. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/crop_and_resize.h +0 -41
  4492. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/deconvolution.h +0 -39
  4493. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/deconvolution_depthwise.h +0 -34
  4494. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/deconvolution_winograd.h +0 -52
  4495. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/depth_to_space.h +0 -42
  4496. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/f16/arithmetic_compare_f16.h +0 -26
  4497. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/f16/arithmetic_f16.h +0 -42
  4498. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/f16/concat_f16.h +0 -25
  4499. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/f16/reduce_f16.h +0 -27
  4500. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/f16/stack_f16.h +0 -32
  4501. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/fill.h +0 -36
  4502. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/fullconnection.h +0 -25
  4503. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/fused_batch_norm.h +0 -37
  4504. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/gather.h +0 -46
  4505. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/gather_d.h +0 -25
  4506. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/gather_nd.h +0 -35
  4507. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/group_convolution.h +0 -49
  4508. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/group_norm.h +0 -31
  4509. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/init_vs_kernels.h +0 -20
  4510. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/layer_norm.h +0 -49
  4511. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/local_response_norm.h +0 -30
  4512. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/log_softmax.h +0 -31
  4513. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul.h +0 -25
  4514. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_arm32.h +0 -28
  4515. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_arm64.h +0 -28
  4516. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_avx.h +0 -28
  4517. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_avx512.h +0 -27
  4518. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_base.h +0 -35
  4519. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_create.h +0 -24
  4520. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/matmul_sse.h +0 -27
  4521. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/non_max_suppression.h +0 -34
  4522. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/non_zero.h +0 -30
  4523. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/ones_like.h +0 -31
  4524. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/pad.h +0 -51
  4525. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/pow.h +0 -31
  4526. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/prelu.h +0 -34
  4527. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/prior_box.h +0 -36
  4528. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/range.h +0 -31
  4529. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/rank.h +0 -31
  4530. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/reduce.h +0 -72
  4531. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/reverse.h +0 -36
  4532. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/scale.h +0 -41
  4533. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/shape.h +0 -31
  4534. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/size.h +0 -30
  4535. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/softmax.h +0 -39
  4536. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/splice.h +0 -30
  4537. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/stack.h +0 -41
  4538. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/transpose.h +0 -49
  4539. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/tril.h +0 -32
  4540. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/triu.h +0 -32
  4541. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/unique.h +0 -32
  4542. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/where.h +0 -44
  4543. mindspore/include/mindspore/ops/kernel/cpu/nnacl/kernel/zeros_like.h +0 -31
  4544. mindspore/include/mindspore/ops/kernel/cpu/nnacl/l2_norm_parameter.h +0 -41
  4545. mindspore/include/mindspore/ops/kernel/cpu/nnacl/local_response_norm_parameter.h +0 -31
  4546. mindspore/include/mindspore/ops/kernel/cpu/nnacl/lsh_projection_parameter.h +0 -35
  4547. mindspore/include/mindspore/ops/kernel/cpu/nnacl/mul_parameter.h +0 -32
  4548. mindspore/include/mindspore/ops/kernel/cpu/nnacl/non_max_suppression_parameter.h +0 -28
  4549. mindspore/include/mindspore/ops/kernel/cpu/nnacl/pack.h +0 -23
  4550. mindspore/include/mindspore/ops/kernel/cpu/nnacl/partial_fusion_parameter.h +0 -29
  4551. mindspore/include/mindspore/ops/kernel/cpu/nnacl/predict_parameter.h +0 -32
  4552. mindspore/include/mindspore/ops/kernel/cpu/nnacl/prelu_parameter.h +0 -26
  4553. mindspore/include/mindspore/ops/kernel/cpu/nnacl/random_parameter.h +0 -34
  4554. mindspore/include/mindspore/ops/kernel/cpu/nnacl/reverse_parameter.h +0 -30
  4555. mindspore/include/mindspore/ops/kernel/cpu/nnacl/reverse_sequence_parameter.h +0 -45
  4556. mindspore/include/mindspore/ops/kernel/cpu/nnacl/scale_parameter.h +0 -39
  4557. mindspore/include/mindspore/ops/kernel/cpu/nnacl/scatter_elements_parameter.h +0 -25
  4558. mindspore/include/mindspore/ops/kernel/cpu/nnacl/scatter_nd_parameter.h +0 -29
  4559. mindspore/include/mindspore/ops/kernel/cpu/nnacl/sigmoid_parameter.h +0 -41
  4560. mindspore/include/mindspore/ops/kernel/cpu/nnacl/skip_gram_parameter.h +0 -30
  4561. mindspore/include/mindspore/ops/kernel/cpu/nnacl/sparse_to_dense_parameter.h +0 -32
  4562. mindspore/include/mindspore/ops/kernel/cpu/nnacl/tensor_array_parameter.h +0 -29
  4563. mindspore/include/mindspore/ops/kernel/cpu/nnacl/triu_tril_parameter.h +0 -31
  4564. mindspore/include/mindspore/ops/kernel/cpu/nnacl/upsample_parameter.h +0 -29
  4565. mindspore/include/mindspore/ops/kernel/cpu/nnacl/where_parameter.h +0 -25
  4566. mindspore/include/mindspore/ops/ops_utils/ms_extension.h +0 -39
  4567. mindspore/include/third_party/securec/src/secinput.h +0 -181
  4568. mindspore/include/third_party/securec/src/securecutil.h +0 -574
  4569. mindspore/include/third_party/securec/src/secureprintoutput.h +0 -153
  4570. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/config/ascend310/aic-ascend310-ops-info.json +0 -123
  4571. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json +0 -152
  4572. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/config/ascend910/aic-ascend910-ops-info.json +0 -2048
  4573. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/config/ascend910_93/aic-ascend910_93-ops-info.json +0 -2048
  4574. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json +0 -2048
  4575. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/add_dsl.py +0 -46
  4576. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/add_tik.py +0 -51
  4577. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/build_tbe_kernel.py +0 -529
  4578. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/compiler.py +0 -56
  4579. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/custom.py +0 -1109
  4580. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/get_file_path.py +0 -36
  4581. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/kv_cache_mgr.py +0 -241
  4582. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/matmul_tik.py +0 -212
  4583. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/tbe_topi.py +0 -556
  4584. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/add_dsl.py +0 -46
  4585. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/add_tik.py +0 -51
  4586. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/kv_cache_mgr.py +0 -241
  4587. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/matmul_tik.py +0 -212
  4588. mindspore/lib/plugin/ascend/custom_aicore_ops/op_proto/libop_proto.so +0 -0
  4589. mindspore/lib/plugin/ascend/custom_ascendc_910/framework/plugin/npu_supported_ops.json +0 -10
  4590. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  4591. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  4592. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/lib/libcust_opapi.so +0 -0
  4593. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/config/ascend910/aic-ascend910-ops-info.json +0 -182
  4594. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.cpp +0 -192
  4595. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.py +0 -215
  4596. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.cpp +0 -274
  4597. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.py +0 -215
  4598. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  4599. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4600. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  4601. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4602. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  4603. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4604. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  4605. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4606. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  4607. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4608. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  4609. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4610. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  4611. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4612. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  4613. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4614. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  4615. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4616. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  4617. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4618. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  4619. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4620. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  4621. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4622. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  4623. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4624. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  4625. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4626. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  4627. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4628. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  4629. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4630. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/binary_info_config.json +0 -302
  4631. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/decoder_kv_cache.json +0 -892
  4632. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/prompt_kv_cache.json +0 -892
  4633. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  4634. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  4635. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/inc/op_proto.h +0 -33
  4636. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  4637. mindspore/lib/plugin/ascend/custom_ascendc_910/version.info +0 -1
  4638. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  4639. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  4640. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.cpp +0 -192
  4641. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.py +0 -215
  4642. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.cpp +0 -274
  4643. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.py +0 -215
  4644. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  4645. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4646. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  4647. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4648. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  4649. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4650. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  4651. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4652. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  4653. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4654. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  4655. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4656. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  4657. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4658. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  4659. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4660. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  4661. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4662. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  4663. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4664. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  4665. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4666. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  4667. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4668. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  4669. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4670. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  4671. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4672. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  4673. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4674. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  4675. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4676. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4677. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4678. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4679. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4680. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4681. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4682. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4683. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4684. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4685. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4686. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4687. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4688. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4689. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4690. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4691. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4692. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4693. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4694. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4695. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4696. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4697. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4698. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4699. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4700. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4701. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4702. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4703. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4704. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4705. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4706. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4707. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4708. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4709. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4710. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4711. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4712. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4713. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4714. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4715. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4716. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4717. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4718. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4719. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4720. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4721. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4722. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4723. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4724. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4725. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4726. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4727. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4728. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4729. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4730. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4731. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4732. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4733. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4734. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4735. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4736. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4737. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4738. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4739. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4740. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/decoder_kv_cache.json +0 -892
  4741. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/prompt_kv_cache.json +0 -892
  4742. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/decoder_kv_cache.json +0 -892
  4743. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/prompt_kv_cache.json +0 -892
  4744. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/decoder_kv_cache.json +0 -892
  4745. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/prompt_kv_cache.json +0 -892
  4746. mindspore/profiler/common/validator/__init__.py +0 -14
  4747. mindspore/profiler/common/validator/validate_path.py +0 -84
  4748. mindspore/profiler/parser/__init__.py +0 -14
  4749. mindspore/profiler/parser/aicpu_data_parser.py +0 -272
  4750. mindspore/profiler/parser/ascend_analysis/__init__.py +0 -14
  4751. mindspore/profiler/parser/ascend_analysis/constant.py +0 -71
  4752. mindspore/profiler/parser/ascend_analysis/file_manager.py +0 -180
  4753. mindspore/profiler/parser/ascend_analysis/function_event.py +0 -185
  4754. mindspore/profiler/parser/ascend_analysis/fwk_cann_parser.py +0 -136
  4755. mindspore/profiler/parser/ascend_analysis/fwk_file_parser.py +0 -131
  4756. mindspore/profiler/parser/ascend_analysis/msprof_timeline_parser.py +0 -104
  4757. mindspore/profiler/parser/ascend_analysis/path_manager.py +0 -313
  4758. mindspore/profiler/parser/ascend_analysis/profiler_info_parser.py +0 -123
  4759. mindspore/profiler/parser/ascend_analysis/tlv_decoder.py +0 -86
  4760. mindspore/profiler/parser/ascend_analysis/trace_event_manager.py +0 -75
  4761. mindspore/profiler/parser/ascend_cluster_generator.py +0 -116
  4762. mindspore/profiler/parser/ascend_communicate_generator.py +0 -314
  4763. mindspore/profiler/parser/ascend_flops_generator.py +0 -116
  4764. mindspore/profiler/parser/ascend_fpbp_generator.py +0 -82
  4765. mindspore/profiler/parser/ascend_hccl_generator.py +0 -271
  4766. mindspore/profiler/parser/ascend_integrate_generator.py +0 -42
  4767. mindspore/profiler/parser/ascend_memory_generator.py +0 -185
  4768. mindspore/profiler/parser/ascend_msprof_exporter.py +0 -282
  4769. mindspore/profiler/parser/ascend_msprof_generator.py +0 -187
  4770. mindspore/profiler/parser/ascend_op_generator.py +0 -334
  4771. mindspore/profiler/parser/ascend_steptrace_generator.py +0 -94
  4772. mindspore/profiler/parser/ascend_timeline_generator.py +0 -545
  4773. mindspore/profiler/parser/base_timeline_generator.py +0 -483
  4774. mindspore/profiler/parser/container.py +0 -229
  4775. mindspore/profiler/parser/cpu_gpu_timeline_generator.py +0 -697
  4776. mindspore/profiler/parser/flops_parser.py +0 -531
  4777. mindspore/profiler/parser/framework_enum.py +0 -111
  4778. mindspore/profiler/parser/framework_parser.py +0 -464
  4779. mindspore/profiler/parser/framework_struct.py +0 -61
  4780. mindspore/profiler/parser/gpu_analysis/__init__.py +0 -14
  4781. mindspore/profiler/parser/gpu_analysis/function_event.py +0 -44
  4782. mindspore/profiler/parser/gpu_analysis/fwk_file_parser.py +0 -89
  4783. mindspore/profiler/parser/gpu_analysis/profiler_info_parser.py +0 -72
  4784. mindspore/profiler/parser/hccl_parser.py +0 -573
  4785. mindspore/profiler/parser/hwts_log_parser.py +0 -122
  4786. mindspore/profiler/parser/integrator.py +0 -526
  4787. mindspore/profiler/parser/memory_usage_parser.py +0 -277
  4788. mindspore/profiler/parser/minddata_analyzer.py +0 -800
  4789. mindspore/profiler/parser/minddata_parser.py +0 -186
  4790. mindspore/profiler/parser/minddata_pipeline_parser.py +0 -299
  4791. mindspore/profiler/parser/op_intermediate_parser.py +0 -149
  4792. mindspore/profiler/parser/optime_parser.py +0 -250
  4793. mindspore/profiler/parser/profiler_info.py +0 -213
  4794. mindspore/profiler/parser/step_trace_parser.py +0 -666
  4795. mindspore/utils/hooks.py +0 -81
  4796. mindspore-2.6.0.dist-info/METADATA +0 -367
  4797. mindspore-2.6.0.dist-info/RECORD +0 -12413
  4798. mindspore-2.6.0.dist-info/WHEEL +0 -5
  4799. /mindspore/common/{_auto_dynamic.py → dynamic_shape/_auto_dynamic.py} +0 -0
  4800. /mindspore/include/mindspore/ops/kernel/ascend/ascendc/{op_host → all_finite/op_host}/all_finite_tiling.h +0 -0
  4801. /mindspore/include/third_party/{securec/include → include}/securec.h +0 -0
  4802. /mindspore/include/third_party/{securec/include → include}/securectype.h +0 -0
  4803. {mindspore-2.6.0.dist-info → mindspore-2.7.0.dist-info}/entry_points.txt +0 -0
  4804. {mindspore-2.6.0.dist-info → mindspore-2.7.0.dist-info}/top_level.txt +0 -0
@@ -17,22 +17,24 @@ from mindspore.common import dtype as mstype
17
17
  from mindspore.ops.auto_generate.pyboost_inner_prim import *
18
18
 
19
19
 
20
- def asinh(input):
20
+ def flatten(input, start_dim=0, end_dim=-1):
21
21
  r"""
22
- Computes inverse hyperbolic sine of the input element-wise.
23
-
24
- .. math::
25
-
26
- out_i = \sinh^{-1}(input_i)
22
+ Flatten a tensor along dimensions from `start_dim` to `end_dim`.
27
23
 
28
24
  Args:
29
- input (Tensor): The input tensor of inverse hyperbolic sine function.
25
+ input (Tensor): The input Tensor.
26
+ start_dim (int, optional): The first dimension to flatten. Default: ``0`` .
27
+ end_dim (int, optional): The last dimension to flatten. Default: ``-1`` .
30
28
 
31
29
  Returns:
32
- Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
30
+ Tensor. If no dimensions are flattened, returns the original `input`, otherwise return the flattened Tensor.
31
+ If `input` is a 0-dimensional Tensor, a 1-dimensional Tensor will be returned.
33
32
 
34
33
  Raises:
35
34
  TypeError: If `input` is not a Tensor.
35
+ TypeError: If `start_dim` or `end_dim` is not int.
36
+ ValueError: If `start_dim` is greater than `end_dim` after canonicalized.
37
+ ValueError: If `start_dim` or `end_dim` is not in range of [-input.dim, input.dim-1].
36
38
 
37
39
  Supported Platforms:
38
40
  ``Ascend`` ``GPU`` ``CPU``
@@ -41,352 +43,411 @@ def asinh(input):
41
43
  >>> import mindspore
42
44
  >>> import numpy as np
43
45
  >>> from mindspore import Tensor, ops
44
- >>> input = Tensor(np.array([-5.0, 1.5, 3.0, 100.0]), mindspore.float32)
45
- >>> output = ops.asinh_ext(input)
46
- >>> print(output)
47
- [-2.3124385 1.1947632 1.8184465 5.298342 ]
46
+ >>> input_x = Tensor(np.ones(shape=[1, 2, 3, 4]), mindspore.float32)
47
+ >>> output = ops.auto_generate.flatten_ext(input_x)
48
+ >>> print(output.shape)
49
+ (24,)
48
50
  """
49
- return asinh_impl(input)
51
+ return flatten_impl(input, start_dim, end_dim)
50
52
 
51
53
 
52
- def t(input):
54
+ def cumsum(input, dim, dtype=None):
53
55
  r"""
54
- Transpose the input tensor.
56
+ Computes the cumulative sum of input Tensor along `dim`.
55
57
 
56
- .. warning::
57
- This is an experimental API that is subject to change or deletion.
58
+ .. math::
59
+
60
+ y_i = x_1 + x_2 + x_3 + ... + x_i
58
61
 
59
62
  Args:
60
- input (Tensor): The input tensor.
63
+ input (Tensor): The input Tensor.
64
+ dim (int): Dim along which the cumulative sum is computed.
65
+ dtype (:class:`mindspore.dtype`, optional): The desired dtype of returned Tensor. If specified,
66
+ the input Tensor will be cast to `dtype` before the computation. This is useful for preventing overflows.
67
+ If not specified, stay the same as original Tensor. Default: ``None`` .
61
68
 
62
69
  Returns:
63
- Tensor, transpose 2D tensor, return 1D tensor as it is.
70
+ Tensor, the shape of the output Tensor is consistent with the input Tensor's.
64
71
 
65
72
  Raises:
66
- ValueError: If the dimension of `input` is greater than 2.
67
- ValueError: If `input` is empty.
68
- TypeError: If `input` is not a tensor.
73
+ TypeError: If `input` is not a Tensor.
74
+ ValueError: If the `dim` is out of range.
69
75
 
70
76
  Supported Platforms:
71
77
  ``Ascend``
72
78
 
73
79
  Examples:
74
- >>> import mindspore
75
80
  >>> import numpy as np
76
- >>> from mindspore import Tensor, ops
77
- >>> input = Tensor(np.array([[1, 2, 3], [4, 5, 6]]), mindspore.float32)
78
- >>> output = ops.t_ext(input)
79
- >>> print(output)
80
- [[ 1. 4.]
81
- [ 2. 5.]
82
- [ 3. 6.]]
81
+ >>> from mindspore import Tensor
82
+ >>> import mindspore.ops as ops
83
+ >>> x = Tensor(np.array([[3, 4, 6, 10], [1, 6, 7, 9], [4, 3, 8, 7], [1, 3, 7, 9]]).astype(np.float32))
84
+ >>> # case 1: along the dim 0
85
+ >>> y = ops.auto_generate.cumsum_ext(x, 0)
86
+ >>> print(y)
87
+ [[ 3. 4. 6. 10.]
88
+ [ 4. 10. 13. 19.]
89
+ [ 8. 13. 21. 26.]
90
+ [ 9. 16. 28. 35.]]
91
+ >>> # case 2: along the dim 1
92
+ >>> y = ops.auto_generate.cumsum_ext(x, 1)
93
+ >>> print(y)
94
+ [[ 3. 7. 13. 23.]
95
+ [ 1. 7. 14. 23.]
96
+ [ 4. 7. 15. 22.]
97
+ [ 1. 4. 11. 20.]]
83
98
  """
84
- return t_impl(input)
99
+ return cumsum_impl(input, dim, dtype)
85
100
 
86
101
 
87
- def argmax(input, dim=None, keepdim=False):
102
+ def softplus(input, beta=1, threshold=20):
88
103
  r"""
89
- argmax(input) -> Tensor
104
+ Applies softplus function to `input` element-wise.
90
105
 
91
- Return the indices of the maximum values of a tensor.
106
+ The softplus function is shown as follows, x is the element of `input` :
107
+
108
+ .. math::
109
+
110
+ \text{output} = \frac{1}{beta}\log(1 + \exp(\text{beta * x}))
111
+
112
+ where :math:`input * beta > threshold`, the implementation converts to the linear function to ensure numerical stability.
92
113
 
93
114
  Args:
94
- input (Tensor): Input tensor.
115
+ input (Tensor): Tensor of any dimension. Supported dtypes:
116
+
117
+ - Ascend: float16, float32, bfloat16.
118
+ beta (number.Number, optional): Scaling parameters in the softplus function. Default: ``1`` .
119
+ threshold (number.Number, optional): For numerical stability, the softplus function is converted
120
+ to a threshold parameter of a linear function. Default: ``20`` .
95
121
 
96
122
  Returns:
97
- Tensor.
123
+ Tensor, with the same type and shape as the input.
124
+
125
+ Raises:
126
+ TypeError: If `input` is not a Tensor.
127
+ TypeError: If dtype of `input` is not float16, float32, bfloat16.
98
128
 
99
129
  Supported Platforms:
100
- ``Ascend``
130
+ ``Ascend``
101
131
 
102
132
  Examples:
133
+ >>> import mindspore
103
134
  >>> import numpy as np
104
- >>> from mindspore import Tensor
105
- >>> from mindspore import ops
106
- >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
107
- >>> output = ops.auto_generate.argmax_ext(x)
135
+ >>> from mindspore import Tensor, ops
136
+ >>> input = Tensor(np.array([0.1, 0.2, 30, 25]), mindspore.float32)
137
+ >>> output = ops.auto_generate.softplus_ext(input)
108
138
  >>> print(output)
109
- 6
139
+ [0.74439657 0.7981388 30. 25.]
140
+ """
141
+ return softplus_impl(input, beta, threshold)
142
+
143
+
144
+ def outer(input, vec2):
145
+ r"""
146
+ Return outer product of `input` and `vec2`. If `input` is a vector of size :math:`n`
147
+ and `vec2` is a vector of size :math:`m` , then output must be a matrix of shape :math:`(n, m)` .
110
148
 
111
- .. function:: argmax(input, dim, keepdim=False) -> Tensor
112
- :noindex:
149
+ .. warning::
150
+ This is an experimental API that is subject to change or deletion.
113
151
 
114
- Return the indices of the maximum values of a tensor across a dimension.
152
+ .. note::
153
+ This function does not broadcast.
115
154
 
116
155
  Args:
117
- input (Tensor): Input tensor.
118
- dim (int): The dimension to reduce.
119
- keepdim (bool, optional): Whether the output tensor retains the specified
120
- dimension. Default: ``False`` .
156
+ input (Tensor): 1-D input vector.
157
+ vec2 (Tensor): 1-D input vector.
121
158
 
122
159
  Returns:
123
- Tensor, indices of the maximum values across a dimension.
160
+ out, 2-D matrix, the outer product of two vectors.
124
161
 
125
162
  Raises:
126
- TypeError: If `keepdim` is not bool.
127
- ValueError: If `dim` is out of range.
163
+ TypeError: If `input` or `vec2` is not a Tensor.
164
+ TypeError: The implicitly converted data types of `input` and `vec2` are not one of float16, float32, float64, bool, uint8, int8, int16, int32, int64, complex64, complex128, bfloat16
165
+ ValueError: If the dimension of `input` or `vec2` is not equal to 1.
128
166
 
129
167
  Supported Platforms:
130
168
  ``Ascend``
131
169
 
132
170
  Examples:
171
+ >>> import mindspore
133
172
  >>> import numpy as np
134
173
  >>> from mindspore import Tensor
135
174
  >>> from mindspore import ops
136
- >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
137
- >>> output = ops.auto_generate.argmax_ext(x, dim=-1)
138
- >>> print(output)
139
- [1 0 0]
140
- """
141
- return argmax_impl(input, dim, keepdim)
142
-
143
-
144
- def sort(input, dim=-1, descending=False, stable=False):
145
- r"""
146
- None
175
+ >>> input = Tensor(np.array([7, 8, 9]), mindspore.int32)
176
+ >>> vec2 = Tensor(np.array([7, 10, 11]), mindspore.int32)
177
+ >>> out = ops.outer(input, vec2)
178
+ >>> print(out)
179
+ [[49 70 77]
180
+ [56 80 88]
181
+ [63 90 99]]
147
182
  """
148
- return sort_impl(input, dim, descending, stable)
183
+ return outer_impl(input, vec2)
149
184
 
150
185
 
151
- def isneginf(input):
186
+ def logaddexp(input, other):
152
187
  r"""
153
- Determines which elements are -inf for each position.
188
+ Computes the logarithm of the sum of exponentiations of the inputs.
189
+ This function is useful in statistics where the calculated probabilities of events may be
190
+ so small as to exceed the range of normal floating point numbers.
191
+
192
+ .. math::
193
+
194
+ out_i = \log(exp(input_i) + \exp(other_i))
154
195
 
155
196
  .. warning::
156
- - This API can be used only on the Atlas A2 training series.
197
+ This is an experimental API that is subject to change or deletion.
157
198
 
158
199
  Args:
159
- input (Tensor): Input Tensor.
200
+ input (Tensor): Input Tensor. The dtype of `input` must be float.
201
+ other (Tensor): Input Tensor. The dtype of `other` must be float.
202
+ If the shape of `input` is not equal to the shape of `other`,
203
+ they must be broadcastable to a common shape.
160
204
 
161
205
  Returns:
162
- Tensor with the same shape as the input, where elements are `True` if the corresponding element in the `input` is negative infinity, and `False` otherwise.
206
+ Tensor, with the same dtype as `input` and `other`.
163
207
 
164
208
  Raises:
165
- TypeError: If the input is not a tensor.
209
+ TypeError: If `input` or `other` is not a Tensor.
210
+ TypeError: The dtype of `input` or `other` is not float.
166
211
 
167
212
  Supported Platforms:
168
- ``Ascend`` ``GPU`` ``CPU``
213
+ ``Ascend``
169
214
 
170
215
  Examples:
171
- >>> from mindspore import ops, Tensor
172
- >>> from mindspore import dtype as mstype
173
- >>> output = ops.isneginf(Tensor([[-float("inf"), float("inf")], [1, -float("inf")]], mstype.float32))
216
+ >>> import numpy as np
217
+ >>> from mindspore import Tensor, ops
218
+ >>> x1 = Tensor(np.array([1, 2, 3]).astype(np.float16))
219
+ >>> x2 = Tensor(np.array(2).astype(np.float16))
220
+ >>> output = ops.logaddexp_ext(x1, x2)
174
221
  >>> print(output)
175
- [[ True False]
176
- [False True]]
222
+ [2.312 2.693 3.312]
177
223
  """
178
- return isneginf_impl(input)
224
+ return logaddexp_impl(input, other)
179
225
 
180
226
 
181
- def mish(input):
227
+ def acosh(input):
182
228
  r"""
183
- Computes MISH (A Self Regularized Non-Monotonic Neural Activation Function)
184
- of input tensors element-wise.
185
-
186
- The formula is defined as follows:
229
+ Computes inverse hyperbolic cosine of the inputs element-wise.
187
230
 
188
231
  .. math::
189
- \text{mish}(input) = input * \tanh(softplus(\text{input}))
190
232
 
191
- See more details in `A Self Regularized Non-Monotonic Neural Activation Function
192
- <https://arxiv.org/abs/1908.08681>`_.
193
-
194
- Mish Activation Function Graph:
233
+ out_i = \cosh^{-1}(input_i)
195
234
 
196
- .. image:: ../images/Mish.png
197
- :align: center
235
+ .. note::
236
+ Given an input tensor input, the function computes inverse hyperbolic cosine of every element.
237
+ Input range is [1, inf].
198
238
 
199
239
  Args:
200
- input (Tensor): The input of MISH. Supported dtypes:
201
-
202
- - Ascend: float16, float32.
240
+ input (Tensor): The input tensor of inverse hyperbolic cosine function.
203
241
 
204
242
  Returns:
205
- Tensor, has the same type and shape as the `input`.
243
+ Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
206
244
 
207
245
  Raises:
208
246
  TypeError: If `input` is not a Tensor.
209
- TypeError: If dtype of `input` is not float16 or float32.
210
247
 
211
248
  Supported Platforms:
212
- ``Ascend``
249
+ ``Ascend`` ``GPU`` ``CPU``
213
250
 
214
251
  Examples:
215
252
  >>> import mindspore
216
- >>> from mindspore import Tensor, ops
217
253
  >>> import numpy as np
218
- >>> x = Tensor(np.array([[-1.1, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
219
- >>> output = ops.mish(x)
254
+ >>> from mindspore import Tensor, ops
255
+ >>> input = Tensor(np.array([1.0, 1.5, 3.0, 100.0]), mindspore.float32)
256
+ >>> output = ops.acosh_ext(input)
220
257
  >>> print(output)
221
- [[-3.0764845e-01 3.9974124e+00 -2.6832507e-03]
222
- [ 1.9439589e+00 -3.3576239e-02 8.9999990e+00]]
258
+ [0. 0.9624236 1.7627472 5.298292 ]
223
259
  """
224
- return mish_impl(input)
260
+ return acosh_impl(input)
225
261
 
226
262
 
227
- def avg_pool1d(input, kernel_size, stride=None, padding=0, ceil_mode=False, count_include_pad=True):
263
+ def argmin(input, dim=None, keepdim=False):
228
264
  r"""
229
- Applies a 1D average pooling over an input Tensor which can be regarded as a composition of 1D input planes.
265
+ Return the indices of the minimum values of a tensor across a dimension.
230
266
 
231
- Typically the input is of shape :math:`(N_{in}, C_{in}, L_{in})`, avg_pool1d outputs regional average in the
232
- :math:`(L_{in})`-dimension. Given kernel size as :math:`ks = l_{ker}` and `stride` as :math:`s = s_0`, the
233
- operation is as follows.
267
+ Args:
268
+ input (Tensor): Input tensor.
269
+ dim (Union[int, None], optional): Specify the axis for calculation. If `dim` is ``None`` , the indices of the minimum
270
+ value within the flattened input will be returned. Default: ``None`` .
271
+ keepdim (bool, optional): Whether the output tensor retains the specified
272
+ dimension. Ignored if `dim` is None. Default: ``False`` .
234
273
 
235
- .. math::
236
- \text{output}(N_i, C_j, l) = \frac{1}{l_{ker}} \sum_{n=0}^{l_{ker}-1}
237
- \text{input}(N_i, C_j, s_0 \times l + n)
238
-
239
- .. warning::
240
- This is an experimental API that is subject to change or deletion.
241
-
242
- Args:
243
- input (Tensor): Tensor of shape :math:`(N, C_{in}, L_{in})`.
244
- kernel_size (Union(int, tuple[int])): The size of kernel window used to take the average value.
245
- stride (Union(int, tuple[int]), optional): The distance of kernel moving. `stride` can either be an int
246
- number or a tuple of one int number. Default: ``None``, the same value as `kernel_size`.
247
- padding (Union(int, tuple[int]), optional): The pad length to be filled. `padding` can either be an integer
248
- or a tuple of one integer. Default: ``0`` .
249
- ceil_mode (bool, optional): If True, apply ceil instead of floor to compute the output shape. Default: ``False``.
250
- count_include_pad (bool, optional): If True, include the zero-padding in the averaging calculation. Default: ``True`` .
251
-
252
- Returns:
253
- Tensor of shape :math:`(N, C_{in}, L_{out})`.
274
+ Returns:
275
+ Tensor, indices of the minimum values of the input tensor across a dimension.
254
276
 
255
277
  Raises:
256
- TypeError: If `input` is not a Tensor.
257
- TypeError: If `kernel_size` or `stride` is not an int.
258
- TypeError: If `ceil_mode` or `count_include_pad` is not a bool.
259
- ValueError: If `kernel_size` or `stride` is less than `1`.
260
- ValueError: If `kernel_size` or `stride` or `padding` is not int nor a tuple whose length is greater than `1`.
278
+ TypeError: If `keepdim` is not bool.
279
+ ValueError: If `dim` is out of range.
261
280
 
262
281
  Supported Platforms:
263
- ``Ascend`` ``GPU`` ``CPU``
282
+ ``Ascend``
264
283
 
265
284
  Examples:
266
- >>> import mindspore
267
285
  >>> import numpy as np
268
- >>> from mindspore import Tensor, ops
269
- >>> input_x = Tensor(np.random.randint(0, 10, [1, 3, 6]), mindspore.float32)
270
- >>> output = ops.auto_generate.avg_pool1d_ext(input_x, kernel_size=6, stride=1)
271
- >>> print(output.shape)
272
- (1, 3, 1)
286
+ >>> from mindspore import Tensor
287
+ >>> from mindspore import ops
288
+ >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
289
+ >>> output = ops.auto_generate.argmin_ext(x, dim=-1)
290
+ >>> print(output)
291
+ [0 1 2]
273
292
  """
274
- return avg_pool1d_impl(input, kernel_size, stride, padding, ceil_mode, count_include_pad)
293
+ return argmin_impl(input, dim, keepdim)
275
294
 
276
295
 
277
- def trace(input):
296
+ def prod(input, dim=None, keepdim=False, dtype=None):
278
297
  r"""
279
- Returns a new tensor that is the sum of the `input` main trace.
298
+ Reduces a dimension of a tensor by multiplying all elements in the dimension, by default. And also can
299
+ reduce a dimension of `input` along the `dim`. Determine whether the dimensions of the output and input are the
300
+ same by controlling `keepdim`.
280
301
 
281
302
  Args:
282
- input (Tensor): 2-D Tensor.
303
+ input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
304
+ :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
305
+ dim (int): The dimensions to reduce. Default: ``None`` , reduce all dimensions.
306
+ Only constant value is allowed. Assume the rank of `input` is r, and the value range is [-r,r).
307
+ keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
308
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
309
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
283
310
 
284
311
  Returns:
285
- Tensor, when the data type of `input` is integer or bool, its data type is int64, otherwise it is the same as `input`, and size equals to 1.
312
+ Tensor, has the same data type as input tensor.
313
+
314
+ - If `dim` is ``None`` , and `keepdim` is ``False`` ,
315
+ the output is a 0-D tensor representing the product of all elements in the input tensor.
316
+ - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
317
+ the shape of output is :math:`(input_0, input_2, ..., input_R)`.
286
318
 
287
319
  Raises:
288
320
  TypeError: If `input` is not a Tensor.
289
- ValueError: If the dimension of `input` is not equal to 2.
290
- TypeError: If the dtype of `input` is not one of float16, float32, float64, bool, uint8, int8, int16, int32, int64, complex64, complex128, bfloat16.
321
+ TypeError: If `dim` is not one of the following: int or None.
322
+ TypeError: If `keepdim` is not a bool.
323
+ ValueError: If `dim` is out of range.
291
324
 
292
325
  Supported Platforms:
293
- ``Ascend``
326
+ ``Ascend`` ``GPU`` ``CPU``
294
327
 
295
328
  Examples:
296
329
  >>> import mindspore
297
330
  >>> import numpy as np
298
331
  >>> from mindspore import Tensor, ops
299
- >>> input = Tensor(np.array([[10, 11, 12], [13, 14, 15], [16, 17, 18]]), mindspore.float32)
300
- >>> output = ops.trace_ext(input)
332
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
333
+ >>> output = ops.prod_ext(x, 1, keepdim=True)
334
+ >>> result = output.shape
335
+ >>> print(result)
336
+ (3, 1, 5, 6)
337
+ >>> # case 1: Reduces a dimension by multiplying all elements in the dimension.
338
+ >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
339
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
340
+ ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mindspore.float32)
341
+ >>> output = ops.prod_ext(x)
301
342
  >>> print(output)
302
- 42.0
303
- >>> input = Tensor(np.arange(1, 13).reshape(3, 4), mindspore.float32)
304
- >>> output = ops.trace_ext(input)
343
+ 2.2833798e+33
344
+ >>> print(output.shape)
345
+ ()
346
+ >>> # case 2: Reduces a dimension along dim 0.
347
+ >>> output = ops.prod_ext(x, 0, True)
305
348
  >>> print(output)
306
- 18.0
307
- >>> input = Tensor(np.arange(12, 0, -1).reshape(4, 3), mindspore.float32)
308
- >>> output = ops.trace_ext(input)
349
+ [[[ 28. 28. 28. 28. 28. 28.]
350
+ [ 80. 80. 80. 80. 80. 80.]
351
+ [162. 162. 162. 162. 162. 162.]]]
352
+ >>> # case 3: Reduces a dimension along dim 1.
353
+ >>> output = ops.prod_ext(x, 1, True)
309
354
  >>> print(output)
310
- 24.0
355
+ [[[ 6. 6. 6. 6. 6. 6.]]
356
+ [[120. 120. 120. 120. 120. 120.]]
357
+ [[504. 504. 504. 504. 504. 504.]]]
358
+ >>> # case 4: Reduces a dimension along dim 2.
359
+ >>> output = ops.prod_ext(x, 2, True)
360
+ >>> print(output)
361
+ [[[1.00000e+00]
362
+ [6.40000e+01]
363
+ [7.29000e+02]]
364
+ [[4.09600e+03]
365
+ [1.56250e+04]
366
+ [4.66560e+04]]
367
+ [[1.17649e+05]
368
+ [2.62144e+05]
369
+ [5.31441e+05]]]
311
370
  """
312
- return trace_impl(input)
371
+ return prod_impl(input, dim, keepdim, dtype)
313
372
 
314
373
 
315
- def outer(input, vec2):
374
+ def mish(input):
316
375
  r"""
317
- Return outer product of `input` and `vec2`. If `input` is a vector of size :math:`n`
318
- and `vec2` is a vector of size :math:`m` , then output must be a matrix of shape :math:`(n, m)` .
376
+ Computes MISH (A Self Regularized Non-Monotonic Neural Activation Function)
377
+ of input tensors element-wise.
319
378
 
320
- .. warning::
321
- This is an experimental API that is subject to change or deletion.
379
+ The formula is defined as follows:
322
380
 
323
- .. note::
324
- This function does not broadcast.
381
+ .. math::
382
+ \text{mish}(input) = input * \tanh(softplus(\text{input}))
383
+
384
+ See more details in `A Self Regularized Non-Monotonic Neural Activation Function
385
+ <https://arxiv.org/abs/1908.08681>`_.
386
+
387
+ Mish Activation Function Graph:
388
+
389
+ .. image:: ../images/Mish.png
390
+ :align: center
325
391
 
326
392
  Args:
327
- input (Tensor): 1-D input vector.
328
- vec2 (Tensor): 1-D input vector.
393
+ input (Tensor): The input of MISH. Supported dtypes:
394
+
395
+ - Ascend: float16, float32.
329
396
 
330
397
  Returns:
331
- out, 2-D matrix, the outer product of two vectors.
398
+ Tensor, has the same type and shape as the `input`.
332
399
 
333
400
  Raises:
334
- TypeError: If `input` or `vec2` is not a Tensor.
335
- TypeError: The implicitly converted data types of `input` and `vec2` are not one of float16, float32, float64, bool, uint8, int8, int16, int32, int64, complex64, complex128, bfloat16
336
- ValueError: If the dimension of `input` or `vec2` is not equal to 1.
401
+ TypeError: If `input` is not a Tensor.
402
+ TypeError: If dtype of `input` is not float16 or float32.
337
403
 
338
404
  Supported Platforms:
339
405
  ``Ascend``
340
406
 
341
407
  Examples:
342
408
  >>> import mindspore
409
+ >>> from mindspore import Tensor, ops
343
410
  >>> import numpy as np
344
- >>> from mindspore import Tensor
345
- >>> from mindspore import ops
346
- >>> input = Tensor(np.array([7, 8, 9]), mindspore.int32)
347
- >>> vec2 = Tensor(np.array([7, 10, 11]), mindspore.int32)
348
- >>> out = ops.outer(input, vec2)
349
- >>> print(out)
350
- [[49 70 77]
351
- [56 80 88]
352
- [63 90 99]]
411
+ >>> x = Tensor(np.array([[-1.1, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
412
+ >>> output = ops.mish(x)
413
+ >>> print(output)
414
+ [[-3.0764845e-01 3.9974124e+00 -2.6832507e-03]
415
+ [ 1.9439589e+00 -3.3576239e-02 8.9999990e+00]]
353
416
  """
354
- return outer_impl(input, vec2)
417
+ return mish_impl(input)
355
418
 
356
419
 
357
- def elu(input, alpha=1.0):
420
+ def leaky_relu(input, negative_slope=0.01):
358
421
  r"""
359
- Exponential Linear Unit activation function.
422
+ leaky_relu activation function. The element of `input` less than 0 times `negative_slope` .
360
423
 
361
- Applies the exponential linear unit function element-wise.
362
424
  The activation function is defined as:
363
425
 
364
426
  .. math::
427
+ \text{leaky_relu}(input) = \begin{cases}input, &\text{if } input \geq 0; \cr
428
+ \text{negative_slope} * input, &\text{otherwise.}\end{cases}
365
429
 
366
- \text{ELU}(x)= \left\{
367
- \begin{array}{align}
368
- \alpha(e^{x} - 1) & \text{if } x \le 0\\
369
- x & \text{if } x \gt 0\\
370
- \end{array}\right.
430
+ where :math:`negative\_slope` represents the `negative_slope` parameter.
371
431
 
372
- Where :math:`x` is the element of input Tensor `input`, :math:`\alpha` is param `alpha`,
373
- it determines the smoothness of ELU.
432
+ For more details, see `Rectifier Nonlinearities Improve Neural Network Acoustic Models
433
+ <https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf>`_.
374
434
 
375
- ELU function graph:
435
+ LeakyReLU Activation Function Graph:
376
436
 
377
- .. image:: ../images/ELU.png
437
+ .. image:: ../images/LeakyReLU.png
378
438
  :align: center
379
439
 
380
440
  Args:
381
- input (Tensor): The input of ELU is a Tensor of any dimension.
382
- alpha (float, optional): The alpha value of ELU, the data type is float.
383
- Default: ``1.0`` .
441
+ input (Tensor): The input of leaky_relu is a Tensor of any dimension.
442
+ negative_slope (Union[int, float], optional): Slope of the activation function when the element of `input` is less than 0.
443
+ Default: ``0.01`` .
384
444
 
385
445
  Returns:
386
- Tensor, has the same shape and data type as `input`.
446
+ Tensor, has the same type and shape as the `input`.
387
447
 
388
448
  Raises:
389
- TypeError: If `alpha` is not a float.
449
+ TypeError: If `input` is not a Tensor.
450
+ TypeError: If `negative_slope` is not a float or an int.
390
451
 
391
452
  Supported Platforms:
392
453
  ``Ascend``
@@ -395,310 +456,296 @@ def elu(input, alpha=1.0):
395
456
  >>> import mindspore
396
457
  >>> import numpy as np
397
458
  >>> from mindspore import Tensor, ops
398
- >>> x = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
399
- >>> output = ops.auto_generate.elu_ext(x)
400
- >>> print(output)
401
- [[-0.63212055 4. -0.99966455]
402
- [ 2. -0.99326205 9. ]]
459
+ >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
460
+ >>> print(ops.extend.leaky_relu_ext(input, negative_slope=0.2))
461
+ [[-0.2 4. -1.6]
462
+ [ 2. -1. 9. ]]
403
463
  """
404
- return elu_impl(input, alpha)
464
+ return leaky_relu_impl(input, negative_slope)
405
465
 
406
466
 
407
- def logsumexp(input, dim, keepdim=False):
467
+ def stack(tensors, dim=0):
408
468
  r"""
409
- Computes the logarithm of the sum of exponentiations of all elements along the specified `dim` dimension of the `input` (with numerical stabilization), and retains the dimension based on the `keepdim` parameter.
410
-
411
- .. math::
469
+ Stacks a list of tensors in specified dim.
412
470
 
413
- logsumexp(input) = \log(\sum(e^{input-input_{max}})) + input_{max}
471
+ Stacks the list of input tensors with the same rank `R`, output is a tensor of rank `(R+1)`.
414
472
 
415
- .. warning::
416
- This is an experimental API that is subject to change or deletion.
473
+ Given input tensors of shape :math:`(x_1, x_2, ..., x_R)`. Set the number of input tensors as `N`.
474
+ If :math:`dim \ge 0`, the shape of the output tensor is
475
+ :math:`(x_1, x_2, ..., x_{dim}, N, x_{dim+1}, ..., x_R)`.
417
476
 
418
477
  Args:
419
- input (Tensor): Input Tensor.
420
- dim (Union[int, tuple(int), list(int)], optional): The dimension to be reduced (the value should be within `[0, len(input.shape) - 1]`), when the `dim` is `()`, all dimensions are reduced.
421
- keepdim (bool, optional): Whether the output tensor retains the dimension `dim`, default: `False`.
478
+ tensors (Union[tuple, list]): A Tuple or list of Tensor objects with the same shape and type.
479
+ dim (int, optional): Dimension to stack. The range is [-(R+1), R+1). Default: ``0`` .
422
480
 
423
481
  Returns:
424
- Tensor, the dtype changes according to the `input.dtype`, and the shape changes according to the values of `dim` and `keepdim`.
425
-
426
- - If `input.dtype` is in [float16, float32, bfloat16], the output dtype is the same as the `input.dtype`.
427
- - If `input.dtype` is an integer or boolean type, the output dtype is float32.
428
- - If `dim` is (), and `keepdim` is False, the output is a 0-D tensor representing the logarithm of the sum of exponentiations of all elements in the `input` tensor.
429
- - If `dim` is `1`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[2], ..., input.shape[n])`.
430
- - If `dim` is `(1, 2)`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[3], ..., input.shape[n])`.
482
+ Tensor. A stacked Tensor with the same type as `tensors`.
431
483
 
432
484
  Raises:
433
- TypeError: If `input` is not a Tensor.
434
- TypeError: If dtype of `input` is not one of: bool, int8, int16, int32, int64, uint8, float16, float32, bfloat16.
435
- TypeError: If `dim` is not an int or tuple(int) or list(list).
436
- TypeError: If `keepdim` is not a bool.
437
- ValueError: If the value of any elements of `dim` is not in the range `[0, len(input.shape) - 1]`.
438
- RuntimeError: If any element of `dim` is repeated.
485
+ TypeError: If the data types of elements in `tensors` are not the same.
486
+ ValueError: If `dim` is out of the range [-(R+1), R+1);
487
+ or if the shapes of elements in `tensors` are not the same.
439
488
 
440
489
  Supported Platforms:
441
490
  ``Ascend``
442
491
 
443
492
  Examples:
444
- >>> import numpy as np
493
+ >>> import mindspore
445
494
  >>> from mindspore import Tensor, ops
446
- >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
447
- >>> output = ops.auto_generate.logsumexp_ext(x, 1, keepdim=True)
448
- >>> print(output.shape)
449
- (3, 1, 5, 6)
495
+ >>> import numpy as np
496
+ >>> data1 = Tensor(np.array([0, 1]).astype(np.float32))
497
+ >>> data2 = Tensor(np.array([2, 3]).astype(np.float32))
498
+ >>> output = ops.auto_generate.stack_ext([data1, data2], 0)
499
+ >>> print(output)
500
+ [[0. 1.]
501
+ [2. 3.]]
450
502
  """
451
- return logsumexp_impl(input, dim, keepdim)
503
+ return stack_impl(tensors, dim)
452
504
 
453
505
 
454
- def selu(input):
506
+ def sum(input, dim=None, keepdim=False, dtype=None):
455
507
  r"""
456
- Activation function SELU (Scaled exponential Linear Unit).
457
-
458
- The activation function is defined as:
459
-
460
- .. math::
461
- E_{i} =
462
- scale *
463
- \begin{cases}
464
- x_{i}, &\text{if } x_{i} \geq 0; \cr
465
- \text{alpha} * (\exp(x_i) - 1), &\text{otherwise.}
466
- \end{cases}
467
-
468
- where :math:`alpha` and :math:`scale` are pre-defined constants(:math:`alpha=1.67326324`
469
- and :math:`scale=1.05070098`).
470
-
471
- See more details in `Self-Normalizing Neural Networks <https://arxiv.org/abs/1706.02515>`_.
472
-
473
- SELU Activation Function Graph:
508
+ Calculate sum of Tensor elements over a given dim.
474
509
 
475
- .. image:: ../images/SeLU.png
476
- :align: center
510
+ Note:
511
+ The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
477
512
 
478
513
  Args:
479
- input (Tensor): Tensor of any dimension.
480
- The data type is float16, float32, bfloat16.
514
+ input (Tensor): The input tensor.
515
+ dim (Union[None, int, tuple(int), list(int), Tensor]): Dimensions along which a sum is performed.
516
+ If ``None`` , sum all the elements of the input tensor.
517
+ If the `dim` is a tuple or list of ints, a sum is performed on all the dimensions specified in the tuple.
518
+ Must be in the range :math:`[-input.ndim, input.ndim)` . Default: ``None`` .
519
+ keepdim (bool): Whether the output tensor has `dim` retained or not.
520
+ If ``True`` , keep these reduced dimensions and the length is 1.
521
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
522
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
481
523
 
482
524
  Returns:
483
- Tensor, with the same type and shape as the `input`.
525
+ A Tensor, sum of elements over a given `dim` in `input`.
484
526
 
485
527
  Raises:
486
- TypeError: If dtype of `input` is not float16, float32, bfloat16.
528
+ TypeError: If `input` is not a Tensor.
529
+ TypeError: If `dim` is not an int, tulpe(int), list(int), Tensor or None.
530
+ ValueError: If `dim` is not in the range :math:`[-input.ndim, input.ndim)` .
531
+ TypeError: If `keepdim` is not a bool.
487
532
 
488
533
  Supported Platforms:
489
- ``Ascend``
534
+ ``Ascend`` ``GPU`` ``CPU``
490
535
 
491
536
  Examples:
492
537
  >>> import mindspore
493
- >>> from mindspore import Tensor, ops
494
538
  >>> import numpy as np
495
- >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
496
- >>> output = ops.auto_generate.selu_ext(input)
497
- >>> print(output)
498
- [[-1.1113307 4.202804 -1.7575096]
499
- [ 2.101402 -1.7462534 9.456309 ]]
539
+ >>> from mindspore import Tensor, ops
540
+ >>> from mindspore import dtype as mstype
541
+ >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
542
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
543
+ ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mstype.float32)
544
+ >>> out = ops.sum_ext(x)
545
+ >>> print(out)
546
+ 270.0
547
+ >>> out = ops.sum_ext(x, dim=2)
548
+ >>> print(out)
549
+ [[ 6. 12. 18.]
550
+ [24. 30. 36.]
551
+ [42. 48. 54.]]
552
+ >>> out = ops.sum_ext(x, dim=2, keepdim=True)
553
+ >>> print(out)
554
+ [[[ 6.]
555
+ [12.]
556
+ [18.]]
557
+ [[24.]
558
+ [30.]
559
+ [36.]]
560
+ [[42.]
561
+ [48.]
562
+ [54.]]]
500
563
  """
501
- return selu_impl(input)
564
+ return sum_impl(input, dim, keepdim, dtype)
502
565
 
503
566
 
504
- def log2(input):
567
+ def atan(input):
505
568
  r"""
506
- Returns the logarithm to the base 2 of a tensor element-wise.
569
+ Computes the trigonometric inverse tangent of the input element-wise.
507
570
 
508
571
  .. math::
509
- y_i = \log_2(x_i)
510
572
 
511
- .. warning::
512
- - If the input value of operator Log2 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
513
- may be affacted.
573
+ out_i = \tan^{-1}(input_i)
514
574
 
515
575
  Args:
516
- input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
576
+ input (Tensor): The shape of tensor is
577
+ :math:`(N,*)` where :math:`*` means, any number of additional dimensions.
517
578
 
518
579
  Returns:
519
- Tensor, has the same shape as the `input`. If `input.dtype` is of integer or boolean type, the output dtype
520
- will be float32. Otherwise, the output dtype will be the same as `input.dtype`.
580
+ Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
521
581
 
522
582
  Raises:
523
583
  TypeError: If `input` is not a Tensor.
524
584
 
525
585
  Supported Platforms:
526
- ``Ascend``
586
+ ``Ascend`` ``GPU`` ``CPU``
527
587
 
528
588
  Examples:
529
589
  >>> import mindspore
530
590
  >>> import numpy as np
531
591
  >>> from mindspore import Tensor, ops
532
- >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
533
- >>> output = ops.auto_generate.log2_ext(x)
592
+ >>> input = Tensor(np.array([1.0, 0.0]), mindspore.float32)
593
+ >>> output = ops.atan_ext(input)
534
594
  >>> print(output)
535
- [1.5849625 2.321928 2.807355 ]
595
+ [0.7853982 0. ]
536
596
  """
537
- return log2_impl(input)
597
+ return atan_impl(input)
538
598
 
539
599
 
540
- def add(input, other, alpha=1):
600
+ def logsumexp(input, dim, keepdim=False):
541
601
  r"""
542
- Adds scaled other value to input Tensor.
602
+ Computes the logarithm of the sum of exponentiations of all elements along the specified `dim` dimension of the `input` (with numerical stabilization), and retains the dimension based on the `keepdim` parameter.
543
603
 
544
604
  .. math::
545
605
 
546
- out_{i} = input_{i} + alpha \times other_{i}
606
+ logsumexp(input) = \log(\sum(e^{input-input_{max}})) + input_{max}
547
607
 
548
- Note:
549
- - When the two inputs have different shapes,
550
- they must be able to broadcast to a common shape.
551
- - The two inputs and alpha comply with the implicit type conversion rules to make the data types
552
- consistent.
608
+ .. warning::
609
+ This is an experimental API that is subject to change or deletion.
553
610
 
554
611
  Args:
555
- input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
556
- a bool or a tensor whose data type is
557
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
558
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
559
- other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
560
- a bool or a tensor whose data type is
561
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
562
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
563
- alpha (number.Number): A scaling factor applied to `other`, default 1.
612
+ input (Tensor): Input Tensor.
613
+ dim (Union[int, tuple(int), list(int)], optional): The dimension to be reduced (the value should be within `[0, len(input.shape) - 1]`), when the `dim` is `()`, all dimensions are reduced.
614
+ keepdim (bool, optional): Whether the output tensor retains the dimension `dim`, default: `False`.
564
615
 
565
616
  Returns:
566
- Tensor with a shape that is the same as the broadcasted shape of the input `input` and `other`,
567
- and the data type is the one with higher precision or higher digits among the two inputs and alpha.
617
+ Tensor, the dtype changes according to the `input.dtype`, and the shape changes according to the values of `dim` and `keepdim`.
618
+
619
+ - If `input.dtype` is in [float16, float32, bfloat16], the output dtype is the same as the `input.dtype`.
620
+ - If `input.dtype` is an integer or boolean type, the output dtype is float32.
621
+ - If `dim` is (), and `keepdim` is False, the output is a 0-D tensor representing the logarithm of the sum of exponentiations of all elements in the `input` tensor.
622
+ - If `dim` is `1`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[2], ..., input.shape[n])`.
623
+ - If `dim` is `(1, 2)`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[3], ..., input.shape[n])`.
568
624
 
569
625
  Raises:
570
- TypeError: If the type of `input`, `other`, or `alpha` is not one of the following: Tensor, number.Number, bool.
571
- TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
572
- TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
626
+ TypeError: If `input` is not a Tensor.
627
+ TypeError: If dtype of `input` is not one of: bool, int8, int16, int32, int64, uint8, float16, float32, bfloat16.
628
+ TypeError: If `dim` is not an int or tuple(int) or list(list).
629
+ TypeError: If `keepdim` is not a bool.
630
+ ValueError: If the value of any elements of `dim` is not in the range `[0, len(input.shape) - 1]`.
631
+ RuntimeError: If any element of `dim` is repeated.
573
632
 
574
633
  Supported Platforms:
575
- ``Ascend`` ``GPU`` ``CPU``
634
+ ``Ascend``
576
635
 
577
636
  Examples:
578
637
  >>> import numpy as np
579
- >>> import mindspore
580
- >>> from mindspore import Tensor
581
- >>> from mindspore import ops
582
- >>> x = Tensor(1, mindspore.int32)
583
- >>> y = Tensor(np.array([4, 5, 6]).astype(np.float32))
584
- >>> alpha = 0.5
585
- >>> output = ops.auto_generate.add_ext(x, y, alpha)
586
- >>> print(output)
587
- [3. 3.5 4.]
588
- >>> # the data type of x is int32, the data type of y is float32,
589
- >>> # alpha is a float, and the output is the data format of higher precision float32.
590
- >>> print(output.dtype)
591
- Float32
638
+ >>> from mindspore import Tensor, ops
639
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
640
+ >>> output = ops.auto_generate.logsumexp_ext(x, 1, keepdim=True)
641
+ >>> print(output.shape)
642
+ (3, 1, 5, 6)
592
643
  """
593
- return add_impl(input, other, alpha)
644
+ return logsumexp_impl(input, dim, keepdim)
594
645
 
595
646
 
596
- def stack(tensors, dim=0):
647
+ def frac(input):
597
648
  r"""
598
- Stacks a list of tensors in specified dim.
649
+ Calculates the fractional part of each element in the input.
599
650
 
600
- Stacks the list of input tensors with the same rank `R`, output is a tensor of rank `(R+1)`.
651
+ .. math::
652
+ out_i = input_i - \lfloor |input_i| \rfloor * sgn(input_i)
601
653
 
602
- Given input tensors of shape :math:`(x_1, x_2, ..., x_R)`. Set the number of input tensors as `N`.
603
- If :math:`dim \ge 0`, the shape of the output tensor is
604
- :math:`(x_1, x_2, ..., x_{dim}, N, x_{dim+1}, ..., x_R)`.
654
+ .. warning::
655
+ This is an experimental API that is subject to change or deletion.
605
656
 
606
657
  Args:
607
- tensors (Union[tuple, list]): A Tuple or list of Tensor objects with the same shape and type.
608
- dim (int, optional): Dimension to stack. The range is [-(R+1), R+1). Default: ``0`` .
658
+ input (Tensor): The input Tensor.
609
659
 
610
660
  Returns:
611
- Tensor. A stacked Tensor with the same type as `tensors`.
661
+ Tensor, has the same shape and type as input.
612
662
 
613
663
  Raises:
614
- TypeError: If the data types of elements in `tensors` are not the same.
615
- ValueError: If `dim` is out of the range [-(R+1), R+1);
616
- or if the shapes of elements in `tensors` are not the same.
664
+ TypeError: If `input` is not a Tensor.
617
665
 
618
666
  Supported Platforms:
619
667
  ``Ascend``
620
668
 
621
669
  Examples:
622
670
  >>> import mindspore
623
- >>> from mindspore import Tensor, ops
624
671
  >>> import numpy as np
625
- >>> data1 = Tensor(np.array([0, 1]).astype(np.float32))
626
- >>> data2 = Tensor(np.array([2, 3]).astype(np.float32))
627
- >>> output = ops.auto_generate.stack_ext([data1, data2], 0)
672
+ >>> from mindspore import Tensor, ops
673
+ >>> x = Tensor([2, 4.2, -2.5], mindspore.float16)
674
+ >>> output = ops.frac_ext(x)
628
675
  >>> print(output)
629
- [[0. 1.]
630
- [2. 3.]]
676
+ [ 0. 0.1992 -0.5 ]
631
677
  """
632
- return stack_impl(tensors, dim)
678
+ return frac_impl(input)
633
679
 
634
680
 
635
- def bmm(input, mat2):
681
+ def log_softmax(input, dim=None, dtype=None):
636
682
  r"""
637
- Performs batch matrix-matrix multiplication of two three-dimensional tensors.
683
+ Applies the Log Softmax function to the input tensor on the specified axis.
684
+ Supposes a slice in the given axis, :math:`x` for each element :math:`x_i`,
685
+ the Log Softmax function is shown as follows:
638
686
 
639
687
  .. math::
640
- \text{output}= \text{input} @ \text{mat2}
688
+ \text{output}(x_i) = \log \left(\frac{\exp(x_i)} {\sum_{j = 0}^{N-1}\exp(x_j)}\right),
689
+
690
+ where :math:`N` is the length of the Tensor.
641
691
 
642
692
  Args:
643
- input (Tensor): The first batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, n, m)`.
644
- mat2 (Tensor): The second batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, m, p)`.
693
+ input (Tensor): The input Tensor.
694
+ dim (int, optional): The axis to perform the Log softmax operation. Default: ``None`` .
695
+
696
+ Keyword Args:
697
+ dtype (:class:`mindspore.dtype`, optional): The desired dtype of returned Tensor. If not set to None, the input
698
+ Tensor will be cast to `dtype` before the operation is performed. This is useful for preventing overflows.
699
+ If set to None, stay the same as original Tensor. Default: ``None`` . Supported data type is {float16, float32, double, bfloat16}.
645
700
 
646
701
  Returns:
647
- Tensor, the output tensor of shape `(b, n, p)`, where each matrix is the product of the corresponding matrices in the input batches.
702
+ Tensor, with the same shape as the input.
648
703
 
649
704
  Raises:
650
- ValueError: If `input` or `mat2` is not three-dimensional tensors.
651
- ValueError: If the length of the third dimension of `input` is not equal to the length of the second dimension of `mat2`.
652
- ValueError: If the batch size of the inputs is not equal to the batch size of the mat2.
705
+ TypeError: If `dim` is not an int.
706
+ ValueError: If `dim` is not in range [-len(input.shape), len(input.shape)).
653
707
 
654
708
  Supported Platforms:
655
- ``Ascend`` ``GPU`` ``CPU``
709
+ ``Ascend``
656
710
 
657
711
  Examples:
658
712
  >>> import mindspore
659
713
  >>> import numpy as np
660
- >>> from mindspore import Tensor
661
- >>> from mindspore import ops
662
- >>> a = Tensor(np.ones(shape=[2, 3, 4]), mindspore.float32)
663
- >>> b = Tensor(np.ones(shape=[2, 4, 5]), mindspore.float32)
664
- >>> output = ops.auto_generate.bmm_ext(a, b)
714
+ >>> from mindspore import Tensor, ops
715
+ >>> logits = Tensor(np.array([1, 2, 3, 4, 5]), mindspore.float32)
716
+ >>> output = ops.auto_generate.log_softmax(logits, dim=-1)
665
717
  >>> print(output)
666
- [[[4. 4. 4. 4. 4.]
667
- [4. 4. 4. 4. 4.]
668
- [4. 4. 4. 4. 4.]]
669
- [[4. 4. 4. 4. 4.]
670
- [4. 4. 4. 4. 4.]
671
- [4. 4. 4. 4. 4.]]]
718
+ [-4.4519143 -3.4519143 -2.4519143 -1.4519144 -0.4519144]
672
719
  """
673
- return bmm_impl(input, mat2)
720
+ return log_softmax_impl(input, dim, dtype)
674
721
 
675
722
 
676
- def mse_loss(input, target, reduction='mean'):
723
+ def atan2(input, other):
677
724
  r"""
678
- Calculates the mean squared error between the predicted value and the label value.
725
+ Returns arctangent of input/other element-wise.
679
726
 
680
- For detailed information, please refer to :class:`mindspore.nn.MSELoss`.
727
+ It returns :math:`\theta\ \in\ [-\pi, \pi]`
728
+ such that :math:`input = r*\sin(\theta), other = r*\cos(\theta)`, where :math:`r = \sqrt{input^2 + other^2}`.
729
+
730
+ Note:
731
+ - Arg `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
732
+ If they have different data types, the lower precision data type will be converted to relatively the
733
+ highest precision data type.
681
734
 
682
735
  Args:
683
- input (Tensor): Tensor of any dimension. The data type needs to be consistent with the `target`.
684
- It should also be broadcastable with the `target`.
685
- target (Tensor): The input label. Tensor of any dimension. The data type needs to be consistent with the `input`.
686
- It should also be broadcastable with the `input`.
687
- reduction (str, optional): Apply specific reduction method to the output: ``'mean'`` , ``'none'`` ,
688
- ``'sum'`` . Default: ``'mean'`` .
689
-
690
- - ``'none'``: no reduction will be applied.
691
- - ``'mean'``: compute and return the mean of elements in the output.
692
- - ``'sum'``: the output elements will be summed.
736
+ input (Tensor, Number.number): The input tensor or scalar.
737
+ other (Tensor, Number.number): The input tensor or scalar. It has the same shape with `input` or
738
+ its shape is able to broadcast with `input`.
693
739
 
694
740
  Returns:
695
- - Tensor. If `reduction` is ``'mean'`` or ``'sum'``, the shape of output is `Tensor Scalar`.
696
- - If reduction is ``'none'``, the shape of output is the broadcasted shape of **input** and **target** .
741
+ Tensor, the shape is the same as the one after broadcasting.
742
+ The dtype of output is float32 when dtype of `input` is in
743
+ [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
697
744
 
698
745
  Raises:
699
- ValueError: If `reduction` is not one of ``'mean'`` , ``'sum'`` or ``'none'``.
700
- ValueError: If `input` and `target` are not broadcastable.
701
- TypeError: If `input` and `target` are in different data type.
746
+ TypeError: If `input` or `other` is not a Tensor or scalar.
747
+ RuntimeError: If the data type of `input` and `other` conversion of Parameter is required
748
+ when data type conversion of Parameter is not supported.
702
749
 
703
750
  Supported Platforms:
704
751
  ``Ascend``
@@ -707,84 +754,93 @@ def mse_loss(input, target, reduction='mean'):
707
754
  >>> import mindspore
708
755
  >>> import numpy as np
709
756
  >>> from mindspore import Tensor, ops
710
- >>> logits = Tensor(np.array([1, 2, 3]), mindspore.float32)
711
- >>> labels = Tensor(np.array([[1, 1, 1], [1, 2, 2]]), mindspore.float32)
712
- >>> output = ops.mse_loss_ext(logits, labels, reduction='none')
757
+ >>> input = Tensor(np.array([0, 1]), mindspore.float32)
758
+ >>> other = Tensor(np.array([1, 1]), mindspore.float32)
759
+ >>> output = ops.auto_generate.atan2_ext(input, other)
713
760
  >>> print(output)
714
- [[0. 1. 4.]
715
- [0. 0. 1.]]
761
+ [0. 0.7853982]
716
762
  """
717
- return mse_loss_impl(input, target, converted_reduction)
763
+ return atan2_impl(input, other)
718
764
 
719
765
 
720
- def argmin(input, dim=None, keepdim=False):
766
+ def mm(input, mat2):
721
767
  r"""
722
- Return the indices of the minimum values of a tensor across a dimension.
768
+ Returns the matrix product of two arrays.
769
+ If `input` is a :math:`(n \times m)` Tensor, `mat2` is a
770
+ :math:`(m \times p)` Tensor, `out` will be a :math:`(n \times p)` Tensor.
771
+
772
+ Note:
773
+ This function cannot support broadcasting.
774
+ Refer to :func:`mindspore.ops.matmul` instead if you need a broadcastable function.
775
+
776
+ .. warning::
777
+ This is an experimental API that is subject to change or deletion.
723
778
 
724
779
  Args:
725
- input (Tensor): Input tensor.
726
- dim (Union[int, None], optional): Specify the axis for calculation. If `dim` is ``None`` , the indices of the minimum
727
- value within the flattened input will be returned. Default: ``None`` .
728
- keepdim (bool, optional): Whether the output tensor retains the specified
729
- dimension. Ignored if `dim` is None. Default: ``False`` .
780
+ input (Tensor): The first matrix of matrix multiplication.
781
+ The last dimension of `input` must be the same size as the first dimension of `mat2`.
782
+ mat2 (Tensor): The second matrix of matrix multiplication.
783
+ The last dimension of `input` must be the same size as the first dimension of `mat2`.
730
784
 
731
785
  Returns:
732
- Tensor, indices of the minimum values of the input tensor across a dimension.
786
+ Tensor, the matrix product of the inputs.
733
787
 
734
788
  Raises:
735
- TypeError: If `keepdim` is not bool.
736
- ValueError: If `dim` is out of range.
789
+ ValueError: If the last dimension of `input` is not the same size as the
790
+ second-to-last dimension of `mat2`.
791
+ TypeError: If `input` or `mat2` is not a Tensor.
792
+ TypeError: If dtype of `input` or `mat2` is not float16, float32 or bfloat16.
737
793
 
738
794
  Supported Platforms:
739
795
  ``Ascend``
740
796
 
741
797
  Examples:
742
- >>> import numpy as np
743
- >>> from mindspore import Tensor
798
+ >>> import mindspore as ms
744
799
  >>> from mindspore import ops
745
- >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
746
- >>> output = ops.auto_generate.argmin_ext(x, dim=-1)
747
- >>> print(output)
748
- [0 1 2]
749
- """
750
- return argmin_impl(input, dim, keepdim)
751
-
752
-
753
- def tril(input, diagonal=0):
754
- r"""
755
- None
800
+ >>> import numpy as np
801
+ >>> x1 = ms.Tensor(np.random.rand(2, 3), ms.float32)
802
+ >>> x2 = ms.Tensor(np.random.rand(3, 4), ms.float32)
803
+ >>> out = ops.mm_ext(x1, x2)
804
+ >>> print(out.shape)
805
+ (2, 4)
756
806
  """
757
- return tril_impl(input, diagonal)
807
+ return mm_impl(input, mat2)
758
808
 
759
809
 
760
- def prod(input, dim=None, keepdim=False, dtype=None):
810
+ def avg_pool1d(input, kernel_size, stride=None, padding=0, ceil_mode=False, count_include_pad=True):
761
811
  r"""
762
- Reduces a dimension of a tensor by multiplying all elements in the dimension, by default. And also can
763
- reduce a dimension of `input` along the `dim`. Determine whether the dimensions of the output and input are the
764
- same by controlling `keepdim`.
812
+ Applies a 1D average pooling over an input Tensor which can be regarded as a composition of 1D input planes.
813
+
814
+ Typically the input is of shape :math:`(N_{in}, C_{in}, L_{in})`, avg_pool1d outputs regional average in the
815
+ :math:`(L_{in})`-dimension. Given kernel size as :math:`ks = l_{ker}` and `stride` as :math:`s = s_0`, the
816
+ operation is as follows.
817
+
818
+ .. math::
819
+ \text{output}(N_i, C_j, l) = \frac{1}{l_{ker}} \sum_{n=0}^{l_{ker}-1}
820
+ \text{input}(N_i, C_j, s_0 \times l + n)
821
+
822
+ .. warning::
823
+ This is an experimental API that is subject to change or deletion.
765
824
 
766
825
  Args:
767
- input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
768
- :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
769
- dim (int): The dimensions to reduce. Default: ``None`` , reduce all dimensions.
770
- Only constant value is allowed. Assume the rank of `input` is r, and the value range is [-r,r).
771
- keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
772
- If ``False`` , don't keep these dimensions. Default: ``False`` .
773
- dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
826
+ input (Tensor): Tensor of shape :math:`(N, C_{in}, L_{in})`.
827
+ kernel_size (Union(int, tuple[int])): The size of kernel window used to take the average value.
828
+ stride (Union(int, tuple[int]), optional): The distance of kernel moving. `stride` can either be an int
829
+ number or a tuple of one int number. Default: ``None``, the same value as `kernel_size`.
830
+ padding (Union(int, tuple[int]), optional): The pad length to be filled. `padding` can either be an integer
831
+ or a tuple of one integer. Default: ``0`` .
832
+ ceil_mode (bool, optional): If True, apply ceil instead of floor to compute the output shape. Default: ``False``.
833
+ count_include_pad (bool, optional): If True, include the zero-padding in the averaging calculation. Default: ``True`` .
774
834
 
775
835
  Returns:
776
- Tensor, has the same data type as input tensor.
777
-
778
- - If `dim` is ``None`` , and `keepdim` is ``False`` ,
779
- the output is a 0-D tensor representing the product of all elements in the input tensor.
780
- - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
781
- the shape of output is :math:`(input_0, input_2, ..., input_R)`.
836
+ Tensor of shape :math:`(N, C_{in}, L_{out})`.
782
837
 
783
838
  Raises:
784
839
  TypeError: If `input` is not a Tensor.
785
- TypeError: If `dim` is not one of the following: int or None.
786
- TypeError: If `keepdim` is not a bool.
787
- ValueError: If `dim` is out of range.
840
+ TypeError: If `kernel_size` or `stride` is not an int.
841
+ TypeError: If `ceil_mode` or `count_include_pad` is not a bool.
842
+ ValueError: If `kernel_size` or `stride` is less than `1`.
843
+ ValueError: If `kernel_size` or `stride` or `padding` is not int nor a tuple whose length is greater than `1`.
788
844
 
789
845
  Supported Platforms:
790
846
  ``Ascend`` ``GPU`` ``CPU``
@@ -793,239 +849,232 @@ def prod(input, dim=None, keepdim=False, dtype=None):
793
849
  >>> import mindspore
794
850
  >>> import numpy as np
795
851
  >>> from mindspore import Tensor, ops
796
- >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
797
- >>> output = ops.prod_ext(x, 1, keepdim=True)
798
- >>> result = output.shape
799
- >>> print(result)
800
- (3, 1, 5, 6)
801
- >>> # case 1: Reduces a dimension by multiplying all elements in the dimension.
802
- >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
803
- ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
804
- ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mindspore.float32)
805
- >>> output = ops.prod_ext(x)
806
- >>> print(output)
807
- 2.2833798e+33
852
+ >>> input_x = Tensor(np.random.randint(0, 10, [1, 3, 6]), mindspore.float32)
853
+ >>> output = ops.auto_generate.avg_pool1d_ext(input_x, kernel_size=6, stride=1)
808
854
  >>> print(output.shape)
809
- ()
810
- >>> # case 2: Reduces a dimension along dim 0.
811
- >>> output = ops.prod_ext(x, 0, True)
812
- >>> print(output)
813
- [[[ 28. 28. 28. 28. 28. 28.]
814
- [ 80. 80. 80. 80. 80. 80.]
815
- [162. 162. 162. 162. 162. 162.]]]
816
- >>> # case 3: Reduces a dimension along dim 1.
817
- >>> output = ops.prod_ext(x, 1, True)
818
- >>> print(output)
819
- [[[ 6. 6. 6. 6. 6. 6.]]
820
- [[120. 120. 120. 120. 120. 120.]]
821
- [[504. 504. 504. 504. 504. 504.]]]
822
- >>> # case 4: Reduces a dimension along dim 2.
823
- >>> output = ops.prod_ext(x, 2, True)
824
- >>> print(output)
825
- [[[1.00000e+00]
826
- [6.40000e+01]
827
- [7.29000e+02]]
828
- [[4.09600e+03]
829
- [1.56250e+04]
830
- [4.66560e+04]]
831
- [[1.17649e+05]
832
- [2.62144e+05]
833
- [5.31441e+05]]]
855
+ (1, 3, 1)
834
856
  """
835
- return prod_impl(input, dim, keepdim, dtype)
857
+ return avg_pool1d_impl(input, kernel_size, stride, padding, ceil_mode, count_include_pad)
836
858
 
837
859
 
838
- def logaddexp(input, other):
860
+ def unfold(input, kernel_size, dilation=1, padding=0, stride=1):
839
861
  r"""
840
- Computes the logarithm of the sum of exponentiations of the inputs.
841
- This function is useful in statistics where the calculated probabilities of events may be
842
- so small as to exceed the range of normal floating point numbers.
862
+ Extracts sliding local blocks from a batched input tensor.
863
+
864
+ Consider a batched input tensor of shape :math:`(N, C, *)`,
865
+ where :math:`N` is the batch dimension, :math:`C` is the channel dimension,
866
+ and :math:`*` represent arbitrary spatial dimensions. This operation flattens
867
+ each sliding `Kernel_size`- sized block within the spatial dimensions
868
+ of `input` into a column (i.e., last dimension) of a 3-D output
869
+ tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)`, where
870
+ :math:`C \times \prod(\text{kernel_size})` is the total number of values
871
+ within each block (a block has :math:`\prod(\text{kernel_size})` spatial
872
+ locations each containing a `C`-channeled vector), and :math:`L` is
873
+ the total number of such blocks:
843
874
 
844
875
  .. math::
876
+ L = \prod_d \left\lfloor\frac{\text{spatial_size}[d] + 2 \times \text{padding}[d] %
877
+ - \text{dilation}[d] \times (\text{kernel_size}[d] - 1) - 1}{\text{stride}[d]} + 1\right\rfloor,
845
878
 
846
- out_i = \log(exp(input_i) + \exp(other_i))
879
+ where :math:`\text{spatial_size}` is formed by the spatial dimensions
880
+ of `input` (:math:`*` above), and :math:`d` is over all spatial
881
+ dimensions.
882
+
883
+ Therefore, indexing `output` at the last dimension (column dimension)
884
+ gives all values within a certain block.
885
+
886
+ The `dilation`, `padding` and `stride` arguments specify
887
+ how the sliding blocks are retrieved.
847
888
 
848
889
  .. warning::
849
- This is an experimental API that is subject to change or deletion.
890
+ - Currently, batched(4D) image-like tensors are supported.
891
+ - For Ascend, it is only supported on platforms above Atlas A2.
850
892
 
851
893
  Args:
852
- input (Tensor): Input Tensor. The dtype of `input` must be float.
853
- other (Tensor): Input Tensor. The dtype of `other` must be float.
854
- If the shape of `input` is not equal to the shape of `other`,
855
- they must be broadcastable to a common shape.
894
+ input (Tensor): 4-D Tensor.
895
+ kernel_size (Union[int, tuple[int], list[int]]): The size of the kernel, should be two int
896
+ for height and width. If type is int, it means that height equal with width. Must be specified.
897
+ dilation (Union[int, tuple[int], list[int]], optional): The dilation of the window, should be two int
898
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
899
+ padding (Union[int, tuple[int], list[int]], optional): The pad of the window, should be two int
900
+ for height and width. If type is int, it means that height equal with width. Default: ``0`` .
901
+ stride (Union[int, tuple[int], list[int]], optional): The stride of the window, should be two int
902
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
856
903
 
857
904
  Returns:
858
- Tensor, with the same dtype as `input` and `other`.
905
+ A Tensor, with same type as `input` .
906
+
907
+ Shape:
908
+ - Input: :math:`(N, C, *)`
909
+ - Output: :math:`(N, C \times \prod(\text{kernel_size}), L)`
859
910
 
860
911
  Raises:
861
- TypeError: If `input` or `other` is not a Tensor.
862
- TypeError: The dtype of `input` or `other` is not float.
912
+ TypeError: If any data type of `kernel_size`, `stride`, `dilation`, `padding` is not int, tuple or list.
913
+ ValueError: If `kernel_size`, `dilation`, `stride` value is not
914
+ greater than zero or elements number more than `2`.
915
+ ValueError: If `padding` value is less than zero.
863
916
 
864
917
  Supported Platforms:
865
918
  ``Ascend``
866
919
 
867
920
  Examples:
921
+ >>> import mindspore
868
922
  >>> import numpy as np
869
923
  >>> from mindspore import Tensor, ops
870
- >>> x1 = Tensor(np.array([1, 2, 3]).astype(np.float16))
871
- >>> x2 = Tensor(np.array(2).astype(np.float16))
872
- >>> output = ops.logaddexp_ext(x1, x2)
873
- >>> print(output)
874
- [2.312 2.693 3.312]
875
- """
876
- return logaddexp_impl(input, other)
877
-
878
-
879
- def sub_tensor_(input, other, alpha=1):
880
- r"""
881
- None
924
+ >>> x = Tensor(np.random.rand(4, 4, 32, 32), mindspore.float32)
925
+ >>> output = ops.auto_generate.unfold_ext(x, kernel_size=3, dilation=1, stride=1)
926
+ >>> print(output.shape)
927
+ (4, 36, 900)
882
928
  """
883
- return sub_tensor_impl(input, other, alpha)
929
+ return unfold_impl(input, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
884
930
 
885
931
 
886
- def l1_loss(input, target, reduction='mean'):
932
+ def mean(input, dim=None, keepdim=False, dtype=None):
887
933
  r"""
888
- Calculate the mean absolute error between the `input` value and the `target` value.
934
+ Reduces all dimension of a tensor by averaging all elements in the dimension, by default.
935
+ And reduce a dimension of `input` along the specified `dim`. `keepdim`
936
+ determines whether the dimensions of the output and input are the same.
889
937
 
890
- Assuming that the :math:`x` and :math:`y` are the predicted value and target value,
891
- both are one-dimensional tensors of length :math:`N`, length :math:`N`, `reduction` is set to ``'none'`` ,
892
- then calculate the loss of :math:`x` and :math:`y` without dimensionality reduction.
893
-
894
- The formula is as follows:
895
-
896
- .. math::
897
- \ell(x, y) = L = \{l_1,\dots,l_N\}^\top, \quad \text{with } l_n = \left| x_n - y_n \right|,
898
-
899
- where :math:`N` is the batch size.
900
-
901
- If `reduction` is ``'mean'`` or ``'sum'`` , then:
902
-
903
- .. math::
904
- \ell(x, y) =
905
- \begin{cases}
906
- \operatorname{mean}(L), & \text{if reduction} = \text{'mean';}\\
907
- \operatorname{sum}(L), & \text{if reduction} = \text{'sum'.}
908
- \end{cases}
938
+ Note:
939
+ The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
909
940
 
910
941
  Args:
911
- input (Tensor): Predicted value, Tensor of any dimension.
912
- target (Tensor): Target value, usually has the same shape as the `input`.
913
- If `input` and `target` have different shapes, make sure they can broadcast to each other.
914
- reduction (str, optional): Apply specific reduction method to the output: ``'none'`` , ``'mean'`` ,
915
- ``'sum'`` . Default: ``'mean'`` .
916
-
917
- - ``'none'``: no reduction will be applied.
918
- - ``'mean'``: compute and return the mean of elements in the output. Notice: At least one of the input and target is float type when the reduction is ``'mean'`` .
919
- - ``'sum'``: the output elements will be summed.
942
+ input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
943
+ :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
944
+ dim (Union[int, tuple(int), list(int), Tensor]): The dimensions to reduce. Default: ``None`` ,
945
+ reduce all dimensions. Only constant value is allowed. Assume the rank of `input` is r,
946
+ and the value range is [-r,r).
947
+ keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
948
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
949
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
920
950
 
921
951
  Returns:
922
- Tensor or Scalar, if `reduction` is ``'none'`` , return a Tensor with same shape and dtype as `input`.
923
- Otherwise, a scalar value will be returned.
952
+ Tensor, has the same data type as input tensor.
953
+
954
+ - If `dim` is ``None`` , and `keepdim` is ``False`` ,
955
+ the output is a 0-D tensor representing the product of all elements in the input tensor.
956
+ - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
957
+ the shape of output is :math:`(x_0, x_2, ..., x_R)`.
958
+ - If `dim` is tuple(int), set as (1, 2), and `keepdim` is ``False`` ,
959
+ the shape of output is :math:`(x_0, x_3, ..., x_R)`.
960
+ - If `dim` is 1-D Tensor, set as [1, 2], and `keepdim` is ``False`` ,
961
+ the shape of output is :math:`(x_0, x_3, ..., x_R)`.
924
962
 
925
963
  Raises:
926
- TypeError: If `input` is not a Tensor.
927
- TypeError: If `target` is not a Tensor.
928
- ValueError: If `reduction` is not one of ``'none'`` , ``'mean'`` or ``'sum'`` .
964
+ TypeError: If `x` is not a Tensor.
965
+ TypeError: If `dim` is not one of the following: int, tuple, list or Tensor.
966
+ TypeError: If `keepdim` is not a bool.
967
+ ValueError: If `dim` is out of range.
929
968
 
930
969
  Supported Platforms:
931
- ``Ascend``
970
+ ``Ascend`` ``GPU`` ``CPU``
932
971
 
933
972
  Examples:
973
+ >>> import mindspore
974
+ >>> import numpy as np
934
975
  >>> from mindspore import Tensor, ops
935
- >>> from mindspore import dtype as mstype
936
- >>> x = Tensor([[1, 2, 3], [4, 5, 6]], mstype.float32)
937
- >>> target = Tensor([[6, 5, 4], [3, 2, 1]], mstype.float32)
938
- >>> output = ops.l1_loss_ext(x, target, reduction="mean")
976
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
977
+ >>> output = ops.mean_ext(x, 1, keepdim=True)
978
+ >>> result = output.shape
979
+ >>> print(result)
980
+ (3, 1, 5, 6)
981
+ >>> # case 1: Reduces a dimension by averaging all elements in the dimension.
982
+ >>> x = Tensor(np.array([[[2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2]],
983
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
984
+ ... [[6, 6, 6, 6, 6, 6], [8, 8, 8, 8, 8, 8], [10, 10, 10, 10, 10, 10]]]),
985
+ ... mindspore.float32)
986
+ >>> output = ops.mean_ext(x)
939
987
  >>> print(output)
940
- 3.0
988
+ 5.0
989
+ >>> print(output.shape)
990
+ ()
991
+ >>> # case 2: Reduces a dimension along the dim 0
992
+ >>> output = ops.mean_ext(x, 0, True)
993
+ >>> print(output)
994
+ [[[4. 4. 4. 4. 4. 4.]
995
+ [5. 5. 5. 5. 5. 5.]
996
+ [6. 6. 6. 6. 6. 6.]]]
997
+ >>> # case 3: Reduces a dimension along the dim 1
998
+ >>> output = ops.mean_ext(x, 1, True)
999
+ >>> print(output)
1000
+ [[[2. 2. 2. 2. 2. 2.]]
1001
+ [[5. 5. 5. 5. 5. 5.]]
1002
+ [[8. 8. 8. 8. 8. 8.]]]
1003
+ >>> # case 4: Reduces a dimension along the dim 2
1004
+ >>> output = ops.mean_ext(x, 2, True)
1005
+ >>> print(output)
1006
+ [[[ 2.]
1007
+ [ 2.]
1008
+ [ 2.]]
1009
+ [[ 4.]
1010
+ [ 5.]
1011
+ [ 6.]]
1012
+ [[ 6.]
1013
+ [ 8.]
1014
+ [10.]]]
941
1015
  """
942
- return l1_loss_impl(input, target, converted_reduction)
1016
+ return mean_impl(input, dim, keepdim, dtype)
943
1017
 
944
1018
 
945
- def fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1):
1019
+ def cummin(input, dim):
946
1020
  r"""
947
- Combines an array of sliding local blocks into a large containing tensor.
948
-
949
- Consider a batched input tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)` ,
950
- where :math:`N` is the batch dimension, :math:`C \times \prod(\text{kernel_size})` is the
951
- total number of values within each block (a block has :math:`\prod(\text{kernel_size})` spatial
952
- locations each containing a `C`-channeled vector), and :math:`L` is the total number of such blocks:
1021
+ Returns a tuple (values, indices) where `values` is the cumulative minimum value of input Tensor `input`
1022
+ along the dimension `dim`, and `indices` is the index location of each minimum value.
953
1023
 
954
1024
  .. math::
955
- L = \prod_d \left\lfloor\frac{\text{output_size}[d] + 2 \times \text{padding}[d] %
956
- - \text{dilation}[d] \times (\text{kernel_size}[d] - 1) - 1}{\text{stride}[d]} + 1\right\rfloor,
957
-
958
- where :math:`d` is over all spatial dimensions.
959
-
960
- Therefore, `output_size` is the spatial shape of the large containing tensor of the sliding local blocks.
961
-
962
- The `dilation`, `padding` and `stride` arguments specify how the sliding blocks are retrieved.
1025
+ \begin{array}{ll} \\
1026
+ y_{i} = \min(x_{1}, x_{2}, ... , x_{i})
1027
+ \end{array}
963
1028
 
964
- .. warning::
965
- Currently, only unbatched(3D) or batched(4D) image-like output tensors are supported.
1029
+ .. note::
1030
+ GE backend is not supported in Ascend.
966
1031
 
967
1032
  Args:
968
- input (Tensor): 2-D or 3-D Tensor.
969
- output_size (Union[int, tuple[int], list[int]]): The shape of the spatial dimensions of
970
- the output(i.e., output.shape[2:]).
971
- kernel_size (Union[int, tuple[int], list[int]]): The size of the kernel, should be two int
972
- for height and width. If type is int, it means that height equal with width. Must be specified.
973
- dilation (Union[int, tuple[int], list[int]], optional): The size of the dilation, should be two int
974
- for height and width. If type is int, it means that height equal with width. Default: ``1`` .
975
- padding (Union[int, tuple[int], list[int]], optional): The size of the padding, should be two int
976
- for height and width. If type is int, it means that height equal with width. Default: ``0`` .
977
- stride (Union[int, tuple[int], list[int]], optional): The size of the stride, should be two int
978
- for height and width. If type is int, it means that height equal with width. Default: ``1`` .
1033
+ input (Tensor): The input Tensor, The dimension must be greater than 0.
1034
+ dim (int): Operation dimension. The value of `dim` must be in the range `[-input.ndim, input.ndim - 1]`.
979
1035
 
980
1036
  Returns:
981
- A Tensor, with same type as `input` .
982
-
983
- Shape:
984
- - Input: :math:`(N, C \times \prod(\text{kernel_size}), L)` or
985
- :math:`(C \times \prod(\text{kernel_size}), L)`
986
- - Output: :math:`(N, C, output\_size[0], output\_size[1], ...)` or
987
- :math:`(C, output\_size[0], output\_size[1], ...)`
1037
+ tuple [Tensor], tuple of 2 Tensors, containing the cumulative minimum of elements and the index.
1038
+ The shape of each output tensor is the same as that of input `input`.
988
1039
 
989
1040
  Raises:
990
- TypeError: If `output_size`, `kernel_size`, `stride`, `dilation`, `padding` data type is not int, tuple or list.
991
- ValueError: If `output_size`, `kernel_size`, `dilation`, `stride` value is not
992
- greater than zero or elements number invalid.
993
- ValueError: If `padding` value is less than zero or elements number invalid.
994
- ValueError: If input.shape[-2] can't be divisible by the product of kernel_size.
995
- ValueError: If `input.shape[-1]` is not equal to the calculated number of sliding blocks `L`.
1041
+ TypeError: If `input` is not a Tensor.
1042
+ TypeError: If `input` is a Tensor, but the type is complex or bool.
1043
+ TypeError: If `dim` is not an int.
1044
+ ValueError: If `dim` is out the range of `[-input.ndim, input.ndim - 1]`.
996
1045
 
997
1046
  Supported Platforms:
998
1047
  ``Ascend``
999
1048
 
1000
1049
  Examples:
1001
- >>> import numpy as np
1002
1050
  >>> from mindspore import Tensor, ops
1003
- >>> x = Tensor(np.random.rand(16, 64, 25).astype(np.float32))
1004
- >>> output = ops.auto_generate.fold_ext(x, (8, 8), [2, 2], [2, 2], [2, 2], [2, 2])
1005
- >>> print(output.shape)
1006
- (16, 16, 8, 8)
1051
+ >>> import mindspore
1052
+ >>> a = Tensor([-0.2284, -0.6628, 0.0975, 0.2680, -1.3298, -0.4220], mindspore.float32)
1053
+ >>> output = ops.cummin_ext(a, dim=0)
1054
+ >>> print(output[0])
1055
+ [-0.2284 -0.6628 -0.6628 -0.6628 -1.3298 -1.3298]
1056
+ >>> print(output[1])
1057
+ [0 1 1 1 4 4]
1007
1058
  """
1008
- return fold_impl(input, converted_output_size, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
1059
+ return cummin_impl(input, dim)
1009
1060
 
1010
1061
 
1011
- def flatten(input, start_dim=0, end_dim=-1):
1062
+ def asinh(input):
1012
1063
  r"""
1013
- Flatten a tensor along dimensions from `start_dim` to `end_dim`.
1064
+ Computes inverse hyperbolic sine of the input element-wise.
1065
+
1066
+ .. math::
1067
+
1068
+ out_i = \sinh^{-1}(input_i)
1014
1069
 
1015
1070
  Args:
1016
- input (Tensor): The input Tensor.
1017
- start_dim (int, optional): The first dimension to flatten. Default: ``0`` .
1018
- end_dim (int, optional): The last dimension to flatten. Default: ``-1`` .
1071
+ input (Tensor): The input tensor of inverse hyperbolic sine function.
1019
1072
 
1020
1073
  Returns:
1021
- Tensor. If no dimensions are flattened, returns the original `input`, otherwise return the flattened Tensor.
1022
- If `input` is a 0-dimensional Tensor, a 1-dimensional Tensor will be returned.
1074
+ Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
1023
1075
 
1024
1076
  Raises:
1025
1077
  TypeError: If `input` is not a Tensor.
1026
- TypeError: If `start_dim` or `end_dim` is not int.
1027
- ValueError: If `start_dim` is greater than `end_dim` after canonicalized.
1028
- ValueError: If `start_dim` or `end_dim` is not in range of [-input.dim, input.dim-1].
1029
1078
 
1030
1079
  Supported Platforms:
1031
1080
  ``Ascend`` ``GPU`` ``CPU``
@@ -1034,211 +1083,279 @@ def flatten(input, start_dim=0, end_dim=-1):
1034
1083
  >>> import mindspore
1035
1084
  >>> import numpy as np
1036
1085
  >>> from mindspore import Tensor, ops
1037
- >>> input_x = Tensor(np.ones(shape=[1, 2, 3, 4]), mindspore.float32)
1038
- >>> output = ops.auto_generate.flatten_ext(input_x)
1039
- >>> print(output.shape)
1040
- (24,)
1086
+ >>> input = Tensor(np.array([-5.0, 1.5, 3.0, 100.0]), mindspore.float32)
1087
+ >>> output = ops.asinh_ext(input)
1088
+ >>> print(output)
1089
+ [-2.3124385 1.1947632 1.8184465 5.298342 ]
1041
1090
  """
1042
- return flatten_impl(input, start_dim, end_dim)
1091
+ return asinh_impl(input)
1043
1092
 
1044
1093
 
1045
- def index_select(input, dim, index):
1094
+ def isneginf(input):
1046
1095
  r"""
1047
- Generates a new Tensor that accesses the values of `input` along the specified `dim` dimension
1048
- using the indices specified in `index`. The new Tensor has the same number of dimensions as `input`,
1049
- with the size of the `dim` dimension being equal to the length of `index`, and the size of all other
1050
- dimensions will be unchanged from the original `input` Tensor.
1096
+ Determines which elements are -inf for each position.
1051
1097
 
1052
- .. note::
1053
- The value of index must be in the range of `[0, input.shape[dim])`, the result is undefined out of range.
1098
+ .. warning::
1099
+ - This API can be used only on the Atlas A2 training series.
1054
1100
 
1055
1101
  Args:
1056
- input (Tensor): The input Tensor.
1057
- dim (int): The dimension to be indexed.
1058
- index (Tensor): A 1-D Tensor with the indices.
1102
+ input (Tensor): Input Tensor.
1059
1103
 
1060
1104
  Returns:
1061
- Tensor, has the same dtype as input Tensor.
1105
+ Tensor with the same shape as the input, where elements are `True` if the corresponding element in the `input` is negative infinity, and `False` otherwise.
1062
1106
 
1063
1107
  Raises:
1064
- TypeError: If `input` or `index` is not a Tensor.
1065
- TypeError: If `dim` is not int number.
1066
- ValueError: If the value of `dim` is out the range of `[-input.ndim, input.ndim - 1]`.
1067
- ValueError: If the dimension of `index` is not equal to 1.
1108
+ TypeError: If the input is not a tensor.
1068
1109
 
1069
1110
  Supported Platforms:
1070
- ``Ascend``
1111
+ ``Ascend`` ``GPU`` ``CPU``
1071
1112
 
1072
1113
  Examples:
1073
- >>> import mindspore
1074
- >>> from mindspore import Tensor, ops
1075
- >>> import numpy as np
1076
- >>> input = Tensor(np.arange(16).astype(np.float32).reshape(2, 2, 4))
1077
- >>> print(input)
1078
- [[[ 0. 1. 2. 3.]
1079
- [ 4. 5. 6. 7.]]
1080
- [[ 8. 9. 10. 11.]
1081
- [12. 13. 14. 15.]]]
1082
- >>> index = Tensor([0,], mindspore.int32)
1083
- >>> y = ops.auto_generate.index_select_ext(input, 1, index)
1084
- >>> print(y)
1085
- [[[ 0. 1. 2. 3.]]
1086
- [[ 8. 9. 10. 11.]]]
1114
+ >>> from mindspore import ops, Tensor
1115
+ >>> from mindspore import dtype as mstype
1116
+ >>> output = ops.isneginf(Tensor([[-float("inf"), float("inf")], [1, -float("inf")]], mstype.float32))
1117
+ >>> print(output)
1118
+ [[ True False]
1119
+ [False True]]
1087
1120
  """
1088
- return index_select_impl(input, dim, index)
1121
+ return isneginf_impl(input)
1089
1122
 
1090
1123
 
1091
- def inplace_adds(input, other, alpha=1):
1124
+ def argsort(input, dim=-1, descending=False, stable=False):
1092
1125
  r"""
1093
- None
1094
- """
1095
- return inplace_adds_impl(input, other, alpha)
1096
-
1126
+ Sorts the input tensor along the given dimension in specified order and return the sorted indices.
1127
+
1128
+ .. warning::
1129
+ This is an experimental optimizer API that is subject to change.
1130
+
1131
+ Args:
1132
+ input(Tensor): The input tensor to sort.
1133
+ dim (int, optional): The dim to sort along. Default: ``-1`` , means the last dimension.
1134
+ The Ascend backend only supports sorting the last dimension.
1135
+ descending (bool, optional): The sort order. If `descending` is ``True`` then the elements
1136
+ are sorted in descending order by value. Otherwise sort in ascending order. Default: ``False`` .
1137
+ stable (bool, optional): Whether to use stable sorting algorithm. Default: ``False``.
1138
+
1139
+ Returns:
1140
+ Tensor, the indices of sorted input tensor. Data type is int64.
1141
+
1142
+ Raises:
1143
+ ValueError: If `dim` is out of range.
1144
+ TypeError: If dtype of `dim` is not int32.
1145
+ TypeError: If dtype of `descending` is not bool.
1146
+ TypeError: If dtype of `stable` is not bool.
1147
+
1148
+ Supported Platforms:
1149
+ ``Ascend``
1150
+
1151
+ Examples:
1152
+ >>> import mindspore
1153
+ >>> import numpy as np
1154
+ >>> from mindspore import Tensor, ops
1155
+ >>> x = Tensor(np.array([[8, 2, 1], [5, 9, 3], [4, 6, 7]]), mindspore.float16)
1156
+ >>> sort = ops.auto_generate.argsort_ext(x)
1157
+ >>> print(sort)
1158
+ [[2 1 0]
1159
+ [2 0 1]
1160
+ [0 1 2]]
1161
+ """
1162
+ return argsort_impl(input, dim, descending, stable)
1097
1163
 
1098
- def leaky_relu(input, negative_slope=0.01):
1164
+
1165
+ def max_unpool2d(input, indices, kernel_size, stride=None, padding=0, output_size=None):
1099
1166
  r"""
1100
- leaky_relu activation function. The element of `input` less than 0 times `negative_slope` .
1167
+ Computes the inverse of `max_pool2d`.
1101
1168
 
1102
- The activation function is defined as:
1169
+ `max_unpool2d` keeps the maximal value and set all position of non-maximal values to zero. Typically the input is of shape :math:`(N, C, H_{in}, W_{in})` or :math:`(C, H_{in}, W_{in})`, and the output is of shape :math:`(N, C, H_{out}, W_{out})` or :math:`(C, H_{out}, W_{out})`. The operation is as follows.
1103
1170
 
1104
1171
  .. math::
1105
- \text{leaky_relu}(input) = \begin{cases}input, &\text{if } input \geq 0; \cr
1106
- \text{negative_slope} * input, &\text{otherwise.}\end{cases}
1172
+ \begin{array}{ll} \\
1173
+ H_{out} = (H_{in} - 1) \times stride[0] - 2 \times padding[0] + kernel\_size[0] \\
1174
+ W_{out} = (W_{in} - 1) \times stride[1] - 2 \times padding[1] + kernel\_size[1] \\
1175
+ \end{array}
1107
1176
 
1108
- where :math:`negative\_slope` represents the `negative_slope` parameter.
1177
+ .. warning::
1178
+ This is an experimental API that is subject to change or deletion.
1109
1179
 
1110
- For more details, see `Rectifier Nonlinearities Improve Neural Network Acoustic Models
1111
- <https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf>`_.
1180
+ Args:
1181
+ input (Tensor): The input Tensor to invert. Tensor of shape :math:`(N, C, H_{in}, W_{in})` or :math:`(C, H_{in}, W_{in})`.
1182
+ indices (Tensor): Max values' index represented by the indices. Tensor of shape must be same with input 'input'. Values of indices must belong to :math:`[0, H_{in} \times W_{in} - 1]`. Data type must be in int32 or int64.
1183
+ kernel_size (Union[int, tuple[int]]): The size of kernel used to take the maximum value, an int number that represents height and width of the kernel, or a tuple of two int numbers that represent height and width respectively.
1184
+ stride (Union[int, tuple[int]], optional): The distance of kernel moving, an int number that represents the height and width of movement are both stride, or a tuple of two int numbers that represent height and width of movement respectively. Default: ``None`` , which indicates the moving step is `kernel_size` .
1185
+ padding (Union[int, tuple[int]], optional): The pad value to be filled. Default: ``0`` . If `padding` is an integer, the paddings of height and width are the same, equal to padding. If `padding` is a tuple of two integers, the padding of height and width equal to padding[0] and padding[1] correspondingly.
1186
+ output_size (tuple[int], optional): The target output size. Default: ``None`` . If output_size == (), then the shape of output computed by `kernel_size`, `stride` and `padding`. If output_size != (), then output_size must be :math:`(N, C, H, W)` , :math:`(C, H, W)` or :math:`(H, W)` and output_size must belong to :math:`[(N, C, H_{out} - stride[0], W_{out} - stride[1]), (N, C, H_{out} + stride[0], W_{out} + stride[1])]`.
1112
1187
 
1113
- LeakyReLU Activation Function Graph:
1188
+ Returns:
1189
+ Tensor, with shape :math:`(N, C, H_{out}, W_{out})` or :math:`(C, H_{out}, W_{out})`, with the same data type with `input`.
1114
1190
 
1115
- .. image:: ../images/LeakyReLU.png
1116
- :align: center
1191
+ Raises:
1192
+ TypeError: If data type of `input` or `indices` is not supported.
1193
+ TypeError: If `kernel_size`, `stride` or `padding` is neither an int nor a tuple.
1194
+ ValueError: If numbers in `stride`, `padding` or `kernel_size` are not positive.
1195
+ ValueError: If the shapes of `input` and `indices` are different.
1196
+ ValueError: If the length of `input` is not 3 or 4.
1197
+ ValueError: If the type of `output_size` is not tuple.
1198
+ ValueError: If `output_size` is not close to output size computed by attr `kernel_size`, `stride`, `padding`.
1199
+
1200
+ Supported Platforms:
1201
+ ``Ascend``
1202
+
1203
+ Examples:
1204
+ >>> import numpy as np
1205
+ >>> from mindspore import Tensor, ops
1206
+ >>> input = Tensor(np.array([[[[0, 1], [8, 9]]]]).astype(np.float32))
1207
+ >>> indices = Tensor(np.array([[[[0, 1], [2, 3]]]]).astype(np.int64))
1208
+ >>> output = ops.max_unpool2d_ext(input, indices, 1, stride=1, padding=0)
1209
+ >>> print(output.asnumpy())
1210
+ [[[[0. 1.]
1211
+ [8. 9.]]]]
1212
+ """
1213
+ return max_unpool2d_impl(input, indices, kernel_size, stride, padding, output_size)
1214
+
1215
+
1216
+ def asin(input):
1217
+ r"""
1218
+ Computes arcsine of input tensors element-wise.
1219
+
1220
+ .. math::
1221
+
1222
+ out_i = \sin^{-1}(input_i)
1117
1223
 
1118
1224
  Args:
1119
- input (Tensor): The input of leaky_relu is a Tensor of any dimension.
1120
- negative_slope (Union[int, float], optional): Slope of the activation function when the element of `input` is less than 0.
1121
- Default: ``0.01`` .
1225
+ input (Tensor): The shape of tensor is
1226
+ :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
1122
1227
 
1123
1228
  Returns:
1124
- Tensor, has the same type and shape as the `input`.
1229
+ Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
1125
1230
 
1126
1231
  Raises:
1127
1232
  TypeError: If `input` is not a Tensor.
1128
- TypeError: If `negative_slope` is not a float or an int.
1129
1233
 
1130
1234
  Supported Platforms:
1131
- ``Ascend``
1235
+ ``Ascend`` ``GPU`` ``CPU``
1132
1236
 
1133
1237
  Examples:
1134
1238
  >>> import mindspore
1135
1239
  >>> import numpy as np
1136
1240
  >>> from mindspore import Tensor, ops
1137
- >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
1138
- >>> print(ops.extend.leaky_relu_ext(input, negative_slope=0.2))
1139
- [[-0.2 4. -1.6]
1140
- [ 2. -1. 9. ]]
1241
+ >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
1242
+ >>> output = ops.asin_ext(input)
1243
+ >>> print(output)
1244
+ [0.8330927 0.04001068 0.30469266 0.59438497 ]
1141
1245
  """
1142
- return leaky_relu_impl(input, negative_slope)
1246
+ return asin_impl(input)
1143
1247
 
1144
1248
 
1145
- def cumsum(input, dim, dtype=None):
1249
+ def index_select(input, dim, index):
1146
1250
  r"""
1147
- Computes the cumulative sum of input Tensor along `dim`.
1148
-
1149
- .. math::
1251
+ Generates a new Tensor that accesses the values of `input` along the specified `dim` dimension
1252
+ using the indices specified in `index`. The new Tensor has the same number of dimensions as `input`,
1253
+ with the size of the `dim` dimension being equal to the length of `index`, and the size of all other
1254
+ dimensions will be unchanged from the original `input` Tensor.
1150
1255
 
1151
- y_i = x_1 + x_2 + x_3 + ... + x_i
1256
+ .. note::
1257
+ The value of index must be in the range of `[0, input.shape[dim])`, the result is undefined out of range.
1152
1258
 
1153
1259
  Args:
1154
1260
  input (Tensor): The input Tensor.
1155
- dim (int): Dim along which the cumulative sum is computed.
1156
- dtype (:class:`mindspore.dtype`, optional): The desired dtype of returned Tensor. If specified,
1157
- the input Tensor will be cast to `dtype` before the computation. This is useful for preventing overflows.
1158
- If not specified, stay the same as original Tensor. Default: ``None`` .
1261
+ dim (int): The dimension to be indexed.
1262
+ index (Tensor): A 1-D Tensor with the indices.
1159
1263
 
1160
1264
  Returns:
1161
- Tensor, the shape of the output Tensor is consistent with the input Tensor's.
1265
+ Tensor, has the same dtype as input Tensor.
1162
1266
 
1163
1267
  Raises:
1164
- TypeError: If `input` is not a Tensor.
1165
- ValueError: If the `dim` is out of range.
1268
+ TypeError: If `input` or `index` is not a Tensor.
1269
+ TypeError: If `dim` is not int number.
1270
+ ValueError: If the value of `dim` is out the range of `[-input.ndim, input.ndim - 1]`.
1271
+ ValueError: If the dimension of `index` is not equal to 1.
1166
1272
 
1167
1273
  Supported Platforms:
1168
1274
  ``Ascend``
1169
1275
 
1170
1276
  Examples:
1277
+ >>> import mindspore
1278
+ >>> from mindspore import Tensor, ops
1171
1279
  >>> import numpy as np
1172
- >>> from mindspore import Tensor
1173
- >>> import mindspore.ops as ops
1174
- >>> x = Tensor(np.array([[3, 4, 6, 10], [1, 6, 7, 9], [4, 3, 8, 7], [1, 3, 7, 9]]).astype(np.float32))
1175
- >>> # case 1: along the dim 0
1176
- >>> y = ops.auto_generate.cumsum_ext(x, 0)
1177
- >>> print(y)
1178
- [[ 3. 4. 6. 10.]
1179
- [ 4. 10. 13. 19.]
1180
- [ 8. 13. 21. 26.]
1181
- [ 9. 16. 28. 35.]]
1182
- >>> # case 2: along the dim 1
1183
- >>> y = ops.auto_generate.cumsum_ext(x, 1)
1280
+ >>> input = Tensor(np.arange(16).astype(np.float32).reshape(2, 2, 4))
1281
+ >>> print(input)
1282
+ [[[ 0. 1. 2. 3.]
1283
+ [ 4. 5. 6. 7.]]
1284
+ [[ 8. 9. 10. 11.]
1285
+ [12. 13. 14. 15.]]]
1286
+ >>> index = Tensor([0,], mindspore.int32)
1287
+ >>> y = ops.auto_generate.index_select_ext(input, 1, index)
1184
1288
  >>> print(y)
1185
- [[ 3. 7. 13. 23.]
1186
- [ 1. 7. 14. 23.]
1187
- [ 4. 7. 15. 22.]
1188
- [ 1. 4. 11. 20.]]
1289
+ [[[ 0. 1. 2. 3.]]
1290
+ [[ 8. 9. 10. 11.]]]
1189
1291
  """
1190
- return cumsum_impl(input, dim, dtype)
1292
+ return index_select_impl(input, dim, index)
1191
1293
 
1192
1294
 
1193
- def mm(input, mat2):
1295
+ def l1_loss(input, target, reduction='mean'):
1194
1296
  r"""
1195
- Returns the matrix product of two arrays.
1196
- If `input` is a :math:`(n \times m)` Tensor, `mat2` is a
1197
- :math:`(m \times p)` Tensor, `out` will be a :math:`(n \times p)` Tensor.
1297
+ Calculate the mean absolute error between the `input` value and the `target` value.
1198
1298
 
1199
- Note:
1200
- This function cannot support broadcasting.
1201
- Refer to :func:`mindspore.ops.matmul` instead if you need a broadcastable function.
1299
+ Assuming that the :math:`x` and :math:`y` are the predicted value and target value,
1300
+ both are one-dimensional tensors of length :math:`N`, length :math:`N`, `reduction` is set to ``'none'`` ,
1301
+ then calculate the loss of :math:`x` and :math:`y` without dimensionality reduction.
1202
1302
 
1203
- .. warning::
1204
- This is an experimental API that is subject to change or deletion.
1303
+ The formula is as follows:
1304
+
1305
+ .. math::
1306
+ \ell(x, y) = L = \{l_1,\dots,l_N\}^\top, \quad \text{with } l_n = \left| x_n - y_n \right|,
1307
+
1308
+ where :math:`N` is the batch size.
1309
+
1310
+ If `reduction` is ``'mean'`` or ``'sum'`` , then:
1311
+
1312
+ .. math::
1313
+ \ell(x, y) =
1314
+ \begin{cases}
1315
+ \operatorname{mean}(L), & \text{if reduction} = \text{'mean';}\\
1316
+ \operatorname{sum}(L), & \text{if reduction} = \text{'sum'.}
1317
+ \end{cases}
1205
1318
 
1206
1319
  Args:
1207
- input (Tensor): The first matrix of matrix multiplication.
1208
- The last dimension of `input` must be the same size as the first dimension of `mat2`.
1209
- mat2 (Tensor): The second matrix of matrix multiplication.
1210
- The last dimension of `input` must be the same size as the first dimension of `mat2`.
1320
+ input (Tensor): Predicted value, Tensor of any dimension.
1321
+ target (Tensor): Target value, usually has the same shape as the `input`.
1322
+ If `input` and `target` have different shapes, make sure they can broadcast to each other.
1323
+ reduction (str, optional): Apply specific reduction method to the output: ``'none'`` , ``'mean'`` ,
1324
+ ``'sum'`` . Default: ``'mean'`` .
1325
+
1326
+ - ``'none'``: no reduction will be applied.
1327
+ - ``'mean'``: compute and return the mean of elements in the output. Notice: At least one of the input and target is float type when the reduction is ``'mean'`` .
1328
+ - ``'sum'``: the output elements will be summed.
1211
1329
 
1212
1330
  Returns:
1213
- Tensor, the matrix product of the inputs.
1331
+ Tensor or Scalar, if `reduction` is ``'none'`` , return a Tensor with same shape and dtype as `input`.
1332
+ Otherwise, a scalar value will be returned.
1214
1333
 
1215
1334
  Raises:
1216
- ValueError: If the last dimension of `input` is not the same size as the
1217
- second-to-last dimension of `mat2`.
1218
- TypeError: If `input` or `mat2` is not a Tensor.
1219
- TypeError: If dtype of `input` or `mat2` is not float16, float32 or bfloat16.
1335
+ TypeError: If `input` is not a Tensor.
1336
+ TypeError: If `target` is not a Tensor.
1337
+ ValueError: If `reduction` is not one of ``'none'`` , ``'mean'`` or ``'sum'`` .
1220
1338
 
1221
1339
  Supported Platforms:
1222
1340
  ``Ascend``
1223
1341
 
1224
1342
  Examples:
1225
- >>> import mindspore as ms
1226
- >>> from mindspore import ops
1227
- >>> import numpy as np
1228
- >>> x1 = ms.Tensor(np.random.rand(2, 3), ms.float32)
1229
- >>> x2 = ms.Tensor(np.random.rand(3, 4), ms.float32)
1230
- >>> out = ops.mm_ext(x1, x2)
1231
- >>> print(out.shape)
1232
- (2, 4)
1343
+ >>> from mindspore import Tensor, ops
1344
+ >>> from mindspore import dtype as mstype
1345
+ >>> x = Tensor([[1, 2, 3], [4, 5, 6]], mstype.float32)
1346
+ >>> target = Tensor([[6, 5, 4], [3, 2, 1]], mstype.float32)
1347
+ >>> output = ops.l1_loss_ext(x, target, reduction="mean")
1348
+ >>> print(output)
1349
+ 3.0
1233
1350
  """
1234
- return mm_impl(input, mat2)
1351
+ return l1_loss_impl(input, target, converted_reduction)
1235
1352
 
1236
1353
 
1237
- def ffn(x, weight1, weight2, expertTokens=None, bias1=None, bias2=None, scale=None, offset=None, deqScale1=None, deqScale2=None, antiquant_scale1=None, antiquant_scale2=None, antiquant_offset1=None, antiquant_offset2=None, activation='fastgelu', inner_precise=0):
1354
+ def adaptive_avg_pool3d(input, output_size):
1238
1355
  r"""
1239
1356
  None
1240
1357
  """
1241
- return ffn_impl(x, weight1, weight2, expertTokens, bias1, bias2, scale, offset, deqScale1, deqScale2, antiquant_scale1, antiquant_scale2, antiquant_offset1, antiquant_offset2, converted_activation, inner_precise)
1358
+ return adaptive_avg_pool3d_impl(input, output_size)
1242
1359
 
1243
1360
 
1244
1361
  def histc(input, bins=100, min=0, max=0):
@@ -1284,370 +1401,139 @@ def histc(input, bins=100, min=0, max=0):
1284
1401
  return histc_impl(input, bins, min, max)
1285
1402
 
1286
1403
 
1287
- def bincount(input, weights=None, minlength=0):
1404
+ def inplace_adds(input, other, alpha=1):
1288
1405
  r"""
1289
- Count the occurrences of each value in the input.
1290
-
1291
- If `minlength` is not specified, the length of the output Tensor is the maximum value in the input plus one.
1292
- If `minlength` is specified, the length of the output Tensor is the maximum value between `minlength` or
1293
- the maximum value in the input plus one.
1294
-
1295
- Each value in the output Tensor represents the number of occurrences of that index value in the input.
1296
- If `weights` is specified, the output results are weighted,
1297
- i.e., :math:`out[n] += weight[i]` instead of :math:`out[n] += 1`.
1298
-
1299
- .. warning::
1300
- This is an experimental API that is subject to change or deletion.
1301
-
1302
- Args:
1303
- input (Tensor): A one-dimensional Tensor.
1304
- weights (Tensor, optional): Weights with the same shape as the input. Default: ``None``.
1305
- minlength (int, optional): The minimum length of output Tensor. Should be non-negative. Default: ``0``.
1306
-
1307
- Returns:
1308
- Tensor, If input is non-empty, the output shape is :math:`(max(max(input)+1, minlength), )`,
1309
- otherwise the shape is :math:`(0, )`.
1310
-
1311
- Raises:
1312
- TypeError: If `input` or `weights` is not a Tensor.
1313
- ValueError: If `input` contains negative values.
1314
- ValueError: If `input` is not one-dimensional or `input` and `weights` do not have the same shape.
1315
-
1316
- Supported Platforms:
1317
- ``Ascend``
1318
-
1319
- Examples:
1320
- >>> from mindspore import ops, Tensor
1321
- >>> print(ops.auto_generate.bincount_ext(Tensor(np.arange(5))))
1322
- [1 1 1 1 1]
1323
- >>> print(ops.auto_generate.bincount_ext(Tensor(np.array([0, 1, 1, 3, 2, 1, 7]))))
1324
- [1 3 1 1 0 0 0 1]
1325
- >>> w = Tensor(np.array([0.3, 0.5, 0.2, 0.7, 1., -0.6])) # weights
1326
- >>> x = Tensor(np.array([0, 1, 1, 2, 2, 2]))
1327
- >>> print(ops.auto_generate.bincount_ext(x, weights=w, minlength=5))
1328
- [0.3 0.7 1.1 0. 0. ]
1329
- """
1330
- return bincount_impl(input, weights, minlength)
1331
-
1332
-
1333
- def cummin(input, dim):
1334
- r"""
1335
- Returns a tuple (values, indices) where `values` is the cumulative minimum value of input Tensor `input`
1336
- along the dimension `dim`, and `indices` is the index location of each minimum value.
1337
-
1338
- .. math::
1339
- \begin{array}{ll} \\
1340
- y_{i} = \min(x_{1}, x_{2}, ... , x_{i})
1341
- \end{array}
1342
-
1343
- .. note::
1344
- O2 mode is not supported in Ascend.
1345
-
1346
- Args:
1347
- input (Tensor): The input Tensor, The dimension must be greater than 0.
1348
- dim (int): Operation dimension. The value of `dim` must be in the range `[-input.ndim, input.ndim - 1]`.
1349
-
1350
- Returns:
1351
- tuple [Tensor], tuple of 2 Tensors, containing the cumulative minimum of elements and the index.
1352
- The shape of each output tensor is the same as that of input `input`.
1353
-
1354
- Raises:
1355
- TypeError: If `input` is not a Tensor.
1356
- TypeError: If `input` is a Tensor, but the type is complex or bool.
1357
- TypeError: If `dim` is not an int.
1358
- ValueError: If `dim` is out the range of `[-input.ndim, input.ndim - 1]`.
1359
-
1360
- Supported Platforms:
1361
- ``Ascend``
1362
-
1363
- Examples:
1364
- >>> from mindspore import Tensor, ops
1365
- >>> import mindspore
1366
- >>> a = Tensor([-0.2284, -0.6628, 0.0975, 0.2680, -1.3298, -0.4220], mindspore.float32)
1367
- >>> output = ops.cummin_ext(a, dim=0)
1368
- >>> print(output[0])
1369
- [-0.2284 -0.6628 -0.6628 -0.6628 -1.3298 -1.3298]
1370
- >>> print(output[1])
1371
- [0 1 1 1 4 4]
1406
+ None
1372
1407
  """
1373
- return cummin_impl(input, dim)
1408
+ return inplace_adds_impl(input, other, alpha)
1374
1409
 
1375
1410
 
1376
- def sum(input, dim=None, keepdim=False, dtype=None):
1411
+ def t(input):
1377
1412
  r"""
1378
- Calculate sum of Tensor elements over a given dim.
1413
+ Transpose the input tensor.
1379
1414
 
1380
- Note:
1381
- The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
1415
+ .. warning::
1416
+ This is an experimental API that is subject to change or deletion.
1382
1417
 
1383
1418
  Args:
1384
1419
  input (Tensor): The input tensor.
1385
- dim (Union[None, int, tuple(int), list(int), Tensor]): Dimensions along which a sum is performed.
1386
- If ``None`` , sum all the elements of the input tensor.
1387
- If the `dim` is a tuple or list of ints, a sum is performed on all the dimensions specified in the tuple.
1388
- Must be in the range :math:`[-input.ndim, input.ndim)` . Default: ``None`` .
1389
- keepdim (bool): Whether the output tensor has `dim` retained or not.
1390
- If ``True`` , keep these reduced dimensions and the length is 1.
1391
- If ``False`` , don't keep these dimensions. Default: ``False`` .
1392
- dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
1393
1420
 
1394
1421
  Returns:
1395
- A Tensor, sum of elements over a given `dim` in `input`.
1422
+ Tensor, transpose 2D tensor, return 1D tensor as it is.
1396
1423
 
1397
1424
  Raises:
1398
- TypeError: If `input` is not a Tensor.
1399
- TypeError: If `dim` is not an int, tulpe(int), list(int), Tensor or None.
1400
- ValueError: If `dim` is not in the range :math:`[-input.ndim, input.ndim)` .
1401
- TypeError: If `keepdim` is not a bool.
1425
+ ValueError: If the dimension of `input` is greater than 2.
1426
+ ValueError: If `input` is empty.
1427
+ TypeError: If `input` is not a tensor.
1402
1428
 
1403
1429
  Supported Platforms:
1404
- ``Ascend`` ``GPU`` ``CPU``
1430
+ ``Ascend``
1405
1431
 
1406
1432
  Examples:
1407
1433
  >>> import mindspore
1408
1434
  >>> import numpy as np
1409
1435
  >>> from mindspore import Tensor, ops
1410
- >>> from mindspore import dtype as mstype
1411
- >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
1412
- ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
1413
- ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mstype.float32)
1414
- >>> out = ops.sum_ext(x)
1415
- >>> print(out)
1416
- 270.0
1417
- >>> out = ops.sum_ext(x, dim=2)
1418
- >>> print(out)
1419
- [[ 6. 12. 18.]
1420
- [24. 30. 36.]
1421
- [42. 48. 54.]]
1422
- >>> out = ops.sum_ext(x, dim=2, keepdim=True)
1423
- >>> print(out)
1424
- [[[ 6.]
1425
- [12.]
1426
- [18.]]
1427
- [[24.]
1428
- [30.]
1429
- [36.]]
1430
- [[42.]
1431
- [48.]
1432
- [54.]]]
1436
+ >>> input = Tensor(np.array([[1, 2, 3], [4, 5, 6]]), mindspore.float32)
1437
+ >>> output = ops.t_ext(input)
1438
+ >>> print(output)
1439
+ [[ 1. 4.]
1440
+ [ 2. 5.]
1441
+ [ 3. 6.]]
1433
1442
  """
1434
- return sum_impl(input, dim, keepdim, dtype)
1443
+ return t_impl(input)
1435
1444
 
1436
1445
 
1437
- def atan2(input, other):
1446
+ def sub_tensor_(input, other, alpha=1):
1438
1447
  r"""
1439
- Returns arctangent of input/other element-wise.
1440
-
1441
- It returns :math:`\theta\ \in\ [-\pi, \pi]`
1442
- such that :math:`input = r*\sin(\theta), other = r*\cos(\theta)`, where :math:`r = \sqrt{input^2 + other^2}`.
1443
-
1444
- Note:
1445
- - Arg `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
1446
- If they have different data types, the lower precision data type will be converted to relatively the
1447
- highest precision data type.
1448
-
1449
- Args:
1450
- input (Tensor, Number.number): The input tensor or scalar.
1451
- other (Tensor, Number.number): The input tensor or scalar. It has the same shape with `input` or
1452
- its shape is able to broadcast with `input`.
1453
-
1454
- Returns:
1455
- Tensor, the shape is the same as the one after broadcasting.
1456
- The dtype of output is float32 when dtype of `input` is in
1457
- [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
1458
-
1459
- Raises:
1460
- TypeError: If `input` or `other` is not a Tensor or scalar.
1461
- RuntimeError: If the data type of `input` and `other` conversion of Parameter is required
1462
- when data type conversion of Parameter is not supported.
1463
-
1464
- Supported Platforms:
1465
- ``Ascend``
1466
-
1467
- Examples:
1468
- >>> import mindspore
1469
- >>> import numpy as np
1470
- >>> from mindspore import Tensor, ops
1471
- >>> input = Tensor(np.array([0, 1]), mindspore.float32)
1472
- >>> other = Tensor(np.array([1, 1]), mindspore.float32)
1473
- >>> output = ops.auto_generate.atan2_ext(input, other)
1474
- >>> print(output)
1475
- [0. 0.7853982]
1448
+ None
1476
1449
  """
1477
- return atan2_impl(input, other)
1450
+ return sub_tensor_impl(input, other, alpha)
1478
1451
 
1479
1452
 
1480
- def mean(input, dim=None, keepdim=False, dtype=None):
1453
+ def ffn(x, weight1, weight2, expertTokens=None, bias1=None, bias2=None, scale=None, offset=None, deqScale1=None, deqScale2=None, antiquant_scale1=None, antiquant_scale2=None, antiquant_offset1=None, antiquant_offset2=None, activation='fastgelu', inner_precise=0):
1481
1454
  r"""
1482
- Reduces all dimension of a tensor by averaging all elements in the dimension, by default.
1483
- And reduce a dimension of `input` along the specified `dim`. `keepdim`
1484
- determines whether the dimensions of the output and input are the same.
1485
-
1486
- Note:
1487
- The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
1488
-
1489
- Args:
1490
- input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
1491
- :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
1492
- dim (Union[int, tuple(int), list(int), Tensor]): The dimensions to reduce. Default: ``None`` ,
1493
- reduce all dimensions. Only constant value is allowed. Assume the rank of `input` is r,
1494
- and the value range is [-r,r).
1495
- keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
1496
- If ``False`` , don't keep these dimensions. Default: ``False`` .
1497
- dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
1498
-
1499
- Returns:
1500
- Tensor, has the same data type as input tensor.
1501
-
1502
- - If `dim` is ``None`` , and `keepdim` is ``False`` ,
1503
- the output is a 0-D tensor representing the product of all elements in the input tensor.
1504
- - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
1505
- the shape of output is :math:`(x_0, x_2, ..., x_R)`.
1506
- - If `dim` is tuple(int), set as (1, 2), and `keepdim` is ``False`` ,
1507
- the shape of output is :math:`(x_0, x_3, ..., x_R)`.
1508
- - If `dim` is 1-D Tensor, set as [1, 2], and `keepdim` is ``False`` ,
1509
- the shape of output is :math:`(x_0, x_3, ..., x_R)`.
1510
-
1511
- Raises:
1512
- TypeError: If `x` is not a Tensor.
1513
- TypeError: If `dim` is not one of the following: int, tuple, list or Tensor.
1514
- TypeError: If `keepdim` is not a bool.
1515
- ValueError: If `dim` is out of range.
1516
-
1517
- Supported Platforms:
1518
- ``Ascend`` ``GPU`` ``CPU``
1519
-
1520
- Examples:
1521
- >>> import mindspore
1522
- >>> import numpy as np
1523
- >>> from mindspore import Tensor, ops
1524
- >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
1525
- >>> output = ops.mean_ext(x, 1, keepdim=True)
1526
- >>> result = output.shape
1527
- >>> print(result)
1528
- (3, 1, 5, 6)
1529
- >>> # case 1: Reduces a dimension by averaging all elements in the dimension.
1530
- >>> x = Tensor(np.array([[[2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2]],
1531
- ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
1532
- ... [[6, 6, 6, 6, 6, 6], [8, 8, 8, 8, 8, 8], [10, 10, 10, 10, 10, 10]]]),
1533
- ... mindspore.float32)
1534
- >>> output = ops.mean_ext(x)
1535
- >>> print(output)
1536
- 5.0
1537
- >>> print(output.shape)
1538
- ()
1539
- >>> # case 2: Reduces a dimension along the dim 0
1540
- >>> output = ops.mean_ext(x, 0, True)
1541
- >>> print(output)
1542
- [[[4. 4. 4. 4. 4. 4.]
1543
- [5. 5. 5. 5. 5. 5.]
1544
- [6. 6. 6. 6. 6. 6.]]]
1545
- >>> # case 3: Reduces a dimension along the dim 1
1546
- >>> output = ops.mean_ext(x, 1, True)
1547
- >>> print(output)
1548
- [[[2. 2. 2. 2. 2. 2.]]
1549
- [[5. 5. 5. 5. 5. 5.]]
1550
- [[8. 8. 8. 8. 8. 8.]]]
1551
- >>> # case 4: Reduces a dimension along the dim 2
1552
- >>> output = ops.mean_ext(x, 2, True)
1553
- >>> print(output)
1554
- [[[ 2.]
1555
- [ 2.]
1556
- [ 2.]]
1557
- [[ 4.]
1558
- [ 5.]
1559
- [ 6.]]
1560
- [[ 6.]
1561
- [ 8.]
1562
- [10.]]]
1455
+ None
1563
1456
  """
1564
- return mean_impl(input, dim, keepdim, dtype)
1457
+ return ffn_impl(x, weight1, weight2, expertTokens, bias1, bias2, scale, offset, deqScale1, deqScale2, antiquant_scale1, antiquant_scale2, antiquant_offset1, antiquant_offset2, converted_activation, inner_precise)
1565
1458
 
1566
1459
 
1567
- def topk(input, k, dim=-1, largest=True, sorted=True):
1460
+ def fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1):
1568
1461
  r"""
1569
- Finds values and indices of the `k` largest or smallest entries along a given dimension.
1462
+ Combines an array of sliding local blocks into a large containing tensor.
1570
1463
 
1571
- .. warning::
1572
- - If sorted is set to False, due to different memory layout and traversal methods on different platforms,
1573
- the display order of calculation results may be inconsistent when `sorted` is False.
1464
+ Consider a batched input tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)` ,
1465
+ where :math:`N` is the batch dimension, :math:`C \times \prod(\text{kernel_size})` is the
1466
+ total number of values within each block (a block has :math:`\prod(\text{kernel_size})` spatial
1467
+ locations each containing a `C`-channeled vector), and :math:`L` is the total number of such blocks:
1574
1468
 
1575
- If the `input` is a one-dimensional Tensor, finds the `k` largest or smallest entries in the Tensor,
1576
- and outputs its value and index as a Tensor. values[`k`] is the `k` largest item in `input`,
1577
- and its index is indices [`k`].
1469
+ .. math::
1470
+ L = \prod_d \left\lfloor\frac{\text{output_size}[d] + 2 \times \text{padding}[d] %
1471
+ - \text{dilation}[d] \times (\text{kernel_size}[d] - 1) - 1}{\text{stride}[d]} + 1\right\rfloor,
1578
1472
 
1579
- For a multi-dimensional matrix,
1580
- calculates the first or last `k` entries in a given dimension, therefore:
1473
+ where :math:`d` is over all spatial dimensions.
1581
1474
 
1582
- .. math::
1475
+ Therefore, `output_size` is the spatial shape of the large containing tensor of the sliding local blocks.
1583
1476
 
1584
- values.shape = indices.shape
1477
+ The `dilation`, `padding` and `stride` arguments specify how the sliding blocks are retrieved.
1585
1478
 
1586
- If the two compared elements are the same, the one with the smaller index value is returned first.
1479
+ .. warning::
1480
+ Currently, only unbatched(3D) or batched(4D) image-like output tensors are supported.
1587
1481
 
1588
1482
  Args:
1589
- input (Tensor): Input to be computed.
1590
- k (int): The number of top or bottom elements to be computed along the last dimension.
1591
- dim (int, optional): The dimension to sort along. Default: ``-1`` .
1592
- largest (bool, optional): If largest is ``False`` then the k smallest elements are returned.
1593
- Default: ``True`` .
1594
- sorted (bool, optional): If ``True`` , the obtained elements will be sorted by the values in descending
1595
- order or ascending order according to `largest`. If ``False`` , the obtained elements will not be
1596
- sorted. Default: ``True`` .
1483
+ input (Tensor): 2-D or 3-D Tensor.
1484
+ output_size (Union[int, tuple[int], list[int]]): The shape of the spatial dimensions of
1485
+ the output(i.e., output.shape[2:]).
1486
+ kernel_size (Union[int, tuple[int], list[int]]): The size of the kernel, should be two int
1487
+ for height and width. If type is int, it means that height equal with width. Must be specified.
1488
+ dilation (Union[int, tuple[int], list[int]], optional): The size of the dilation, should be two int
1489
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
1490
+ padding (Union[int, tuple[int], list[int]], optional): The size of the padding, should be two int
1491
+ for height and width. If type is int, it means that height equal with width. Default: ``0`` .
1492
+ stride (Union[int, tuple[int], list[int]], optional): The size of the stride, should be two int
1493
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
1597
1494
 
1598
1495
  Returns:
1599
- A tuple consisting of `values` and `indices`.
1496
+ A Tensor, with same type as `input` .
1600
1497
 
1601
- - values (Tensor) - The `k` largest or smallest elements in each slice of the given dimension.
1602
- - indices (Tensor) - The indices of values within the last dimension of input.
1498
+ Shape:
1499
+ - Input: :math:`(N, C \times \prod(\text{kernel_size}), L)` or
1500
+ :math:`(C \times \prod(\text{kernel_size}), L)`
1501
+ - Output: :math:`(N, C, output\_size[0], output\_size[1], ...)` or
1502
+ :math:`(C, output\_size[0], output\_size[1], ...)`
1603
1503
 
1604
1504
  Raises:
1605
- TypeError: If `sorted` is not a bool.
1606
- TypeError: If `input` is not a Tensor.
1607
- TypeError: If `k` is not an int.
1505
+ TypeError: If `output_size`, `kernel_size`, `stride`, `dilation`, `padding` data type is not int, tuple or list.
1506
+ ValueError: If `output_size`, `kernel_size`, `dilation`, `stride` value is not
1507
+ greater than zero or elements number invalid.
1508
+ ValueError: If `padding` value is less than zero or elements number invalid.
1509
+ ValueError: If input.shape[-2] can't be divisible by the product of kernel_size.
1510
+ ValueError: If `input.shape[-1]` is not equal to the calculated number of sliding blocks `L`.
1608
1511
 
1609
1512
  Supported Platforms:
1610
1513
  ``Ascend``
1611
1514
 
1612
1515
  Examples:
1613
- >>> import mindspore as ms
1614
- >>> from mindspore import ops
1615
- >>> x = ms.Tensor([[0.5368, 0.2447, 0.4302, 0.9673],
1616
- ... [0.4388, 0.6525, 0.4685, 0.1868],
1617
- ... [0.3563, 0.5152, 0.9675, 0.8230]], dtype=ms.float32)
1618
- >>> output = ops.topk_ext(x, 2, dim=1)
1619
- >>> print(output)
1620
- (Tensor(shape=[3, 2], dtype=Float32, value=
1621
- [[ 9.67299998e-01, 5.36800027e-01],
1622
- [ 6.52499974e-01, 4.68499988e-01],
1623
- [ 9.67499971e-01, 8.23000014e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
1624
- [[3, 0],
1625
- [1, 2],
1626
- [2, 3]]))
1627
- >>> output2 = ops.topk_ext(x, 2, dim=1, largest=False)
1628
- >>> print(output2)
1629
- (Tensor(shape=[3, 2], dtype=Float32, value=
1630
- [[ 2.44700000e-01, 4.30200011e-01],
1631
- [ 1.86800003e-01, 4.38800007e-01],
1632
- [ 3.56299996e-01, 5.15200019e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
1633
- [[1, 2],
1634
- [3, 0],
1635
- [0, 1]]))
1516
+ >>> import numpy as np
1517
+ >>> from mindspore import Tensor, ops
1518
+ >>> x = Tensor(np.random.rand(16, 64, 25).astype(np.float32))
1519
+ >>> output = ops.auto_generate.fold_ext(x, (8, 8), [2, 2], [2, 2], [2, 2], [2, 2])
1520
+ >>> print(output.shape)
1521
+ (16, 16, 8, 8)
1636
1522
  """
1637
- return topk_impl(input, k, dim, largest, sorted)
1523
+ return fold_impl(input, converted_output_size, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
1638
1524
 
1639
1525
 
1640
- def atan(input):
1526
+ def acos(input):
1641
1527
  r"""
1642
- Computes the trigonometric inverse tangent of the input element-wise.
1528
+ Computes arccosine of input tensors element-wise.
1643
1529
 
1644
1530
  .. math::
1645
1531
 
1646
- out_i = \tan^{-1}(input_i)
1532
+ out_i = \cos^{-1}(input_i)
1647
1533
 
1648
1534
  Args:
1649
1535
  input (Tensor): The shape of tensor is
1650
- :math:`(N,*)` where :math:`*` means, any number of additional dimensions.
1536
+ :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
1651
1537
 
1652
1538
  Returns:
1653
1539
  Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
@@ -1662,243 +1548,288 @@ def atan(input):
1662
1548
  >>> import mindspore
1663
1549
  >>> import numpy as np
1664
1550
  >>> from mindspore import Tensor, ops
1665
- >>> input = Tensor(np.array([1.0, 0.0]), mindspore.float32)
1666
- >>> output = ops.atan_ext(input)
1551
+ >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
1552
+ >>> output = ops.acos_ext(input)
1667
1553
  >>> print(output)
1668
- [0.7853982 0. ]
1554
+ [0.7377037 1.5307857 1.2661037 0.9764114]
1669
1555
  """
1670
- return atan_impl(input)
1556
+ return acos_impl(input)
1671
1557
 
1672
1558
 
1673
- def matrix_inverse(input):
1559
+ def selu(input):
1674
1560
  r"""
1675
- Compute the inverse of the input matrix.
1561
+ Activation function SELU (Scaled exponential Linear Unit).
1562
+
1563
+ The activation function is defined as:
1564
+
1565
+ .. math::
1566
+ E_{i} =
1567
+ scale *
1568
+ \begin{cases}
1569
+ x_{i}, &\text{if } x_{i} \geq 0; \cr
1570
+ \text{alpha} * (\exp(x_i) - 1), &\text{otherwise.}
1571
+ \end{cases}
1572
+
1573
+ where :math:`alpha` and :math:`scale` are pre-defined constants(:math:`alpha=1.67326324`
1574
+ and :math:`scale=1.05070098`).
1575
+
1576
+ See more details in `Self-Normalizing Neural Networks <https://arxiv.org/abs/1706.02515>`_.
1577
+
1578
+ SELU Activation Function Graph:
1579
+
1580
+ .. image:: ../images/SeLU.png
1581
+ :align: center
1676
1582
 
1677
1583
  Args:
1678
- input (Tensor): A matrix to be calculated. Input `input` must be at least two dimensions, and the size of
1679
- the last two dimensions must be the same size.
1584
+ input (Tensor): Tensor of any dimension.
1585
+ The data type is float16, float32, bfloat16.
1680
1586
 
1681
1587
  Returns:
1682
- Tensor, has the same type and shape as input`.
1588
+ Tensor, with the same type and shape as the `input`.
1683
1589
 
1684
1590
  Raises:
1685
- TypeError: If `input` is not a Tensor.
1686
- ValueError: If the size of the last two dimensions of `input` is not the same.
1687
- ValueError: If the dimension of `input` is 1.
1591
+ TypeError: If dtype of `input` is not float16, float32, bfloat16.
1688
1592
 
1689
1593
  Supported Platforms:
1690
1594
  ``Ascend``
1691
1595
 
1692
1596
  Examples:
1597
+ >>> import mindspore
1693
1598
  >>> from mindspore import Tensor, ops
1694
- >>> from mindspore import dtype as mstype
1695
- >>> x = Tensor([[1., 2.], [3., 4.]], mstype.float32)
1696
- >>> print(ops.matrix_inverse_ext(x))
1697
- [[-2. 1. ]
1698
- [ 1.5 -0.5]]
1599
+ >>> import numpy as np
1600
+ >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
1601
+ >>> output = ops.auto_generate.selu_ext(input)
1602
+ >>> print(output)
1603
+ [[-1.1113307 4.202804 -1.7575096]
1604
+ [ 2.101402 -1.7462534 9.456309 ]]
1699
1605
  """
1700
- return matrix_inverse_impl(input)
1606
+ return selu_impl(input)
1701
1607
 
1702
1608
 
1703
- def asin(input):
1609
+ def diag(input, diagonal=0):
1704
1610
  r"""
1705
- Computes arcsine of input tensors element-wise.
1611
+ If input is a vector (1-D tensor), then returns a 2-D square tensor with the elements of input as the diagonal.
1706
1612
 
1707
- .. math::
1613
+ If input is a matrix (2-D tensor), then returns a 1-D tensor with the diagonal elements of input.
1708
1614
 
1709
- out_i = \sin^{-1}(input_i)
1615
+ The argument diagonal controls which diagonal to consider:
1616
+
1617
+ - If `diagonal` = 0, it is the main diagonal.
1618
+
1619
+ - If `diagonal` > 0, it is above the main diagonal.
1620
+
1621
+ - If `diagonal` < 0, it is below the main diagonal.
1622
+
1623
+ .. warning::
1624
+ This is an experimental API that is subject to change or deletion.
1710
1625
 
1711
1626
  Args:
1712
- input (Tensor): The shape of tensor is
1713
- :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
1627
+ input (Tensor): The input tensor.
1628
+ diagonal (int, optional): the diagonal to consider. Defaults: ``0``.
1714
1629
 
1715
1630
  Returns:
1716
- Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
1631
+ Tensor, has the same dtype as the `input`, its shape is up to `diagonal`.
1632
+
1633
+ - If `input` shape is :math:`(x_0)` : then output shape is :math:`(x_0 + \left | diagonal \right | , x_0 + \left | diagonal \right | )` 2-D Tensor.
1634
+
1635
+ - If `input` shape is :math:`(x_0, x_1)` : then output shape is main diagonal to move :math:`(\left | diagonal \right |)` elements remains elements' length 1-D Tensor.
1717
1636
 
1718
1637
  Raises:
1719
1638
  TypeError: If `input` is not a Tensor.
1639
+ ValueError: If shape of `input` is not 1-D and 2-D.
1720
1640
 
1721
1641
  Supported Platforms:
1722
- ``Ascend`` ``GPU`` ``CPU``
1642
+ ``Ascend``
1723
1643
 
1724
1644
  Examples:
1725
- >>> import mindspore
1726
- >>> import numpy as np
1727
1645
  >>> from mindspore import Tensor, ops
1728
- >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
1729
- >>> output = ops.asin_ext(input)
1646
+ >>> input = Tensor([1, 2, 3, 4]).astype('int32')
1647
+ >>> output = ops.auto_generate.diag_ext(input)
1730
1648
  >>> print(output)
1731
- [0.8330927 0.04001068 0.30469266 0.59438497 ]
1649
+ [[1 0 0 0]
1650
+ [0 2 0 0]
1651
+ [0 0 3 0]
1652
+ [0 0 0 4]]
1732
1653
  """
1733
- return asin_impl(input)
1654
+ return diag_impl(input, diagonal)
1734
1655
 
1735
1656
 
1736
- def index_add(input, dim, index, source, alpha=1):
1657
+ def sub(input, other, alpha=1):
1737
1658
  r"""
1738
- Accumulate the elements of `alpha` times `source` into the `input` by adding to the index in the order given in `index`. For example, if ``dim == 0`` , ``index[i] == j`` , and ``alpha = -1`` , then the `i` th row of `source` is subtracted from the `j` th row of `input` . The `dim` th dimension of `source` must have the same size as the length of `index` , and all other dimensions must match `input`, or an error will be raised. For a 3-D tensor, the output is defined as follows:
1659
+ Subtracts scaled other value from input Tensor.
1739
1660
 
1740
1661
  .. math::
1741
- \begin{array}{ll}
1742
- input[index[i],\ :,\ :]\ +=\ alpha * source[i,\ :,\ :] \qquad \#if\ dim == 0 \\
1743
- input[:,\ \ index[i],\ :]\ +=\ alpha * source[:,\ \ i,\ :] \qquad \#if\ dim == 1 \\
1744
- input[:,\ :,\ \ index[i]]\ +=\ alpha * source[:,\ :,\ \ i] \qquad\#if\ dim == 2 \\
1745
- \end{array}
1746
-
1747
- .. warning::
1748
- This is an experimental API that is subject to change or deletion.
1749
-
1662
+
1663
+ out_{i} = input_{i} - alpha \times other_{i}
1664
+
1665
+ Note:
1666
+ - When the two inputs have different shapes,
1667
+ they must be able to broadcast to a common shape.
1668
+ - The two inputs and alpha comply with the implicit type conversion rules to make the data types
1669
+ consistent.
1670
+
1750
1671
  Args:
1751
- input (Tensor): The input Tensor.
1752
- dim (int): The dimension along which to index.
1753
- index (Tensor): Add the value of "input Tensor" and `source` along the dimension of the `dim` according to the specified index value, with data type int32. The `index` must be 1D with the same size as the size of `source` in the `dim` dimension. The values of `index` should be in [0, b), where the b is the size of "input Tensor" in the `dim` dimension.
1754
- source (Tensor): The input tensor with the value to add. Must have same data type as "input Tensor". The shape must be the same as "input Tensor" except the `dim` th dimension.
1755
- alpha (number, optional): The scalar multiplier for source. Default: ``1``.
1756
-
1672
+ input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
1673
+ a bool or a tensor whose data type is
1674
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
1675
+ `bool <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1676
+ other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
1677
+ a bool or a tensor whose data type is
1678
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
1679
+ `bool <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1680
+ alpha (number.Number): A scaling factor applied to `other`, default 1.
1681
+
1757
1682
  Returns:
1758
- Tensor, has the same shape and dtype as `input`.
1683
+ Tensor with a shape that is the same as the broadcasted shape of the input `input` and `other`,
1684
+ and the data type is the one with higher precision or higher digits among the two inputs and alpha.
1759
1685
 
1760
1686
  Raises:
1761
- TypeError: If neither `index` nor `source` is a Tensor.
1762
- ValueError: If the value of `dim` is out of the dimension range of `source` shape.
1763
- ValueError: If `index` rank is not the same as `source` rank.
1764
- ValueError: If shape of `index` is not 1D or size of `index` is not equal to dimension of source[dim].
1765
- ValueError: If the shape of `source` is not the same as that of `input` except the `dim` axis.
1687
+ TypeError: If the type of `input`, `other`, or `alpha` is not one of the following: Tensor, number.Number, bool.
1688
+ TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
1689
+ TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
1766
1690
 
1767
1691
  Supported Platforms:
1768
- ``Ascend``
1692
+ ``Ascend`` ``GPU`` ``CPU``
1769
1693
 
1770
1694
  Examples:
1771
1695
  >>> import numpy as np
1772
1696
  >>> import mindspore
1773
- >>> from mindspore import Tensor, ops
1774
- >>> x = Tensor(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), mindspore.float32)
1775
- >>> index = Tensor(np.array([0, 2]), mindspore.int32)
1776
- >>> y = Tensor(np.array([[0.5, 1.0], [1.0, 1.5], [2.0, 2.5]]), mindspore.float32)
1777
- >>> output = ops.auto_generate.index_add_ext(x, 1, index, y, alpha=1)
1697
+ >>> from mindspore import Tensor
1698
+ >>> from mindspore import ops
1699
+ >>> x = Tensor(np.array([4, 5, 6]).astype(np.float32))
1700
+ >>> y = Tensor(1, mindspore.int32)
1701
+ >>> alpha = 0.5
1702
+ >>> output = ops.auto_generate.sub_ext(x, y, alpha)
1778
1703
  >>> print(output)
1779
- [[ 1.5 2. 4. ]
1780
- [ 5. 5. 7.5]
1781
- [ 9. 8. 11.5]]
1782
- """
1783
- return index_add_impl(input, dim, index, source, alpha)
1784
-
1785
-
1786
- def adaptive_avg_pool2d_grad(grad_output, x):
1787
- r"""
1788
- None
1704
+ [3.5 4.5 5.5]
1705
+ >>> # the data type of x is float32, the data type of y is int32,
1706
+ >>> # alpha is a float, and the output is the data format of higher precision float32.
1707
+ >>> print(output.dtype)
1708
+ Float32
1789
1709
  """
1790
- return adaptive_avg_pool2d_grad_impl(grad_output, x)
1710
+ return sub_impl(input, other, alpha)
1791
1711
 
1792
1712
 
1793
- def acosh(input):
1713
+ def argmax(input, dim=None, keepdim=False):
1794
1714
  r"""
1795
- Computes inverse hyperbolic cosine of the inputs element-wise.
1715
+ argmax(input) -> Tensor
1796
1716
 
1797
- .. math::
1717
+ Return the indices of the maximum values of a tensor.
1798
1718
 
1799
- out_i = \cosh^{-1}(input_i)
1719
+ Args:
1720
+ input (Tensor): Input tensor.
1800
1721
 
1801
- .. note::
1802
- Given an input tensor input, the function computes inverse hyperbolic cosine of every element.
1803
- Input range is [1, inf].
1722
+ Returns:
1723
+ Tensor.
1724
+
1725
+ Supported Platforms:
1726
+ ``Ascend``
1727
+
1728
+ Examples:
1729
+ >>> import numpy as np
1730
+ >>> from mindspore import Tensor
1731
+ >>> from mindspore import ops
1732
+ >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
1733
+ >>> output = ops.auto_generate.argmax_ext(x)
1734
+ >>> print(output)
1735
+ 6
1736
+
1737
+ .. function:: argmax(input, dim, keepdim=False) -> Tensor
1738
+ :noindex:
1739
+
1740
+ Return the indices of the maximum values of a tensor across a dimension.
1804
1741
 
1805
1742
  Args:
1806
- input (Tensor): The input tensor of inverse hyperbolic cosine function.
1743
+ input (Tensor): Input tensor.
1744
+ dim (int): The dimension to reduce.
1745
+ keepdim (bool, optional): Whether the output tensor retains the specified
1746
+ dimension. Default: ``False`` .
1807
1747
 
1808
1748
  Returns:
1809
- Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
1749
+ Tensor, indices of the maximum values across a dimension.
1810
1750
 
1811
1751
  Raises:
1812
- TypeError: If `input` is not a Tensor.
1752
+ TypeError: If `keepdim` is not bool.
1753
+ ValueError: If `dim` is out of range.
1813
1754
 
1814
1755
  Supported Platforms:
1815
- ``Ascend`` ``GPU`` ``CPU``
1756
+ ``Ascend``
1816
1757
 
1817
1758
  Examples:
1818
- >>> import mindspore
1819
1759
  >>> import numpy as np
1820
- >>> from mindspore import Tensor, ops
1821
- >>> input = Tensor(np.array([1.0, 1.5, 3.0, 100.0]), mindspore.float32)
1822
- >>> output = ops.acosh_ext(input)
1823
- >>> print(output)
1824
- [0. 0.9624236 1.7627472 5.298292 ]
1825
- """
1826
- return acosh_impl(input)
1827
-
1828
-
1829
- def inplace_add(input, other, alpha=1):
1830
- r"""
1831
- None
1760
+ >>> from mindspore import Tensor
1761
+ >>> from mindspore import ops
1762
+ >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
1763
+ >>> output = ops.auto_generate.argmax_ext(x, dim=-1)
1764
+ >>> print(output)
1765
+ [1 0 0]
1832
1766
  """
1833
- return inplace_add_impl(input, other, alpha)
1767
+ return argmax_impl(input, dim, keepdim)
1834
1768
 
1835
1769
 
1836
- def diag(input, diagonal=0):
1770
+ def matrix_inverse(input):
1837
1771
  r"""
1838
- If input is a vector (1-D tensor), then returns a 2-D square tensor with the elements of input as the diagonal.
1839
-
1840
- If input is a matrix (2-D tensor), then returns a 1-D tensor with the diagonal elements of input.
1841
-
1842
- The argument diagonal controls which diagonal to consider:
1843
-
1844
- - If `diagonal` = 0, it is the main diagonal.
1845
-
1846
- - If `diagonal` > 0, it is above the main diagonal.
1847
-
1848
- - If `diagonal` < 0, it is below the main diagonal.
1849
-
1850
- .. warning::
1851
- This is an experimental API that is subject to change or deletion.
1772
+ Compute the inverse of the input matrix.
1852
1773
 
1853
1774
  Args:
1854
- input (Tensor): The input tensor.
1855
- diagonal (int, optional): the diagonal to consider. Defaults: ``0``.
1775
+ input (Tensor): A matrix to be calculated. Input `input` must be at least two dimensions, and the size of
1776
+ the last two dimensions must be the same size.
1856
1777
 
1857
1778
  Returns:
1858
- Tensor, has the same dtype as the `input`, its shape is up to `diagonal`.
1859
-
1860
- - If `input` shape is :math:`(x_0)` : then output shape is :math:`(x_0 + \left | diagonal \right | , x_0 + \left | diagonal \right | )` 2-D Tensor.
1861
-
1862
- - If `input` shape is :math:`(x_0, x_1)` : then output shape is main diagonal to move :math:`(\left | diagonal \right |)` elements remains elements' length 1-D Tensor.
1779
+ Tensor, has the same type and shape as input`.
1863
1780
 
1864
1781
  Raises:
1865
1782
  TypeError: If `input` is not a Tensor.
1866
- ValueError: If shape of `input` is not 1-D and 2-D.
1783
+ ValueError: If the size of the last two dimensions of `input` is not the same.
1784
+ ValueError: If the dimension of `input` is 1.
1867
1785
 
1868
1786
  Supported Platforms:
1869
1787
  ``Ascend``
1870
1788
 
1871
1789
  Examples:
1872
1790
  >>> from mindspore import Tensor, ops
1873
- >>> input = Tensor([1, 2, 3, 4]).astype('int32')
1874
- >>> output = ops.auto_generate.diag_ext(input)
1875
- >>> print(output)
1876
- [[1 0 0 0]
1877
- [0 2 0 0]
1878
- [0 0 3 0]
1879
- [0 0 0 4]]
1791
+ >>> from mindspore import dtype as mstype
1792
+ >>> x = Tensor([[1., 2.], [3., 4.]], mstype.float32)
1793
+ >>> print(ops.matrix_inverse_ext(x))
1794
+ [[-2. 1. ]
1795
+ [ 1.5 -0.5]]
1880
1796
  """
1881
- return diag_impl(input, diagonal)
1797
+ return matrix_inverse_impl(input)
1882
1798
 
1883
1799
 
1884
- def frac(input):
1800
+ def matmul(input, other):
1885
1801
  r"""
1886
- Calculates the fractional part of each element in the input.
1887
-
1888
- .. math::
1889
- out_i = input_i - \lfloor |input_i| \rfloor * sgn(input_i)
1802
+ None
1803
+ """
1804
+ return matmul_impl(input, other)
1805
+
1806
+
1807
+ def mse_loss(input, target, reduction='mean'):
1808
+ r"""
1809
+ Calculates the mean squared error between the predicted value and the label value.
1890
1810
 
1891
- .. warning::
1892
- This is an experimental API that is subject to change or deletion.
1811
+ For detailed information, please refer to :class:`mindspore.nn.MSELoss`.
1893
1812
 
1894
1813
  Args:
1895
- input (Tensor): The input Tensor.
1814
+ input (Tensor): Tensor of any dimension. The data type needs to be consistent with the `target`.
1815
+ It should also be broadcastable with the `target`.
1816
+ target (Tensor): The input label. Tensor of any dimension. The data type needs to be consistent with the `input`.
1817
+ It should also be broadcastable with the `input`.
1818
+ reduction (str, optional): Apply specific reduction method to the output: ``'mean'`` , ``'none'`` ,
1819
+ ``'sum'`` . Default: ``'mean'`` .
1820
+
1821
+ - ``'none'``: no reduction will be applied.
1822
+ - ``'mean'``: compute and return the mean of elements in the output.
1823
+ - ``'sum'``: the output elements will be summed.
1896
1824
 
1897
1825
  Returns:
1898
- Tensor, has the same shape and type as input.
1826
+ - Tensor. If `reduction` is ``'mean'`` or ``'sum'``, the shape of output is `Tensor Scalar`.
1827
+ - If reduction is ``'none'``, the shape of output is the broadcasted shape of **input** and **target** .
1899
1828
 
1900
1829
  Raises:
1901
- TypeError: If `input` is not a Tensor.
1830
+ ValueError: If `reduction` is not one of ``'mean'`` , ``'sum'`` or ``'none'``.
1831
+ ValueError: If `input` and `target` are not broadcastable.
1832
+ TypeError: If `input` and `target` are in different data type.
1902
1833
 
1903
1834
  Supported Platforms:
1904
1835
  ``Ascend``
@@ -1907,70 +1838,46 @@ def frac(input):
1907
1838
  >>> import mindspore
1908
1839
  >>> import numpy as np
1909
1840
  >>> from mindspore import Tensor, ops
1910
- >>> x = Tensor([2, 4.2, -2.5], mindspore.float16)
1911
- >>> output = ops.frac_ext(x)
1841
+ >>> logits = Tensor(np.array([1, 2, 3]), mindspore.float32)
1842
+ >>> labels = Tensor(np.array([[1, 1, 1], [1, 2, 2]]), mindspore.float32)
1843
+ >>> output = ops.mse_loss_ext(logits, labels, reduction='none')
1912
1844
  >>> print(output)
1913
- [ 0. 0.1992 -0.5 ]
1845
+ [[0. 1. 4.]
1846
+ [0. 0. 1.]]
1914
1847
  """
1915
- return frac_impl(input)
1848
+ return mse_loss_impl(input, target, converted_reduction)
1916
1849
 
1917
1850
 
1918
- def unfold(input, kernel_size, dilation=1, padding=0, stride=1):
1851
+ def sort(input, dim=-1, descending=False, stable=False):
1919
1852
  r"""
1920
- Extracts sliding local blocks from a batched input tensor.
1921
-
1922
- Consider a batched input tensor of shape :math:`(N, C, *)`,
1923
- where :math:`N` is the batch dimension, :math:`C` is the channel dimension,
1924
- and :math:`*` represent arbitrary spatial dimensions. This operation flattens
1925
- each sliding `Kernel_size`- sized block within the spatial dimensions
1926
- of `input` into a column (i.e., last dimension) of a 3-D output
1927
- tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)`, where
1928
- :math:`C \times \prod(\text{kernel_size})` is the total number of values
1929
- within each block (a block has :math:`\prod(\text{kernel_size})` spatial
1930
- locations each containing a `C`-channeled vector), and :math:`L` is
1931
- the total number of such blocks:
1853
+ None
1854
+ """
1855
+ return sort_impl(input, dim, descending, stable)
1856
+
1857
+
1858
+ def log10(input):
1859
+ r"""
1860
+ Returns the logarithm to the base 10 of a tensor element-wise.
1932
1861
 
1933
1862
  .. math::
1934
- L = \prod_d \left\lfloor\frac{\text{spatial_size}[d] + 2 \times \text{padding}[d] %
1935
- - \text{dilation}[d] \times (\text{kernel_size}[d] - 1) - 1}{\text{stride}[d]} + 1\right\rfloor,
1936
-
1937
- where :math:`\text{spatial_size}` is formed by the spatial dimensions
1938
- of `input` (:math:`*` above), and :math:`d` is over all spatial
1939
- dimensions.
1940
-
1941
- Therefore, indexing `output` at the last dimension (column dimension)
1942
- gives all values within a certain block.
1943
-
1944
- The `dilation`, `padding` and `stride` arguments specify
1945
- how the sliding blocks are retrieved.
1863
+ y_i = \log_{10}(x_i)
1946
1864
 
1947
1865
  .. warning::
1948
- - Currently, batched(4D) image-like tensors are supported.
1949
- - For Ascend, it is only supported on platforms above Atlas A2.
1866
+ - This is an experimental API that is subject to change or deletion.
1867
+ - If the input value of operator Log10 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
1868
+ may be affacted.
1950
1869
 
1951
1870
  Args:
1952
- input (Tensor): 4-D Tensor.
1953
- kernel_size (Union[int, tuple[int], list[int]]): The size of the kernel, should be two int
1954
- for height and width. If type is int, it means that height equal with width. Must be specified.
1955
- dilation (Union[int, tuple[int], list[int]], optional): The dilation of the window, should be two int
1956
- for height and width. If type is int, it means that height equal with width. Default: ``1`` .
1957
- padding (Union[int, tuple[int], list[int]], optional): The pad of the window, should be two int
1958
- for height and width. If type is int, it means that height equal with width. Default: ``0`` .
1959
- stride (Union[int, tuple[int], list[int]], optional): The stride of the window, should be two int
1960
- for height and width. If type is int, it means that height equal with width. Default: ``1`` .
1871
+ input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
1961
1872
 
1962
1873
  Returns:
1963
- A Tensor, with same type as `input` .
1964
-
1965
- Shape:
1966
- - Input: :math:`(N, C, *)`
1967
- - Output: :math:`(N, C \times \prod(\text{kernel_size}), L)`
1874
+ Tensor, has the same shape as the `input`, and the dtype changes according to the `input.dtype`.
1875
+
1876
+ - if `input.dtype` is in [float16, float32, float64, bfloat16], the output dtype is the same as the `input.dtype`.
1877
+ - if `input.dtype` is integer or boolean type, the output dtype is float32.
1968
1878
 
1969
1879
  Raises:
1970
- TypeError: If any data type of `kernel_size`, `stride`, `dilation`, `padding` is not int, tuple or list.
1971
- ValueError: If `kernel_size`, `dilation`, `stride` value is not
1972
- greater than zero or elements number more than `2`.
1973
- ValueError: If `padding` value is less than zero.
1880
+ TypeError: If `input` is not a Tensor.
1974
1881
 
1975
1882
  Supported Platforms:
1976
1883
  ``Ascend``
@@ -1979,63 +1886,101 @@ def unfold(input, kernel_size, dilation=1, padding=0, stride=1):
1979
1886
  >>> import mindspore
1980
1887
  >>> import numpy as np
1981
1888
  >>> from mindspore import Tensor, ops
1982
- >>> x = Tensor(np.random.rand(4, 4, 32, 32), mindspore.float32)
1983
- >>> output = ops.auto_generate.unfold_ext(x, kernel_size=3, dilation=1, stride=1)
1984
- >>> print(output.shape)
1985
- (4, 36, 900)
1889
+ >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
1890
+ >>> output = ops.auto_generate.log10_ext(x)
1891
+ >>> print(output)
1892
+ [0.47712136 0.69897 0.845098 ]
1986
1893
  """
1987
- return unfold_impl(input, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
1894
+ return log10_impl(input)
1988
1895
 
1989
1896
 
1990
- def softplus(input, beta=1, threshold=20):
1897
+ def tril(input, diagonal=0):
1991
1898
  r"""
1992
- Applies softplus function to `input` element-wise.
1899
+ None
1900
+ """
1901
+ return tril_impl(input, diagonal)
1902
+
1903
+
1904
+ def topk(input, k, dim=-1, largest=True, sorted=True):
1905
+ r"""
1906
+ Finds values and indices of the `k` largest or smallest entries along a given dimension.
1993
1907
 
1994
- The softplus function is shown as follows, x is the element of `input` :
1908
+ .. warning::
1909
+ - If sorted is set to False, due to different memory layout and traversal methods on different platforms,
1910
+ the display order of calculation results may be inconsistent when `sorted` is False.
1911
+
1912
+ If the `input` is a one-dimensional Tensor, finds the `k` largest or smallest entries in the Tensor,
1913
+ and outputs its value and index as a Tensor. values[`k`] is the `k` largest item in `input`,
1914
+ and its index is indices [`k`].
1915
+
1916
+ For a multi-dimensional matrix,
1917
+ calculates the first or last `k` entries in a given dimension, therefore:
1995
1918
 
1996
1919
  .. math::
1997
1920
 
1998
- \text{output} = \frac{1}{beta}\log(1 + \exp(\text{beta * x}))
1921
+ values.shape = indices.shape
1999
1922
 
2000
- where :math:`input * beta > threshold`, the implementation converts to the linear function to ensure numerical stability.
1923
+ If the two compared elements are the same, the one with the smaller index value is returned first.
2001
1924
 
2002
1925
  Args:
2003
- input (Tensor): Tensor of any dimension. Supported dtypes:
2004
-
2005
- - Ascend: float16, float32, bfloat16.
2006
- beta (number.Number, optional): Scaling parameters in the softplus function. Default: ``1`` .
2007
- threshold (number.Number, optional): For numerical stability, the softplus function is converted
2008
- to a threshold parameter of a linear function. Default: ``20`` .
1926
+ input (Tensor): Input to be computed.
1927
+ k (int): The number of top or bottom elements to be computed along the last dimension.
1928
+ dim (int, optional): The dimension to sort along. Default: ``-1`` .
1929
+ largest (bool, optional): If largest is ``False`` then the k smallest elements are returned.
1930
+ Default: ``True`` .
1931
+ sorted (bool, optional): If ``True`` , the obtained elements will be sorted by the values in descending
1932
+ order or ascending order according to `largest`. If ``False`` , the obtained elements will not be
1933
+ sorted. Default: ``True`` .
2009
1934
 
2010
1935
  Returns:
2011
- Tensor, with the same type and shape as the input.
1936
+ A tuple consisting of `values` and `indices`.
1937
+
1938
+ - values (Tensor) - The `k` largest or smallest elements in each slice of the given dimension.
1939
+ - indices (Tensor) - The indices of values within the last dimension of input.
2012
1940
 
2013
1941
  Raises:
1942
+ TypeError: If `sorted` is not a bool.
2014
1943
  TypeError: If `input` is not a Tensor.
2015
- TypeError: If dtype of `input` is not float16, float32, bfloat16.
1944
+ TypeError: If `k` is not an int.
2016
1945
 
2017
1946
  Supported Platforms:
2018
- ``Ascend``
1947
+ ``Ascend``
2019
1948
 
2020
1949
  Examples:
2021
- >>> import mindspore
2022
- >>> import numpy as np
2023
- >>> from mindspore import Tensor, ops
2024
- >>> input = Tensor(np.array([0.1, 0.2, 30, 25]), mindspore.float32)
2025
- >>> output = ops.auto_generate.softplus_ext(input)
1950
+ >>> import mindspore as ms
1951
+ >>> from mindspore import ops
1952
+ >>> x = ms.Tensor([[0.5368, 0.2447, 0.4302, 0.9673],
1953
+ ... [0.4388, 0.6525, 0.4685, 0.1868],
1954
+ ... [0.3563, 0.5152, 0.9675, 0.8230]], dtype=ms.float32)
1955
+ >>> output = ops.topk_ext(x, 2, dim=1)
2026
1956
  >>> print(output)
2027
- [0.74439657 0.7981388 30. 25.]
1957
+ (Tensor(shape=[3, 2], dtype=Float32, value=
1958
+ [[ 9.67299998e-01, 5.36800027e-01],
1959
+ [ 6.52499974e-01, 4.68499988e-01],
1960
+ [ 9.67499971e-01, 8.23000014e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
1961
+ [[3, 0],
1962
+ [1, 2],
1963
+ [2, 3]]))
1964
+ >>> output2 = ops.topk_ext(x, 2, dim=1, largest=False)
1965
+ >>> print(output2)
1966
+ (Tensor(shape=[3, 2], dtype=Float32, value=
1967
+ [[ 2.44700000e-01, 4.30200011e-01],
1968
+ [ 1.86800003e-01, 4.38800007e-01],
1969
+ [ 3.56299996e-01, 5.15200019e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
1970
+ [[1, 2],
1971
+ [3, 0],
1972
+ [0, 1]]))
2028
1973
  """
2029
- return softplus_impl(input, beta, threshold)
1974
+ return topk_impl(input, k, dim, largest, sorted)
2030
1975
 
2031
1976
 
2032
- def sub(input, other, alpha=1):
1977
+ def add(input, other, alpha=1):
2033
1978
  r"""
2034
- Subtracts scaled other value from input Tensor.
1979
+ Adds scaled other value to input Tensor.
2035
1980
 
2036
1981
  .. math::
2037
1982
 
2038
- out_{i} = input_{i} - alpha \times other_{i}
1983
+ out_{i} = input_{i} + alpha \times other_{i}
2039
1984
 
2040
1985
  Note:
2041
1986
  - When the two inputs have different shapes,
@@ -2047,11 +1992,11 @@ def sub(input, other, alpha=1):
2047
1992
  input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
2048
1993
  a bool or a tensor whose data type is
2049
1994
  `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
2050
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1995
+ `bool <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
2051
1996
  other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
2052
1997
  a bool or a tensor whose data type is
2053
1998
  `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
2054
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1999
+ `bool <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
2055
2000
  alpha (number.Number): A scaling factor applied to `other`, default 1.
2056
2001
 
2057
2002
  Returns:
@@ -2070,86 +2015,82 @@ def sub(input, other, alpha=1):
2070
2015
  >>> import numpy as np
2071
2016
  >>> import mindspore
2072
2017
  >>> from mindspore import Tensor
2073
- >>> from mindspore import ops
2074
- >>> x = Tensor(np.array([4, 5, 6]).astype(np.float32))
2075
- >>> y = Tensor(1, mindspore.int32)
2018
+ >>> from mindspore import ops
2019
+ >>> x = Tensor(1, mindspore.int32)
2020
+ >>> y = Tensor(np.array([4, 5, 6]).astype(np.float32))
2076
2021
  >>> alpha = 0.5
2077
- >>> output = ops.auto_generate.sub_ext(x, y, alpha)
2022
+ >>> output = ops.auto_generate.add_ext(x, y, alpha)
2078
2023
  >>> print(output)
2079
- [3.5 4.5 5.5]
2080
- >>> # the data type of x is float32, the data type of y is int32,
2024
+ [3. 3.5 4.]
2025
+ >>> # the data type of x is int32, the data type of y is float32,
2081
2026
  >>> # alpha is a float, and the output is the data format of higher precision float32.
2082
2027
  >>> print(output.dtype)
2083
2028
  Float32
2084
2029
  """
2085
- return sub_impl(input, other, alpha)
2030
+ return add_impl(input, other, alpha)
2086
2031
 
2087
2032
 
2088
- def log10(input):
2033
+ def bmm(input, mat2):
2089
2034
  r"""
2090
- Returns the logarithm to the base 10 of a tensor element-wise.
2035
+ Performs batch matrix-matrix multiplication of two three-dimensional tensors.
2091
2036
 
2092
2037
  .. math::
2093
- y_i = \log_{10}(x_i)
2094
-
2095
- .. warning::
2096
- - This is an experimental API that is subject to change or deletion.
2097
- - If the input value of operator Log10 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
2098
- may be affacted.
2038
+ \text{output}= \text{input} @ \text{mat2}
2099
2039
 
2100
2040
  Args:
2101
- input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
2041
+ input (Tensor): The first batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, n, m)`.
2042
+ mat2 (Tensor): The second batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, m, p)`.
2102
2043
 
2103
2044
  Returns:
2104
- Tensor, has the same shape as the `input`, and the dtype changes according to the `input.dtype`.
2105
-
2106
- - if `input.dtype` is in [float16, float32, float64, bfloat16], the output dtype is the same as the `input.dtype`.
2107
- - if `input.dtype` is integer or boolean type, the output dtype is float32.
2045
+ Tensor, the output tensor of shape `(b, n, p)`, where each matrix is the product of the corresponding matrices in the input batches.
2108
2046
 
2109
2047
  Raises:
2110
- TypeError: If `input` is not a Tensor.
2048
+ ValueError: If `input` or `mat2` is not three-dimensional tensors.
2049
+ ValueError: If the length of the third dimension of `input` is not equal to the length of the second dimension of `mat2`.
2050
+ ValueError: If the batch size of the inputs is not equal to the batch size of the mat2.
2111
2051
 
2112
2052
  Supported Platforms:
2113
- ``Ascend``
2053
+ ``Ascend`` ``GPU`` ``CPU``
2114
2054
 
2115
2055
  Examples:
2116
2056
  >>> import mindspore
2117
2057
  >>> import numpy as np
2118
- >>> from mindspore import Tensor, ops
2119
- >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
2120
- >>> output = ops.auto_generate.log10_ext(x)
2058
+ >>> from mindspore import Tensor
2059
+ >>> from mindspore import ops
2060
+ >>> a = Tensor(np.ones(shape=[2, 3, 4]), mindspore.float32)
2061
+ >>> b = Tensor(np.ones(shape=[2, 4, 5]), mindspore.float32)
2062
+ >>> output = ops.auto_generate.bmm_ext(a, b)
2121
2063
  >>> print(output)
2122
- [0.47712136 0.69897 0.845098 ]
2064
+ [[[4. 4. 4. 4. 4.]
2065
+ [4. 4. 4. 4. 4.]
2066
+ [4. 4. 4. 4. 4.]]
2067
+ [[4. 4. 4. 4. 4.]
2068
+ [4. 4. 4. 4. 4.]
2069
+ [4. 4. 4. 4. 4.]]]
2123
2070
  """
2124
- return log10_impl(input)
2071
+ return bmm_impl(input, mat2)
2125
2072
 
2126
2073
 
2127
- def log_softmax(input, dim=None, dtype=None):
2074
+ def log2(input):
2128
2075
  r"""
2129
- Applies the Log Softmax function to the input tensor on the specified axis.
2130
- Supposes a slice in the given axis, :math:`x` for each element :math:`x_i`,
2131
- the Log Softmax function is shown as follows:
2076
+ Returns the logarithm to the base 2 of a tensor element-wise.
2132
2077
 
2133
2078
  .. math::
2134
- \text{output}(x_i) = \log \left(\frac{\exp(x_i)} {\sum_{j = 0}^{N-1}\exp(x_j)}\right),
2079
+ y_i = \log_2(x_i)
2135
2080
 
2136
- where :math:`N` is the length of the Tensor.
2081
+ .. warning::
2082
+ - If the input value of operator Log2 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
2083
+ may be affacted.
2137
2084
 
2138
2085
  Args:
2139
- input (Tensor): The input Tensor.
2140
- dim (int, optional): The axis to perform the Log softmax operation. Default: ``None`` .
2141
-
2142
- Keyword Args:
2143
- dtype (:class:`mindspore.dtype`, optional): The desired dtype of returned Tensor. If not set to None, the input
2144
- Tensor will be cast to `dtype` before the operation is performed. This is useful for preventing overflows.
2145
- If set to None, stay the same as original Tensor. Default: ``None`` . Supported data type is {float16, float32, double, bfloat16}.
2086
+ input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
2146
2087
 
2147
2088
  Returns:
2148
- Tensor, with the same shape as the input.
2089
+ Tensor, has the same shape as the `input`. If `input.dtype` is of integer or boolean type, the output dtype
2090
+ will be float32. Otherwise, the output dtype will be the same as `input.dtype`.
2149
2091
 
2150
2092
  Raises:
2151
- TypeError: If `dim` is not an int.
2152
- ValueError: If `dim` is not in range [-len(input.shape), len(input.shape)).
2093
+ TypeError: If `input` is not a Tensor.
2153
2094
 
2154
2095
  Supported Platforms:
2155
2096
  ``Ascend``
@@ -2158,121 +2099,138 @@ def log_softmax(input, dim=None, dtype=None):
2158
2099
  >>> import mindspore
2159
2100
  >>> import numpy as np
2160
2101
  >>> from mindspore import Tensor, ops
2161
- >>> logits = Tensor(np.array([1, 2, 3, 4, 5]), mindspore.float32)
2162
- >>> output = ops.auto_generate.log_softmax(logits, dim=-1)
2102
+ >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
2103
+ >>> output = ops.auto_generate.log2_ext(x)
2163
2104
  >>> print(output)
2164
- [-4.4519143 -3.4519143 -2.4519143 -1.4519144 -0.4519144]
2105
+ [1.5849625 2.321928 2.807355 ]
2165
2106
  """
2166
- return log_softmax_impl(input, dim, dtype)
2107
+ return log2_impl(input)
2167
2108
 
2168
2109
 
2169
- def acos(input):
2110
+ def inplace_add(input, other, alpha=1):
2170
2111
  r"""
2171
- Computes arccosine of input tensors element-wise.
2112
+ None
2113
+ """
2114
+ return inplace_add_impl(input, other, alpha)
2115
+
2116
+
2117
+ def elu(input, alpha=1.0):
2118
+ r"""
2119
+ Exponential Linear Unit activation function.
2120
+
2121
+ Applies the exponential linear unit function element-wise.
2122
+ The activation function is defined as:
2172
2123
 
2173
2124
  .. math::
2174
2125
 
2175
- out_i = \cos^{-1}(input_i)
2126
+ \text{ELU}(x)= \left\{
2127
+ \begin{array}{align}
2128
+ \alpha(e^{x} - 1) & \text{if } x \le 0\\
2129
+ x & \text{if } x \gt 0\\
2130
+ \end{array}\right.
2131
+
2132
+ Where :math:`x` is the element of input Tensor `input`, :math:`\alpha` is param `alpha`,
2133
+ it determines the smoothness of ELU.
2134
+
2135
+ ELU function graph:
2136
+
2137
+ .. image:: ../images/ELU.png
2138
+ :align: center
2176
2139
 
2177
2140
  Args:
2178
- input (Tensor): The shape of tensor is
2179
- :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
2141
+ input (Tensor): The input of ELU is a Tensor of any dimension.
2142
+ alpha (float, optional): The alpha value of ELU, the data type is float.
2143
+ Default: ``1.0`` .
2180
2144
 
2181
2145
  Returns:
2182
- Tensor, has the same shape as `input`. The dtype of output is float32 when dtype of `input` is in [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
2146
+ Tensor, has the same shape and data type as `input`.
2183
2147
 
2184
2148
  Raises:
2185
- TypeError: If `input` is not a Tensor.
2149
+ TypeError: If `alpha` is not a float.
2186
2150
 
2187
2151
  Supported Platforms:
2188
- ``Ascend`` ``GPU`` ``CPU``
2152
+ ``Ascend``
2189
2153
 
2190
2154
  Examples:
2191
2155
  >>> import mindspore
2192
2156
  >>> import numpy as np
2193
2157
  >>> from mindspore import Tensor, ops
2194
- >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
2195
- >>> output = ops.acos_ext(input)
2158
+ >>> x = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
2159
+ >>> output = ops.auto_generate.elu_ext(x)
2196
2160
  >>> print(output)
2197
- [0.7377037 1.5307857 1.2661037 0.9764114]
2161
+ [[-0.63212055 4. -0.99966455]
2162
+ [ 2. -0.99326205 9. ]]
2198
2163
  """
2199
- return acos_impl(input)
2164
+ return elu_impl(input, alpha)
2200
2165
 
2201
2166
 
2202
- def max_unpool2d(input, indices, kernel_size, stride=None, padding=0, output_size=None):
2167
+ def adaptive_avg_pool2d_grad(grad_output, x):
2203
2168
  r"""
2204
- Computes the inverse of `max_pool2d`.
2169
+ None
2170
+ """
2171
+ return adaptive_avg_pool2d_grad_impl(grad_output, x)
2172
+
2173
+
2174
+ def bincount(input, weights=None, minlength=0):
2175
+ r"""
2176
+ Count the occurrences of each value in the input.
2205
2177
 
2206
- `max_unpool2d` keeps the maximal value and set all position of non-maximal values to zero. Typically the input is of shape :math:`(N, C, H_{in}, W_{in})` or :math:`(C, H_{in}, W_{in})`, and the output is of shape :math:`(N, C, H_{out}, W_{out})` or :math:`(C, H_{out}, W_{out})`. The operation is as follows.
2178
+ If `minlength` is not specified, the length of the output Tensor is the maximum value in the input plus one.
2179
+ If `minlength` is specified, the length of the output Tensor is the maximum value between `minlength` or
2180
+ the maximum value in the input plus one.
2207
2181
 
2208
- .. math::
2209
- \begin{array}{ll} \\
2210
- H_{out} = (H_{in} - 1) \times stride[0] - 2 \times padding[0] + kernel\_size[0] \\
2211
- W_{out} = (W_{in} - 1) \times stride[1] - 2 \times padding[1] + kernel\_size[1] \\
2212
- \end{array}
2182
+ Each value in the output Tensor represents the number of occurrences of that index value in the input.
2183
+ If `weights` is specified, the output results are weighted,
2184
+ i.e., :math:`out[n] += weight[i]` instead of :math:`out[n] += 1`.
2213
2185
 
2214
2186
  .. warning::
2215
2187
  This is an experimental API that is subject to change or deletion.
2216
2188
 
2217
2189
  Args:
2218
- input (Tensor): The input Tensor to invert. Tensor of shape :math:`(N, C, H_{in}, W_{in})` or :math:`(C, H_{in}, W_{in})`.
2219
- indices (Tensor): Max values' index represented by the indices. Tensor of shape must be same with input 'input'. Values of indices must belong to :math:`[0, H_{in} \times W_{in} - 1]`. Data type must be in int32 or int64.
2220
- kernel_size (Union[int, tuple[int]]): The size of kernel used to take the maximum value, an int number that represents height and width of the kernel, or a tuple of two int numbers that represent height and width respectively.
2221
- stride (Union[int, tuple[int]], optional): The distance of kernel moving, an int number that represents the height and width of movement are both stride, or a tuple of two int numbers that represent height and width of movement respectively. Default: ``None`` , which indicates the moving step is `kernel_size` .
2222
- padding (Union[int, tuple[int]], optional): The pad value to be filled. Default: ``0`` . If `padding` is an integer, the paddings of height and width are the same, equal to padding. If `padding` is a tuple of two integers, the padding of height and width equal to padding[0] and padding[1] correspondingly.
2223
- output_size (tuple[int], optional): The target output size. Default: ``None`` . If output_size == (), then the shape of output computed by `kernel_size`, `stride` and `padding`. If output_size != (), then output_size must be :math:`(N, C, H, W)` , :math:`(C, H, W)` or :math:`(H, W)` and output_size must belong to :math:`[(N, C, H_{out} - stride[0], W_{out} - stride[1]), (N, C, H_{out} + stride[0], W_{out} + stride[1])]`.
2190
+ input (Tensor): A one-dimensional Tensor.
2191
+ weights (Tensor, optional): Weights with the same shape as the input. Default: ``None``.
2192
+ minlength (int, optional): The minimum length of output Tensor. Should be non-negative. Default: ``0``.
2224
2193
 
2225
2194
  Returns:
2226
- Tensor, with shape :math:`(N, C, H_{out}, W_{out})` or :math:`(C, H_{out}, W_{out})`, with the same data type with `input`.
2195
+ Tensor, If input is non-empty, the output shape is :math:`(max(max(input)+1, minlength), )`,
2196
+ otherwise the shape is :math:`(0, )`.
2227
2197
 
2228
2198
  Raises:
2229
- TypeError: If data type of `input` or `indices` is not supported.
2230
- TypeError: If `kernel_size`, `stride` or `padding` is neither an int nor a tuple.
2231
- ValueError: If numbers in `stride`, `padding` or `kernel_size` are not positive.
2232
- ValueError: If the shapes of `input` and `indices` are different.
2233
- ValueError: If the length of `input` is not 3 or 4.
2234
- ValueError: If the type of `output_size` is not tuple.
2235
- ValueError: If `output_size` is not close to output size computed by attr `kernel_size`, `stride`, `padding`.
2199
+ TypeError: If `input` or `weights` is not a Tensor.
2200
+ ValueError: If `input` contains negative values.
2201
+ ValueError: If `input` is not one-dimensional or `input` and `weights` do not have the same shape.
2236
2202
 
2237
2203
  Supported Platforms:
2238
2204
  ``Ascend``
2239
2205
 
2240
2206
  Examples:
2241
- >>> import numpy as np
2242
- >>> from mindspore import Tensor, ops
2243
- >>> input = Tensor(np.array([[[[0, 1], [8, 9]]]]).astype(np.float32))
2244
- >>> indices = Tensor(np.array([[[[0, 1], [2, 3]]]]).astype(np.int64))
2245
- >>> output = ops.max_unpool2d_ext(input, indices, 1, stride=1, padding=0)
2246
- >>> print(output.asnumpy())
2247
- [[[[0. 1.]
2248
- [8. 9.]]]]
2207
+ >>> from mindspore import ops, Tensor
2208
+ >>> print(ops.auto_generate.bincount_ext(Tensor(np.arange(5))))
2209
+ [1 1 1 1 1]
2210
+ >>> print(ops.auto_generate.bincount_ext(Tensor(np.array([0, 1, 1, 3, 2, 1, 7]))))
2211
+ [1 3 1 1 0 0 0 1]
2212
+ >>> w = Tensor(np.array([0.3, 0.5, 0.2, 0.7, 1., -0.6])) # weights
2213
+ >>> x = Tensor(np.array([0, 1, 1, 2, 2, 2]))
2214
+ >>> print(ops.auto_generate.bincount_ext(x, weights=w, minlength=5))
2215
+ [0.3 0.7 1.1 0. 0. ]
2249
2216
  """
2250
- return max_unpool2d_impl(input, indices, kernel_size, stride, padding, output_size)
2217
+ return bincount_impl(input, weights, minlength)
2251
2218
 
2252
2219
 
2253
- def argsort(input, dim=-1, descending=False, stable=False):
2220
+ def trace(input):
2254
2221
  r"""
2255
- Sorts the input tensor along the given dimension in specified order and return the sorted indices.
2256
-
2257
- .. warning::
2258
- This is an experimental optimizer API that is subject to change.
2222
+ Returns a new tensor that is the sum of the `input` main trace.
2259
2223
 
2260
2224
  Args:
2261
- input(Tensor): The input tensor to sort.
2262
- dim (int, optional): The dim to sort along. Default: ``-1`` , means the last dimension.
2263
- The Ascend backend only supports sorting the last dimension.
2264
- descending (bool, optional): The sort order. If `descending` is ``True`` then the elements
2265
- are sorted in descending order by value. Otherwise sort in ascending order. Default: ``False`` .
2266
- stable (bool, optional): Whether to use stable sorting algorithm. Default: ``False``.
2225
+ input (Tensor): 2-D Tensor.
2267
2226
 
2268
2227
  Returns:
2269
- Tensor, the indices of sorted input tensor. Data type is int64.
2228
+ Tensor, when the data type of `input` is integer or bool, its data type is int64, otherwise it is the same as `input`, and size equals to 1.
2270
2229
 
2271
2230
  Raises:
2272
- ValueError: If `dim` is out of range.
2273
- TypeError: If dtype of `dim` is not int32.
2274
- TypeError: If dtype of `descending` is not bool.
2275
- TypeError: If dtype of `stable` is not bool.
2231
+ TypeError: If `input` is not a Tensor.
2232
+ ValueError: If the dimension of `input` is not equal to 2.
2233
+ TypeError: If the dtype of `input` is not one of float16, float32, float64, bool, uint8, int8, int16, int32, int64, complex64, complex128, bfloat16.
2276
2234
 
2277
2235
  Supported Platforms:
2278
2236
  ``Ascend``
@@ -2281,26 +2239,18 @@ def argsort(input, dim=-1, descending=False, stable=False):
2281
2239
  >>> import mindspore
2282
2240
  >>> import numpy as np
2283
2241
  >>> from mindspore import Tensor, ops
2284
- >>> x = Tensor(np.array([[8, 2, 1], [5, 9, 3], [4, 6, 7]]), mindspore.float16)
2285
- >>> sort = ops.auto_generate.argsort_ext(x)
2286
- >>> print(sort)
2287
- [[2 1 0]
2288
- [2 0 1]
2289
- [0 1 2]]
2290
- """
2291
- return argsort_impl(input, dim, descending, stable)
2292
-
2293
-
2294
- def adaptive_avg_pool3d(input, output_size):
2295
- r"""
2296
- None
2297
- """
2298
- return adaptive_avg_pool3d_impl(input, output_size)
2299
-
2300
-
2301
- def matmul(input, other):
2302
- r"""
2303
- None
2242
+ >>> input = Tensor(np.array([[10, 11, 12], [13, 14, 15], [16, 17, 18]]), mindspore.float32)
2243
+ >>> output = ops.trace_ext(input)
2244
+ >>> print(output)
2245
+ 42.0
2246
+ >>> input = Tensor(np.arange(1, 13).reshape(3, 4), mindspore.float32)
2247
+ >>> output = ops.trace_ext(input)
2248
+ >>> print(output)
2249
+ 18.0
2250
+ >>> input = Tensor(np.arange(12, 0, -1).reshape(4, 3), mindspore.float32)
2251
+ >>> output = ops.trace_ext(input)
2252
+ >>> print(output)
2253
+ 24.0
2304
2254
  """
2305
- return matmul_impl(input, other)
2255
+ return trace_impl(input)
2306
2256