mindspore 2.6.0__cp311-none-any.whl → 2.7.0rc1__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 (4131) hide show
  1. mindspore/.commit_id +1 -1
  2. mindspore/Third_Party_Open_Source_Software_Notice +1290 -0
  3. mindspore/__init__.py +1 -1
  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 +40 -9
  8. mindspore/{_deprecated → _extends/optimize}/__init__.py +9 -3
  9. mindspore/_extends/optimize/cell_utils.py +96 -0
  10. mindspore/_extends/parse/__init__.py +2 -2
  11. mindspore/_extends/parse/compile_config.py +44 -22
  12. mindspore/_extends/parse/deprecated/deprecated_tensor_method.py +1 -1
  13. mindspore/_extends/parse/parser.py +36 -61
  14. mindspore/_extends/parse/resources.py +39 -0
  15. mindspore/_extends/parse/standard_method.py +32 -13
  16. mindspore/_extends/parse/trope.py +8 -1
  17. mindspore/_extends/pijit/__init__.py +1 -2
  18. mindspore/amp.py +4 -4
  19. mindspore/boost/adasum.py +1 -1
  20. mindspore/boost/boost_cell_wrapper.py +4 -4
  21. mindspore/common/__init__.py +27 -2
  22. mindspore/common/_grad_function.py +2 -1
  23. mindspore/common/_pijit_context.py +28 -7
  24. mindspore/common/_stub_tensor.py +1 -209
  25. mindspore/common/_tensor_cpp_method.py +1 -1
  26. mindspore/common/_tensor_docs.py +3273 -3212
  27. mindspore/common/api.py +193 -112
  28. mindspore/common/dtype.py +21 -11
  29. mindspore/common/dump.py +10 -15
  30. mindspore/common/generator.py +2 -3
  31. mindspore/common/hook_handle.py +11 -2
  32. mindspore/common/jit_config.py +1 -1
  33. mindspore/common/jit_trace.py +84 -105
  34. mindspore/common/parameter.py +26 -12
  35. mindspore/common/recompute.py +3 -3
  36. mindspore/common/sparse_tensor.py +0 -3
  37. mindspore/common/symbol.py +0 -1
  38. mindspore/common/tensor.py +48 -83
  39. mindspore/communication/_comm_helper.py +46 -4
  40. mindspore/communication/management.py +79 -7
  41. mindspore/context.py +38 -23
  42. mindspore/dataset/core/config.py +3 -3
  43. mindspore/dataset/engine/datasets.py +20 -7
  44. mindspore/dataset/engine/datasets_user_defined.py +32 -2
  45. mindspore/dataset/engine/iterators.py +2 -2
  46. mindspore/dataset/engine/obs/config_loader.py +2 -2
  47. mindspore/dataset/engine/obs/obs_mindrecord_dataset.py +8 -0
  48. mindspore/dataset/transforms/py_transforms.py +7 -3
  49. mindspore/dataset/transforms/transforms.py +7 -3
  50. mindspore/dataset/vision/validators.py +1 -0
  51. mindspore/device_context/ascend/device.py +1 -1
  52. mindspore/device_context/gpu/__init__.py +2 -2
  53. mindspore/device_context/gpu/device.py +1 -1
  54. mindspore/device_context/gpu/op_precision.py +4 -2
  55. mindspore/device_context/gpu/op_tuning.py +6 -3
  56. mindspore/device_manager.py +16 -9
  57. mindspore/experimental/llm_boost/ascend_native/llama_boost_ascend_native.py +3 -5
  58. mindspore/experimental/llm_boost/atb/boost_base.py +2 -3
  59. mindspore/experimental/optim/adadelta.py +13 -20
  60. mindspore/experimental/optim/adagrad.py +15 -22
  61. mindspore/experimental/optim/adam.py +17 -24
  62. mindspore/experimental/optim/adamax.py +14 -22
  63. mindspore/experimental/optim/adamw.py +28 -34
  64. mindspore/experimental/optim/asgd.py +15 -25
  65. mindspore/experimental/optim/lr_scheduler.py +27 -45
  66. mindspore/experimental/optim/nadam.py +14 -24
  67. mindspore/experimental/optim/optimizer.py +13 -23
  68. mindspore/experimental/optim/radam.py +18 -24
  69. mindspore/experimental/optim/rmsprop.py +14 -25
  70. mindspore/experimental/optim/rprop.py +15 -26
  71. mindspore/experimental/optim/sgd.py +9 -19
  72. mindspore/hal/__init__.py +4 -4
  73. mindspore/hal/contiguous_tensors_handle.py +2 -2
  74. mindspore/hal/memory.py +1 -0
  75. mindspore/include/api/cell.h +37 -1
  76. mindspore/include/api/delegate.h +10 -0
  77. mindspore/include/api/model.h +3 -0
  78. mindspore/include/api/types.h +2 -2
  79. mindspore/include/c_api/model_c.h +0 -58
  80. mindspore/include/c_api/tensor_c.h +0 -26
  81. mindspore/include/dataset/vision_ascend.h +1 -1
  82. mindspore/include/mindapi/base/type_id.h +3 -0
  83. mindspore/include/mindapi/base/types.h +7 -0
  84. mindspore/include/mindspore/ccsrc/availability/silent_check/silent_check.h +3 -4
  85. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_cluster_cloud.h +1 -0
  86. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_comm_info_manager.h +1 -1
  87. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/eliminate_redundant_output.h +1 -0
  88. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/graph_kernel_utils.h +15 -0
  89. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/update_state_formatter.h +2 -1
  90. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/depend_edge_elimination.h +61 -0
  91. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/graph_kernel_flags.h +9 -0
  92. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/lite_graph.h +1 -1
  93. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/node.h +5 -6
  94. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse.h +1 -2
  95. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse_checker.h +0 -1
  96. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_swap_manager.h +0 -1
  97. mindspore/include/mindspore/ccsrc/backend/common/optimizer/cache_manager.h +1 -1
  98. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/convert_custom_op.h +2 -2
  99. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/link_custom_op.h +1 -1
  100. mindspore/include/mindspore/ccsrc/backend/common/pass/add_attr_to_node/add_attr_to_node_register.h +1 -3
  101. mindspore/include/mindspore/ccsrc/backend/common/pass/adjust_depend_for_parallel_optimizer_recompute_all_gather.h +1 -1
  102. mindspore/include/mindspore/ccsrc/backend/common/pass/convert_list_to_tuple.h +2 -1
  103. mindspore/include/mindspore/ccsrc/backend/common/pass/custom_defined_depend.h +1 -3
  104. mindspore/include/mindspore/ccsrc/backend/common/pass/gradients_allreduce_depend_last_send.h +1 -2
  105. mindspore/include/mindspore/ccsrc/backend/common/pass/graph_view_replace_pass.h +1 -1
  106. mindspore/include/mindspore/ccsrc/backend/common/pass/insert_tensor_move_for_communication.h +2 -1
  107. mindspore/include/mindspore/ccsrc/{plugin/device/ascend/optimizer → backend/common/pass}/ir_fusion/flash_attention_fusion.h +7 -8
  108. mindspore/include/mindspore/ccsrc/backend/common/pass/label_1f1b_overlap_node.h +1 -1
  109. mindspore/include/mindspore/ccsrc/backend/common/pass/mindir/add_depend_for_adamw.h +1 -3
  110. mindspore/include/mindspore/ccsrc/backend/common/pass/optimize_gradients_allreduce_overlap.h +1 -1
  111. mindspore/include/mindspore/ccsrc/backend/common/pass/replace_node_by_proxy.h +1 -0
  112. mindspore/include/mindspore/ccsrc/backend/common/session/exec_order_builder.h +0 -2
  113. mindspore/include/mindspore/ccsrc/backend/common/session/session_basic.h +13 -16
  114. mindspore/include/mindspore/ccsrc/backend/common/somas/somas.h +1 -1
  115. mindspore/include/mindspore/ccsrc/backend/common/somas/somas_node.h +8 -2
  116. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_device_res_manager.h +1 -2
  117. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_graph_executor.h +13 -14
  118. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_utils.h +0 -2
  119. mindspore/include/mindspore/ccsrc/backend/ge_backend/ge_backend.h +10 -8
  120. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/convert.h +2 -1
  121. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/graph_runner.h +2 -1
  122. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/utils.h +12 -14
  123. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_fusion.h +51 -0
  124. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/abstract_actor.h +26 -19
  125. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_common.h +14 -5
  126. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_dump.h +2 -1
  127. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_set.h +1 -1
  128. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/control_actor.h +38 -38
  129. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/entrance_actor.h +9 -9
  130. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/exit_actor.h +8 -8
  131. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/gather_actor.h +6 -6
  132. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/stack_actor.h +11 -11
  133. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/switch_actor.h +2 -2
  134. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_prepare_actor.h +16 -16
  135. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_source_actor.h +9 -9
  136. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_actor.h +8 -8
  137. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_aware_actor.h +2 -2
  138. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/loop_count_actor.h +6 -6
  139. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_aware_actor.h +6 -6
  140. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_manager_actor.h +8 -11
  141. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/output_actor.h +8 -5
  142. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/profiler_actor.h +2 -2
  143. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/recorder_actor.h +2 -2
  144. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/super_kernel_actor.h +17 -17
  145. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/device_tensor_store.h +24 -24
  146. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_compiler.h +6 -8
  147. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_partition.h +49 -0
  148. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/scheduler_helper.h +1 -1
  149. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/segment_runner.h +50 -0
  150. mindspore/include/mindspore/ccsrc/backend/ge_backend/utils/device_address_utils.h +4 -7
  151. mindspore/include/mindspore/ccsrc/backend/graph_compiler/op_backend.h +13 -11
  152. mindspore/include/mindspore/ccsrc/backend/graph_compiler/transform.h +2 -8
  153. mindspore/include/mindspore/ccsrc/backend/graph_compiler/vm.h +1 -5
  154. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend.h +0 -39
  155. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend_base.h +7 -4
  156. mindspore/include/mindspore/ccsrc/debug/checksum/checksum.h +35 -0
  157. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_kernel.h +63 -0
  158. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_mgr.h +50 -0
  159. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/check_overflow.h +1 -11
  160. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/common.h +0 -13
  161. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/kernel_launcher.h +3 -3
  162. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mean.h +1 -1
  163. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mem_manager.h +65 -0
  164. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/statistic_kernel.h +7 -8
  165. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_info_collect.h +21 -6
  166. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_statistic.h +2 -2
  167. mindspore/include/mindspore/ccsrc/debug/debug_services.h +1 -4
  168. mindspore/include/mindspore/ccsrc/debug/debugger/debugger_utils.h +7 -8
  169. mindspore/include/mindspore/ccsrc/debug/debugger/tensor_summary.h +0 -52
  170. mindspore/include/mindspore/ccsrc/debug/dump/tensordump_control.h +6 -2
  171. mindspore/include/mindspore/ccsrc/debug/{hooker/deprecated_env.h → dump/utils.h} +12 -9
  172. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_impl.h +37 -24
  173. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_symbol.h +63 -0
  174. mindspore/include/mindspore/ccsrc/debug/profiler/profiler.h +37 -15
  175. mindspore/include/mindspore/ccsrc/debug/profiler/profiling.h +9 -6
  176. mindspore/include/mindspore/ccsrc/debug/profiler/profiling_framework_data.h +2 -0
  177. mindspore/include/mindspore/ccsrc/debug/profiler/python_obj_pointer.h +7 -7
  178. mindspore/include/mindspore/ccsrc/debug/profiler/report_data.h +23 -0
  179. mindspore/include/mindspore/ccsrc/debug/profiler/thread.h +2 -2
  180. mindspore/include/mindspore/ccsrc/debug/utils.h +0 -5
  181. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_proxy.h +1 -1
  182. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_service.h +0 -2
  183. mindspore/include/mindspore/ccsrc/distributed/cluster/topology/meta_server_node.h +5 -5
  184. mindspore/include/mindspore/ccsrc/distributed/persistent/storage/local_file.h +0 -1
  185. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/connection.h +0 -1
  186. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/socket_operation.h +0 -1
  187. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_comm.h +0 -1
  188. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_socket_operation.h +0 -1
  189. mindspore/include/mindspore/ccsrc/frontend/ir/primitive_py.h +1 -1
  190. mindspore/include/mindspore/ccsrc/frontend/ir/py_execute_py.h +11 -28
  191. mindspore/include/mindspore/ccsrc/frontend/ir/storage.h +44 -0
  192. mindspore/include/mindspore/ccsrc/frontend/ir/storage_base.h +45 -0
  193. mindspore/include/mindspore/ccsrc/frontend/ir/tensor_py.h +10 -21
  194. mindspore/include/mindspore/ccsrc/frontend/operator/composite/composite.h +73 -3
  195. mindspore/include/mindspore/ccsrc/frontend/operator/composite/functional_overload.h +46 -0
  196. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/meta_impl.h +104 -22
  197. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/utils.h +38 -61
  198. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any.h +27 -0
  199. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any_ext.h +27 -0
  200. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/conv3d_padding.h +41 -0
  201. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/einsum_ext.h +47 -0
  202. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/func_max_pool2d.h +28 -0
  203. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/inplace_exponential.h +7 -4
  204. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/moe_token_unpermute.h +28 -0
  205. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/adjoint.h +16 -2
  206. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h +18 -10
  207. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/grad.h +4 -2
  208. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/pynative_jit_grad.h +6 -1
  209. mindspore/include/mindspore/ccsrc/frontend/optimizer/auto_monad_eliminate.h +3 -13
  210. mindspore/include/mindspore/ccsrc/frontend/optimizer/cse_pass.h +3 -7
  211. mindspore/include/mindspore/ccsrc/frontend/optimizer/graph_transform.h +2 -1
  212. mindspore/include/mindspore/ccsrc/frontend/optimizer/inplace_input_replace.h +30 -0
  213. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/add_forward_monad_depend.h +47 -37
  214. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h +7 -104
  215. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/call_graph_tuple_transform.h +2 -1
  216. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/check_invalid_view_inplace_dout.h +46 -0
  217. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/expand_dump_flag.h +1 -0
  218. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/get_grad_eliminate.h +5 -1
  219. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/inline.h +1 -0
  220. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_dict_eliminate.h +3 -1
  221. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_tuple_or_list_eliminate.h +1 -17
  222. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/j_node_and_user_rematch.h +1 -1
  223. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/loop_unroll.h +1 -0
  224. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/parameter_eliminate.h +1 -0
  225. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/partial_eliminate.h +1 -0
  226. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/recompute_prepare.h +1 -0
  227. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/special_op_eliminate.h +7 -1
  228. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stack_unstack_eliminate.h +4 -1
  229. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stopgrad_eliminate.h +3 -1
  230. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/switch_or_switch_layer_defer_inline.h +10 -4
  231. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass.h +7 -7
  232. mindspore/include/mindspore/ccsrc/frontend/optimizer/opt.h +10 -5
  233. mindspore/include/mindspore/ccsrc/frontend/optimizer/optimizer.h +55 -280
  234. mindspore/include/mindspore/ccsrc/frontend/optimizer/pattern_matcher.h +8 -2
  235. mindspore/include/mindspore/ccsrc/frontend/parallel/auto_parallel/operator_costmodel.h +4 -0
  236. mindspore/include/mindspore/ccsrc/frontend/parallel/costmodel_context.h +1 -1
  237. mindspore/include/mindspore/ccsrc/frontend/parallel/dynamic_creator.h +1 -1
  238. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/graph_splitter.h +2 -0
  239. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/parallel_tensordump.h +48 -13
  240. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/activation_info.h +0 -11
  241. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/arithmetic_info.h +44 -0
  242. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/flash_attention_score_info.h +19 -19
  243. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/fused_infer_attention_score_info.h +14 -14
  244. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/matmul_info.h +9 -0
  245. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/operator_info.h +2 -0
  246. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/ops_utils.h +4 -0
  247. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.h +9 -4
  248. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/{decoder_k_v_cache_info.h → topprouter_info.h} +12 -15
  249. mindspore/include/mindspore/ccsrc/frontend/parallel/parallel_preprocessor.h +1 -1
  250. mindspore/include/mindspore/ccsrc/frontend/parallel/parameter_manager.h +0 -1
  251. mindspore/include/mindspore/ccsrc/frontend/parallel/pass/merge_recompute_call_nodes.h +28 -0
  252. mindspore/include/mindspore/ccsrc/{pynative/grad/jit/jit_dfunctor.h → frontend/parallel/pass/overlap_recompute_comm.h} +8 -8
  253. mindspore/include/mindspore/ccsrc/frontend/parallel/pipeline_transformer/pipeline_interleave.h +2 -1
  254. mindspore/include/mindspore/ccsrc/frontend/parallel/tensor_layout/tensor_transform.h +1 -1
  255. mindspore/include/mindspore/ccsrc/include/backend/anf_runtime_algorithm.h +29 -13
  256. mindspore/include/mindspore/ccsrc/include/backend/data_queue/data_queue_mgr.h +1 -1
  257. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_control.h +1 -0
  258. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_json_parser.h +4 -5
  259. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_utils.h +1 -0
  260. mindspore/include/mindspore/ccsrc/include/backend/debug/debugger/debugger.h +0 -2
  261. mindspore/include/mindspore/ccsrc/include/backend/debug/execute_order_tracker/execute_order_tracker.h +14 -4
  262. mindspore/include/mindspore/ccsrc/include/backend/debug/tensor_data.h +0 -19
  263. mindspore/include/mindspore/ccsrc/include/backend/distributed/cluster/tcp_store.h +53 -0
  264. mindspore/include/mindspore/ccsrc/include/backend/distributed/collective/collective_manager.h +17 -8
  265. mindspore/include/mindspore/ccsrc/include/backend/distributed/constants.h +1 -10
  266. mindspore/include/mindspore/ccsrc/include/backend/distributed/embedding_cache/embedding_hash_map.h +0 -2
  267. mindspore/include/mindspore/ccsrc/include/backend/distributed/ps/ps_context.h +0 -6
  268. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/tcp/constants.h +2 -1
  269. mindspore/include/mindspore/ccsrc/include/backend/kernel_graph.h +0 -1
  270. mindspore/include/mindspore/ccsrc/include/backend/kernel_info.h +8 -10
  271. mindspore/include/mindspore/ccsrc/include/backend/mbuf_device_address.h +5 -5
  272. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/abstract_dynamic_mem_pool.h +6 -5
  273. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/address_discretizer.h +63 -0
  274. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/dynamic_mem_pool.h +8 -0
  275. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/max_segment_tree.h +181 -0
  276. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_dynamic_allocator.h +0 -1
  277. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_pool_util.h +98 -0
  278. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_tracker.h +11 -107
  279. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/race_checker.h +64 -0
  280. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/tracker_graph.h +91 -0
  281. mindspore/include/mindspore/ccsrc/include/backend/optimizer/inplace_node_pass.h +1 -9
  282. mindspore/include/mindspore/ccsrc/include/backend/optimizer/optimizer.h +3 -6
  283. mindspore/include/mindspore/ccsrc/include/backend/optimizer/pattern_engine.h +0 -2
  284. mindspore/include/mindspore/ccsrc/include/backend/optimizer/visitor.h +2 -0
  285. mindspore/include/mindspore/ccsrc/include/backend/py_execute_utils.h +2 -1
  286. mindspore/include/mindspore/ccsrc/include/common/debug/draw.h +3 -1
  287. mindspore/include/mindspore/ccsrc/include/common/debug/dump_proto.h +2 -10
  288. mindspore/include/mindspore/ccsrc/include/common/expander/core/node.h +1 -1
  289. mindspore/include/mindspore/ccsrc/include/common/np_dtype/np_dtypes.h +6 -15
  290. mindspore/include/mindspore/ccsrc/include/common/pybind_api/api_register.h +6 -1
  291. mindspore/include/mindspore/ccsrc/include/common/pynative/abstract_converter.h +0 -4
  292. mindspore/include/mindspore/ccsrc/include/common/pynative/adapter.h +2 -5
  293. mindspore/include/mindspore/ccsrc/include/common/pynative/common_utils.h +5 -1
  294. mindspore/include/mindspore/ccsrc/include/common/pynative/grad_state.h +12 -0
  295. mindspore/include/mindspore/ccsrc/include/common/pynative/variable.h +326 -0
  296. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/runtime_conf.h +7 -8
  297. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/thread_bind_core.h +12 -10
  298. mindspore/include/mindspore/ccsrc/include/common/utils/anfalgo.h +7 -2
  299. mindspore/include/mindspore/ccsrc/include/common/utils/comm_manager.h +0 -1
  300. mindspore/include/mindspore/ccsrc/include/common/utils/compile_cache_context.h +4 -2
  301. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils.h +18 -4
  302. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils_py.h +2 -10
  303. mindspore/include/mindspore/ccsrc/include/common/utils/cse.h +0 -1
  304. mindspore/include/mindspore/ccsrc/include/common/utils/json_operation_utils.h +1 -1
  305. mindspore/include/mindspore/ccsrc/include/common/utils/ms_device_shape_transfer.h +0 -1
  306. mindspore/include/mindspore/ccsrc/include/common/utils/parallel_context.h +8 -2
  307. mindspore/include/mindspore/ccsrc/include/common/utils/python_adapter.h +3 -3
  308. mindspore/include/mindspore/ccsrc/include/common/utils/stub_tensor.h +1 -3
  309. mindspore/include/mindspore/ccsrc/include/common/utils/summary/event_writer.h +1 -1
  310. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py.h +24 -117
  311. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py_wrapper.h +1 -7
  312. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_utils.h +3 -3
  313. mindspore/include/mindspore/ccsrc/include/common/utils/utils.h +6 -8
  314. mindspore/include/mindspore/ccsrc/include/common/visible.h +0 -10
  315. mindspore/include/mindspore/ccsrc/kernel/graph_kernel_info.h +1 -1
  316. mindspore/include/mindspore/ccsrc/kernel/philox_random.h +47 -87
  317. mindspore/include/mindspore/ccsrc/minddata/dataset/api/python/python_mp.h +8 -0
  318. mindspore/include/mindspore/ccsrc/minddata/dataset/core/cv_tensor.h +1 -1
  319. mindspore/include/mindspore/ccsrc/minddata/dataset/core/tensor.h +26 -2
  320. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/connector.h +7 -0
  321. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.h +3 -0
  322. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mindrecord_op.h +0 -1
  323. mindspore/include/mindspore/ccsrc/minddata/dataset/include/dataset/vision_ascend.h +1 -1
  324. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/data/parse_example_op.h +19 -15
  325. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteType.h +6 -1
  326. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteUtils.h +6 -1
  327. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/DvppCommon.h +1 -1
  328. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ErrorCode.h +2 -2
  329. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ThreadSafeQueue.h +3 -1
  330. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/VdecHelper.h +9 -12
  331. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/dvpp_video.h +29 -10
  332. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h +1 -1
  333. mindspore/include/mindspore/ccsrc/minddata/dataset/util/btree.h +1 -1
  334. mindspore/include/mindspore/ccsrc/minddata/dataset/util/cond_var.h +0 -1
  335. mindspore/include/mindspore/ccsrc/minddata/dataset/util/json_helper.h +1 -1
  336. mindspore/include/mindspore/ccsrc/minddata/dataset/util/queue.h +1 -1
  337. mindspore/include/mindspore/ccsrc/minddata/dataset/util/sig_handler.h +2 -2
  338. mindspore/include/mindspore/ccsrc/minddata/dataset/util/system_pool.h +1 -1
  339. mindspore/include/mindspore/ccsrc/minddata/dataset/util/task_manager.h +0 -1
  340. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_distributed_sample.h +0 -1
  341. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_header.h +0 -1
  342. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_index.h +0 -1
  343. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_pk_sample.h +0 -1
  344. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_reader.h +0 -1
  345. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_schema.h +0 -1
  346. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_statistics.h +0 -1
  347. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_writer.h +0 -1
  348. mindspore/include/mindspore/ccsrc/minddata/utils.h +30 -2
  349. mindspore/include/mindspore/{ops/ops_utils/ms_extension.h → ccsrc/ms_extension/all.h} +12 -5
  350. mindspore/include/mindspore/ccsrc/ms_extension/api.h +32 -0
  351. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/atb_common.h +98 -0
  352. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/operation_cache.h +229 -0
  353. mindspore/include/mindspore/ccsrc/ms_extension/common/tensor.h +200 -0
  354. mindspore/include/mindspore/ccsrc/ms_extension/common/visible.h +28 -0
  355. mindspore/include/mindspore/ccsrc/ms_extension/pynative/pyboost_extension.h +312 -0
  356. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/capture_context.h +1 -1
  357. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/eval_frame_hook.h +2 -2
  358. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/build_graph_utils.h +5 -1
  359. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/func_graph_builder.h +22 -5
  360. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/abstract_object.h +92 -19
  361. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/cfg.h +19 -5
  362. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/code_generator.h +53 -49
  363. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph.h +40 -10
  364. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_analyzer.h +3 -19
  365. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_arguments_optimizer.h +145 -0
  366. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_build.h +13 -24
  367. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/node.h +33 -3
  368. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/side_effect.h +116 -27
  369. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/abstract_type.h +2 -2
  370. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/compiler.h +4 -0
  371. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/utils.h +2 -0
  372. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/cache.h +32 -8
  373. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard.h +11 -15
  374. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard_utils.h +17 -8
  375. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/infer.h +0 -2
  376. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/shape_ctx.h +3 -3
  377. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/trace.h +50 -93
  378. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/jit_compile_results.h +1 -16
  379. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/pi_jit_config.h +11 -22
  380. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_code.h +56 -5
  381. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_frame.h +6 -7
  382. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/pydef.h +0 -6
  383. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/runtime.h +1 -1
  384. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/opcode_util.h +5 -0
  385. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/stop_trace_reason.h +26 -17
  386. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/utils.h +15 -11
  387. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/action.h +2 -4
  388. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/executor_py.h +116 -0
  389. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/graph_executor_py.h +118 -0
  390. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/{pipeline_jit.h → executor/jit_executor_py.h} +6 -6
  391. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/graph_circle_handler.h +35 -0
  392. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/data_converter.h +6 -0
  393. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/function_block.h +1 -0
  394. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse.h +10 -0
  395. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse_base.h +1 -6
  396. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/resolve.h +1 -0
  397. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass.h +3 -1
  398. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass_config.h +4 -0
  399. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pipeline.h +12 -170
  400. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/resource.h +1 -16
  401. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/auto_monad.h +1 -1
  402. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/builtin_prim.h +3 -3
  403. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/evaluator.h +12 -12
  404. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/order_enforce.h +1 -1
  405. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim.h +12 -76
  406. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim_utils.h +78 -0
  407. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/validator.h +3 -0
  408. mindspore/include/mindspore/ccsrc/pipeline/jit/trace/trace_recorder.h +19 -4
  409. mindspore/include/mindspore/ccsrc/pipeline/llm_boost/llm_boost_binder.h +1 -1
  410. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.h +0 -1
  411. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/kernel_select_ascend.h +1 -2
  412. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/acl_stream_assign.h +2 -2
  413. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_deprecated_interface.h +0 -1
  414. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/{ge_device_context.h → ascend_device_context.h} +10 -19
  415. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_device_res_manager.h +12 -10
  416. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_graph_optimization.h +0 -1
  417. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_kernel_executor.h +4 -1
  418. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/stress_detect.h +40 -0
  419. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/ascend_profiling.h +32 -7
  420. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/feature_mgr.h +1 -1
  421. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/mstx/mstx_dispatcher.h +10 -8
  422. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/add_atb_kernel.h +2 -1
  423. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_adapter.h +12 -0
  424. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_kernel_mod.h +3 -1
  425. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_grouped_matmul_add_atb_kernel.h +2 -1
  426. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_matmul_add_atb_kernel.h +39 -0
  427. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_comm_info.h +1 -0
  428. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_kernel_mod.h +1 -1
  429. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_kernel.h +15 -16
  430. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_op.h +118 -93
  431. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_all_gather_v.h +51 -0
  432. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_receive.h +3 -1
  433. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_reduce_scatter_v.h +51 -0
  434. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_util.h +26 -11
  435. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  436. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  437. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  438. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  439. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  440. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  441. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  442. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  443. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather.h +1 -1
  444. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  445. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  446. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_isend.h +1 -1
  447. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  448. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  449. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  450. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  451. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  452. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  453. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  454. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  455. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  456. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_isend.h +1 -1
  457. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  458. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/comm_common.h +4 -4
  459. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather.h +1 -1
  460. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather_into_tensor.h +2 -2
  461. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_reduce.h +1 -1
  462. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v.h +1 -1
  463. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v_single.h +2 -2
  464. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_broadcast.h +1 -1
  465. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather.h +1 -1
  466. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather_into_tensor.h +2 -2
  467. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_irecv.h +1 -1
  468. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_isend.h +1 -1
  469. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce.h +1 -1
  470. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter.h +1 -1
  471. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter_tensor.h +2 -2
  472. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter.h +1 -1
  473. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter_tensor.h +2 -2
  474. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_gather.h +1 -1
  475. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_reduce.h +1 -1
  476. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_to_all_v.h +1 -1
  477. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_isend.h +1 -1
  478. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_reduce_scatter.h +1 -1
  479. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/internal_tiling_cache.h +3 -3
  480. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/apply_rotary_pos_emb.h +46 -0
  481. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/internal_kernel_info_adapter.h +82 -0
  482. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/kernel_info_adapter.h +69 -0
  483. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/flash_attention_score.h +54 -0
  484. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_kernel_info.h +162 -0
  485. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_pyboost_utils.h +121 -0
  486. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/paged_attention.h +91 -0
  487. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/reshape_and_cache.h +43 -0
  488. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/rts/reshape_ext.h +5 -0
  489. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/base/event_manager.h +0 -2
  490. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/utils/ModelTaskExecutor.h +0 -1
  491. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/expander_fallback.h +33 -0
  492. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/matmul_assignadd_fusion.h +61 -0
  493. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion_infer/moe_init_routing_dyn_quantv2_fusion.h +66 -0
  494. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_common.h +1 -1
  495. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_kernel_runtime.h +2 -1
  496. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_device_context.h +16 -11
  497. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_somas.h +1 -1
  498. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/mpi_collective_comm_lib.h +3 -1
  499. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/ms_collective_comm_lib.h +3 -1
  500. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/cpu_kernel.h +2 -2
  501. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/custom_kernel_input_info.h +99 -0
  502. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/{custom_julia_cpu_kernel.h → custom_op_plugin_kernel.h} +23 -11
  503. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_device_context.h +13 -10
  504. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_somas.h +1 -1
  505. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/nvidia_collective_comm_lib.h +3 -1
  506. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_address.h +27 -16
  507. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_res_manager.h +15 -10
  508. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_collective_comm_lib.h +6 -5
  509. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_communication_group.h +27 -12
  510. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_collective_comm_lib.h +4 -5
  511. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_communication_group.h +4 -4
  512. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dummy_ascend_collective_comm_lib.h +3 -5
  513. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_collective_comm_lib.h +5 -5
  514. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_communication_group.h +1 -1
  515. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/hccl_watch_dog_thread.h +5 -3
  516. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/leaper_trans.h +2 -5
  517. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/lowlatency_collective_comm_lib.h +4 -5
  518. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_collective_comm_lib.h +6 -6
  519. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_communication_group.h +4 -2
  520. mindspore/include/mindspore/ccsrc/plugin/{device/ascend/kernel → res_manager/ascend}/dvm/dvm.h +15 -1
  521. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hal_manager/ascend_hal_manager.h +1 -0
  522. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/hccl_adapter.h +31 -1
  523. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/plugin/hccl_plugin.h +8 -0
  524. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mbuf_manager/mbuf_receive_manager.h +6 -1
  525. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_memory_pool.h +6 -0
  526. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_vmm_adapter.h +1 -1
  527. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_array_ops.h +11 -0
  528. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_other_ops.h +0 -22
  529. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_base.h +38 -33
  530. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_map.h +3 -2
  531. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_util.h +3 -0
  532. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/array_ops_declare.h +3 -0
  533. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/transform_fusion_ops_declare.h +0 -6
  534. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/transform_util.h +1 -1
  535. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/acl_rt_symbol.h +6 -0
  536. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/symbol_utils.h +11 -4
  537. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_address.h +17 -12
  538. mindspore/include/mindspore/ccsrc/plugin/{device/cpu/hal/device → res_manager/cpu/cpu_mem_manager}/cpu_hash_table.h +2 -1
  539. mindspore/include/mindspore/ccsrc/plugin/{device/cpu/hal/device → res_manager/cpu/cpu_mem_manager}/cpu_hash_table_util.h +1 -1
  540. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_manager.h +4 -10
  541. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_pool.h +3 -1
  542. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_res_manager.h +8 -15
  543. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/visible.h +32 -0
  544. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_address.h +19 -11
  545. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/gpu_res_manager.h +8 -8
  546. mindspore/include/mindspore/ccsrc/ps/core/communicator/http_request_handler.h +0 -1
  547. mindspore/include/mindspore/ccsrc/ps/core/file_configuration.h +2 -2
  548. mindspore/include/mindspore/ccsrc/ps/core/node.h +1 -1
  549. mindspore/include/mindspore/ccsrc/pybind_api/hal/event_py.h +2 -2
  550. mindspore/include/mindspore/ccsrc/pybind_api/hal/memory_py.h +2 -0
  551. mindspore/include/mindspore/ccsrc/pybind_api/hal/stream_py.h +3 -4
  552. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_api/auto_generate/tensor_api.h +133 -130
  553. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_index_py.h +10 -107
  554. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/auto_generate/tensor_py_gen.h +133 -131
  555. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/tensor_func_reg.h +0 -1
  556. mindspore/include/mindspore/ccsrc/pybind_api/resource/manager.h +2 -2
  557. mindspore/include/mindspore/ccsrc/pybind_api/storage_py.h +36 -0
  558. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/abs.h +1 -1
  559. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acos_ext.h +1 -1
  560. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acosh_ext.h +1 -1
  561. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adamw.h +1 -1
  562. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  563. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  564. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  565. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  566. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  567. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  568. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  569. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add.h +1 -1
  570. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_ext.h +1 -1
  571. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  572. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  573. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rms_norm.h +1 -1
  574. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  575. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_scalar.h +1 -1
  576. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addbmm.h +1 -1
  577. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcdiv_ext.h +1 -1
  578. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcmul_ext.h +1 -1
  579. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmm.h +1 -1
  580. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmv.h +1 -1
  581. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_finite.h +1 -1
  582. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_gather_matmul.h +1 -1
  583. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any.h +44 -0
  584. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any_ext.h +44 -0
  585. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/apply_rotary_pos_emb.h +44 -0
  586. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/arange.h +1 -1
  587. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_ext.h +1 -1
  588. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_with_value.h +1 -1
  589. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_ext.h +1 -1
  590. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_with_value.h +1 -1
  591. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argsort.h +1 -1
  592. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/as_strided.h +1 -1
  593. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asin_ext.h +1 -1
  594. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asinh_ext.h +1 -1
  595. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan2_ext.h +1 -1
  596. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan_ext.h +1 -1
  597. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atanh.h +1 -1
  598. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool1d.h +1 -1
  599. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d.h +1 -1
  600. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  601. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  602. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  603. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/baddbmm.h +1 -1
  604. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_mat_mul.h +1 -1
  605. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  606. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  607. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_ext.h +1 -1
  608. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  609. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  610. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  611. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_stats.h +1 -1
  612. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bernoulli_ext.h +1 -1
  613. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  614. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  615. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  616. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  617. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bincount_ext.h +1 -1
  618. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  619. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  620. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_not.h +1 -1
  621. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  622. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  623. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  624. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  625. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bmm_ext.h +1 -1
  626. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to.h +1 -1
  627. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to_view.h +1 -1
  628. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cast.h +1 -1
  629. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ceil.h +1 -1
  630. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk.h +1 -1
  631. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk_view.h +1 -1
  632. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_scalar.h +1 -1
  633. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_tensor.h +1 -1
  634. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clone.h +1 -1
  635. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_ext.h +1 -1
  636. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_grad.h +1 -1
  637. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/concat.h +1 -1
  638. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/constant_pad_nd.h +1 -1
  639. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/contiguous.h +1 -1
  640. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_ext.h +1 -1
  641. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_padding.h +1 -1
  642. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_ext.h +1 -1
  643. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_padding.h +1 -1
  644. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_ext.h +1 -1
  645. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_padding.h +1 -1
  646. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv_transpose2d.h +1 -1
  647. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution.h +1 -1
  648. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_grad.h +1 -1
  649. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str.h +1 -1
  650. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str_grad.h +1 -1
  651. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/copy.h +1 -1
  652. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cos.h +1 -1
  653. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cosh.h +1 -1
  654. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/count_nonzero.h +1 -1
  655. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cross.h +1 -1
  656. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummax.h +1 -1
  657. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummin_ext.h +1 -1
  658. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cumsum_ext.h +1 -1
  659. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/custom_ext.h +1 -1
  660. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dense.h +1 -1
  661. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diag_ext.h +1 -1
  662. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diagonal_view.h +44 -0
  663. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  664. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  665. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  666. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  667. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  668. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  669. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  670. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  671. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather.h +1 -1
  672. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  673. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  674. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_isend.h +1 -1
  675. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  676. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  677. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  678. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  679. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  680. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/div.h +1 -1
  681. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmod.h +1 -1
  682. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmods.h +1 -1
  683. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divs.h +1 -1
  684. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dot.h +1 -1
  685. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  686. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_ext.h +1 -1
  687. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  688. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  689. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  690. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/einsum_ext.h +44 -0
  691. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu.h +1 -1
  692. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_ext.h +1 -1
  693. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_grad_ext.h +1 -1
  694. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding.h +1 -1
  695. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  696. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty.h +44 -0
  697. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty_like.h +44 -0
  698. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal.h +1 -1
  699. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal_ext.h +1 -1
  700. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erf.h +1 -1
  701. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfc.h +1 -1
  702. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfinv.h +1 -1
  703. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp.h +1 -1
  704. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp2.h +1 -1
  705. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_as.h +1 -1
  706. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims.h +1 -1
  707. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims_view.h +1 -1
  708. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expm1.h +1 -1
  709. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/eye.h +1 -1
  710. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ffn_ext.h +1 -1
  711. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_scalar.h +1 -1
  712. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_tensor.h +1 -1
  713. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score.h +1 -1
  714. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  715. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flatten_ext.h +1 -1
  716. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor.h +1 -1
  717. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div.h +1 -1
  718. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div_scalar.h +1 -1
  719. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_scalar.h +1 -1
  720. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_tensor.h +1 -1
  721. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/frac.h +1 -1
  722. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/full_like.h +1 -1
  723. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/func_max_pool2d.h +44 -0
  724. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  725. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d.h +1 -1
  726. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  727. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gcd.h +1 -1
  728. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu.h +1 -1
  729. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_ext.h +1 -1
  730. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad.h +1 -1
  731. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  732. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/generator.h +1 -1
  733. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu.h +1 -1
  734. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu_grad.h +1 -1
  735. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm.h +1 -1
  736. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward.h +1 -1
  737. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  738. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2.h +1 -1
  739. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  740. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  741. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater.h +1 -1
  742. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal.h +1 -1
  743. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  744. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  745. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  746. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  747. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  748. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm.h +1 -1
  749. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm_grad.h +1 -1
  750. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul.h +1 -1
  751. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  752. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  753. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh.h +1 -1
  754. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh_grad.h +1 -1
  755. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/histc_ext.h +1 -1
  756. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink.h +1 -1
  757. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink_grad.h +1 -1
  758. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid.h +1 -1
  759. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  760. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish.h +1 -1
  761. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish_grad.h +1 -1
  762. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/identity.h +1 -1
  763. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/im2col_ext.h +1 -1
  764. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/incre_flash_attention.h +1 -1
  765. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index.h +1 -1
  766. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_add_ext.h +1 -1
  767. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_scalar.h +1 -1
  768. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_tensor.h +1 -1
  769. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_select.h +1 -1
  770. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  771. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  772. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  773. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  774. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_isend.h +1 -1
  775. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  776. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_index.h +1 -1
  777. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  778. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_moe_token_unpermute.h +44 -0
  779. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_non_zero.h +1 -1
  780. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_add_ext.h +1 -1
  781. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_addmm.h +1 -1
  782. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  783. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  784. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  785. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_copy.h +1 -1
  786. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_div.h +1 -1
  787. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmod.h +1 -1
  788. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmods.h +1 -1
  789. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divs.h +1 -1
  790. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_elu.h +1 -1
  791. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_erfinv.h +1 -1
  792. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exp.h +1 -1
  793. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exponential.h +1 -1
  794. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  795. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  796. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  797. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor.h +1 -1
  798. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  799. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  800. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  801. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  802. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_add.h +1 -1
  803. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_put.h +1 -1
  804. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_log.h +1 -1
  805. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  806. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  807. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_matmul_add.h +44 -0
  808. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_mul.h +1 -1
  809. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_muls.h +1 -1
  810. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_normal.h +1 -1
  811. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_put.h +1 -1
  812. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_random.h +1 -1
  813. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_relu.h +1 -1
  814. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  815. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  816. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  817. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  818. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  819. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_silu.h +44 -0
  820. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  821. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  822. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  823. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_tanh.h +1 -1
  824. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_threshold.h +1 -1
  825. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_uniform.h +1 -1
  826. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_zero.h +1 -1
  827. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isclose.h +1 -1
  828. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isfinite.h +1 -1
  829. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isinf.h +1 -1
  830. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isneginf.h +1 -1
  831. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div.h +1 -1
  832. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div_grad.h +1 -1
  833. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kthvalue.h +1 -1
  834. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  835. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  836. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_ext.h +1 -1
  837. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_ext.h +1 -1
  838. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  839. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  840. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  841. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp.h +1 -1
  842. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp_scalar.h +1 -1
  843. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less.h +1 -1
  844. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less_equal.h +1 -1
  845. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lin_space_ext.h +1 -1
  846. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_qr.h +1 -1
  847. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  848. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log.h +1 -1
  849. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log10.h +1 -1
  850. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log1p.h +1 -1
  851. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log2.h +1 -1
  852. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax.h +1 -1
  853. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_ext.h +1 -1
  854. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_grad.h +1 -1
  855. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp.h +1 -1
  856. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp2.h +1 -1
  857. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_and.h +1 -1
  858. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_not.h +1 -1
  859. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_or.h +1 -1
  860. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_xor.h +1 -1
  861. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid.h +1 -1
  862. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  863. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsumexp.h +1 -1
  864. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_fill.h +1 -1
  865. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select.h +1 -1
  866. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select_grad.h +1 -1
  867. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul.h +1 -1
  868. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  869. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_ext.h +1 -1
  870. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  871. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  872. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max.h +1 -1
  873. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_dim.h +1 -1
  874. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  875. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  876. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  877. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  878. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  879. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/maximum.h +1 -1
  880. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mean_ext.h +1 -1
  881. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_dim.h +1 -1
  882. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_ext.h +1 -1
  883. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/meshgrid.h +1 -1
  884. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min.h +1 -1
  885. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min_dim.h +1 -1
  886. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/minimum.h +1 -1
  887. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_ext.h +1 -1
  888. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_grad_ext.h +1 -1
  889. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mm_ext.h +1 -1
  890. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  891. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_combine.h +44 -0
  892. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_dispatch.h +44 -0
  893. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  894. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  895. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing.h +1 -1
  896. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_quant_v2.h +44 -0
  897. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  898. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute.h +1 -1
  899. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  900. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  901. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  902. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_ext.h +1 -1
  903. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  904. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mul.h +1 -1
  905. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/muls.h +1 -1
  906. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  907. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  908. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multinomial_ext.h +1 -1
  909. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mv.h +1 -1
  910. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nan_to_num.h +1 -1
  911. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nansum.h +1 -1
  912. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow.h +1 -1
  913. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow_view.h +1 -1
  914. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ne_scalar.h +1 -1
  915. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/neg.h +1 -1
  916. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_empty.h +44 -0
  917. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_full.h +44 -0
  918. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_ones.h +1 -1
  919. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_zeros.h +1 -1
  920. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss.h +1 -1
  921. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d.h +1 -1
  922. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  923. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_grad.h +1 -1
  924. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero.h +1 -1
  925. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero_ext.h +1 -1
  926. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/norm.h +1 -1
  927. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_float.h +1 -1
  928. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_tensor.h +1 -1
  929. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_float.h +1 -1
  930. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  931. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/not_equal.h +1 -1
  932. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/one_hot_ext.h +1 -1
  933. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones.h +1 -1
  934. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones_like_ext.h +1 -1
  935. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/outer.h +1 -1
  936. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/paged_attention.h +44 -0
  937. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pixel_shuffle.h +1 -1
  938. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/polar.h +1 -1
  939. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow.h +1 -1
  940. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  941. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  942. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu.h +1 -1
  943. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu_grad.h +1 -1
  944. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prod_ext.h +1 -1
  945. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  946. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  947. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_matmul.h +44 -0
  948. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_v2.h +1 -1
  949. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_ext.h +1 -1
  950. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_like_ext.h +1 -1
  951. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint.h +1 -1
  952. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint_like.h +1 -1
  953. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn.h +1 -1
  954. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn_like.h +1 -1
  955. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randperm_ext.h +1 -1
  956. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reciprocal.h +1 -1
  957. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_all.h +1 -1
  958. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_any.h +1 -1
  959. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_max.h +1 -1
  960. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_min.h +1 -1
  961. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  962. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  963. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  964. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  965. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  966. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  967. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu.h +1 -1
  968. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu_grad.h +1 -1
  969. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  970. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  971. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  972. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat.h +1 -1
  973. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  974. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  975. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  976. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d.h +1 -1
  977. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  978. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d.h +1 -1
  979. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  980. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d.h +1 -1
  981. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  982. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape.h +1 -1
  983. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape_and_cache.h +44 -0
  984. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reverse_v2.h +1 -1
  985. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm.h +1 -1
  986. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm_grad.h +1 -1
  987. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/roll.h +1 -1
  988. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  989. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  990. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/round.h +1 -1
  991. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rsqrt.h +1 -1
  992. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter.h +1 -1
  993. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_add_ext.h +1 -1
  994. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_value.h +1 -1
  995. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/searchsorted.h +1 -1
  996. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select.h +1 -1
  997. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_ext_view.h +1 -1
  998. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_v2.h +1 -1
  999. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_ext.h +1 -1
  1000. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_grad.h +1 -1
  1001. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid.h +1 -1
  1002. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid_grad.h +1 -1
  1003. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sign.h +1 -1
  1004. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v2.h +1 -1
  1005. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v3.h +1 -1
  1006. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu.h +1 -1
  1007. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu_grad.h +1 -1
  1008. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sin.h +1 -1
  1009. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinc.h +1 -1
  1010. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinh.h +1 -1
  1011. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice.h +1 -1
  1012. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext.h +1 -1
  1013. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext_view.h +1 -1
  1014. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  1015. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  1016. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss.h +1 -1
  1017. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  1018. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax.h +1 -1
  1019. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax_backward.h +1 -1
  1020. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_ext.h +1 -1
  1021. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  1022. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink.h +1 -1
  1023. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink_grad.h +1 -1
  1024. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sort_ext.h +1 -1
  1025. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  1026. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  1027. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split.h +1 -1
  1028. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor.h +1 -1
  1029. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor_view.h +1 -1
  1030. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size.h +1 -1
  1031. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size_view.h +1 -1
  1032. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sqrt.h +1 -1
  1033. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/square.h +1 -1
  1034. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/squeeze.h +1 -1
  1035. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/stack_ext.h +1 -1
  1036. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std.h +1 -1
  1037. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std_mean.h +1 -1
  1038. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub.h +1 -1
  1039. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_ext.h +1 -1
  1040. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_scalar.h +1 -1
  1041. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sum_ext.h +1 -1
  1042. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu.h +1 -1
  1043. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu_grad.h +1 -1
  1044. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/t_ext.h +1 -1
  1045. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/take.h +1 -1
  1046. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tan.h +1 -1
  1047. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh.h +1 -1
  1048. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh_grad.h +1 -1
  1049. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  1050. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold.h +1 -1
  1051. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold_grad.h +1 -1
  1052. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tile.h +1 -1
  1053. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/topk_ext.h +1 -1
  1054. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trace_ext.h +1 -1
  1055. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose.h +1 -1
  1056. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_ext_view.h +1 -1
  1057. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_view.h +1 -1
  1058. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triangular_solve.h +1 -1
  1059. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tril_ext.h +1 -1
  1060. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triu.h +1 -1
  1061. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trunc.h +1 -1
  1062. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/type_as.h +1 -1
  1063. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/uniform_ext.h +1 -1
  1064. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique2.h +1 -1
  1065. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_consecutive.h +1 -1
  1066. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_dim.h +1 -1
  1067. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unstack_ext_view.h +1 -1
  1068. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  1069. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  1070. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  1071. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  1072. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d.h +1 -1
  1073. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  1074. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  1075. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  1076. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  1077. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  1078. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  1079. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  1080. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  1081. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  1082. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var.h +1 -1
  1083. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var_mean.h +1 -1
  1084. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view.h +1 -1
  1085. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view_as.h +1 -1
  1086. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  1087. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy.h +1 -1
  1088. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  1089. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  1090. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros.h +1 -1
  1091. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros_like_ext.h +1 -1
  1092. mindspore/include/mindspore/ccsrc/pyboost/comm_handle.h +6 -2
  1093. mindspore/include/mindspore/ccsrc/pyboost/customize/any.h +39 -0
  1094. mindspore/include/mindspore/ccsrc/pyboost/customize/divmod.h +3 -3
  1095. mindspore/include/mindspore/ccsrc/pyboost/customize/einsum_ext.h +38 -0
  1096. mindspore/include/mindspore/ccsrc/pyboost/customize/identity.h +2 -2
  1097. mindspore/include/mindspore/ccsrc/pyboost/customize/meshgrid.h +7 -4
  1098. mindspore/include/mindspore/ccsrc/pyboost/customize/op_common.h +12 -15
  1099. mindspore/include/mindspore/ccsrc/pyboost/customize/pixel_shuffle.h +2 -3
  1100. mindspore/include/mindspore/ccsrc/pyboost/customize/reshape.h +4 -3
  1101. mindspore/include/mindspore/ccsrc/pyboost/customize/searchsorted.h +4 -5
  1102. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/auto_grad_op_reg.h +1549 -1423
  1103. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/functions.h +563 -494
  1104. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/pyboost_grad_functions.h +3 -0
  1105. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/value_converter.h +30 -4
  1106. mindspore/include/mindspore/ccsrc/pyboost/op_register.h +52 -0
  1107. mindspore/include/mindspore/ccsrc/pyboost/op_runner.h +45 -19
  1108. mindspore/include/mindspore/ccsrc/pyboost/pyboost_utils.h +106 -62
  1109. mindspore/include/mindspore/ccsrc/pynative/base.h +22 -24
  1110. mindspore/include/mindspore/ccsrc/pynative/forward/do_pyboost_cast.h +70 -67
  1111. mindspore/include/mindspore/ccsrc/pynative/forward/forward.h +14 -12
  1112. mindspore/include/mindspore/ccsrc/pynative/forward/forward_task.h +34 -2
  1113. mindspore/include/mindspore/ccsrc/pynative/grad/custom_function.h +14 -7
  1114. mindspore/include/mindspore/ccsrc/pynative/grad/function/auto_generate/pyboost_native_grad_functions.h +485 -466
  1115. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_builder.h +2 -2
  1116. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_grad.h +280 -96
  1117. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_pass.h +0 -1
  1118. mindspore/include/mindspore/ccsrc/pynative/grad/function.h +28 -23
  1119. mindspore/include/mindspore/ccsrc/pynative/grad/function_py.h +19 -11
  1120. mindspore/include/mindspore/ccsrc/pynative/grad/grad.h +30 -97
  1121. mindspore/include/mindspore/ccsrc/pynative/grad/grad_utils.h +39 -23
  1122. mindspore/include/mindspore/ccsrc/pynative/grad/hook_py.h +20 -21
  1123. mindspore/include/mindspore/ccsrc/pynative/grad/jit/jit_grad.h +2 -26
  1124. mindspore/include/mindspore/ccsrc/pynative/grad/top_cell.h +8 -150
  1125. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_api.h +552 -0
  1126. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_core.h +552 -0
  1127. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/tensor_func_utils.h +484 -494
  1128. mindspore/include/mindspore/ccsrc/pynative/op_function/comm_handle_py.h +2 -0
  1129. mindspore/include/mindspore/ccsrc/pynative/op_function/converter.h +11 -0
  1130. mindspore/include/mindspore/ccsrc/pynative/op_function/customize/direct_ops.h +2 -12
  1131. mindspore/include/mindspore/ccsrc/pynative/predict_out_type_map.h +3 -0
  1132. mindspore/include/mindspore/ccsrc/pynative/pynative_execute.h +4 -2
  1133. mindspore/include/mindspore/ccsrc/pynative/pynative_utils.h +39 -42
  1134. mindspore/include/mindspore/ccsrc/runtime/collective/collective_communication_lib.h +20 -1
  1135. mindspore/include/mindspore/ccsrc/runtime/collective/communication_group.h +5 -0
  1136. mindspore/include/mindspore/ccsrc/runtime/collective/dummy_collective_communication_lib.h +2 -1
  1137. mindspore/include/mindspore/ccsrc/runtime/device/device_address_utils.h +55 -50
  1138. mindspore/include/mindspore/ccsrc/runtime/device/kernel_runtime.h +2 -2
  1139. mindspore/include/mindspore/ccsrc/runtime/device/move_to.h +4 -1
  1140. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/auto_mem_offload.h +0 -1
  1141. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_base.h +13 -11
  1142. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_manager.h +7 -3
  1143. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/loadable_device_address.h +1 -1
  1144. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/memory_manager.h +0 -1
  1145. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/swap_manager.h +2 -2
  1146. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/tensor_array.h +1 -1
  1147. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/utils/utils.h +0 -1
  1148. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/abstract_actor.h +41 -32
  1149. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_common.h +21 -20
  1150. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_dump.h +4 -3
  1151. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_set.h +0 -4
  1152. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/any_type_kernel_actor.h +7 -61
  1153. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/{condition_gather_actor.h → condition_gather_runner.h} +17 -21
  1154. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/{condition_switch_actor.h → condition_switch_runner.h} +19 -21
  1155. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/control_actor.h +37 -41
  1156. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/entrance_actor.h +11 -11
  1157. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/exit_actor.h +8 -9
  1158. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/gather_actor.h +6 -7
  1159. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/stack_actor.h +11 -11
  1160. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/switch_actor.h +2 -2
  1161. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/copy_actor.h +12 -14
  1162. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_prepare_actor.h +21 -20
  1163. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_source_actor.h +10 -58
  1164. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_actor.h +11 -10
  1165. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_aware_actor.h +2 -2
  1166. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/fusion/fusion_actor.h +2 -2
  1167. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_actor.h +79 -86
  1168. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_infer_actor.h +3 -1
  1169. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_launch_actor.h +11 -1
  1170. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_resize_actor.h +3 -1
  1171. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_infer_actor.h +4 -4
  1172. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_resize_actor.h +4 -4
  1173. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_runner.h +400 -0
  1174. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/loop_count_actor.h +11 -11
  1175. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_alloc_actor.h +3 -3
  1176. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_free_actor.h +3 -3
  1177. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_swap_actor.h +4 -4
  1178. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_aware_actor.h +7 -7
  1179. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_manager_actor.h +18 -17
  1180. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/output_actor.h +11 -7
  1181. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/profiler_actor.h +2 -2
  1182. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/recorder_actor.h +2 -2
  1183. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/mux_send_actor.h +1 -1
  1184. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/recv_actor.h +6 -10
  1185. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/rpc_actor.h +2 -14
  1186. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/send_actor.h +4 -4
  1187. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/super_kernel_actor.h +57 -57
  1188. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/any_type_graph_scheduler.h +0 -33
  1189. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/control_node_scheduler.h +0 -2
  1190. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_copy_store.h +14 -14
  1191. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_store.h +28 -27
  1192. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/comm_execution_order_check.h +17 -7
  1193. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/kernel_cache.h +24 -4
  1194. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_compiler.h +3 -69
  1195. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_parameter_store.h +78 -142
  1196. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_scheduler.h +3 -19
  1197. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/parameter_store.h +4 -0
  1198. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pre_launch_comm.h +10 -2
  1199. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/rpc_node_scheduler.h +4 -13
  1200. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/scheduler_helper.h +12 -1
  1201. mindspore/include/mindspore/ccsrc/runtime/hardware/deprecated_interface.h +0 -2
  1202. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context.h +19 -119
  1203. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context_manager.h +1 -1
  1204. mindspore/include/mindspore/ccsrc/runtime/pipeline/async_rqueue.h +2 -2
  1205. mindspore/include/mindspore/ccsrc/runtime/pipeline/ring_queue.h +1 -1
  1206. mindspore/include/mindspore/ccsrc/runtime/pipeline/task/task.h +1 -1
  1207. mindspore/include/mindspore/ccsrc/runtime/pynative/ir_converter.h +8 -7
  1208. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runner.h +6 -6
  1209. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runtime_info.h +4 -4
  1210. mindspore/include/mindspore/ccsrc/utils/dlopen_macro.h +2 -2
  1211. mindspore/include/mindspore/core/include/abstract/abstract_function.h +54 -13
  1212. mindspore/include/mindspore/core/include/abstract/abstract_value.h +50 -13
  1213. mindspore/include/mindspore/core/include/abstract/ops/primitive_infer_map.h +1 -1
  1214. mindspore/include/mindspore/core/include/abstract/param_validator.h +3 -2
  1215. mindspore/include/mindspore/core/include/base/bfloat16.h +1 -1
  1216. mindspore/include/mindspore/core/include/base/{fp8_e4m3.h → float8_e4m3fn.h} +59 -58
  1217. mindspore/include/mindspore/core/include/base/{fp8_e5m2.h → float8_e5m2.h} +7 -7
  1218. mindspore/include/mindspore/core/include/base/hifloat8.h +35 -36
  1219. mindspore/include/mindspore/core/include/ir/anf.h +7 -4
  1220. mindspore/include/mindspore/core/include/ir/device_sync.h +17 -1
  1221. mindspore/include/mindspore/core/include/ir/dtype/number.h +47 -6
  1222. mindspore/include/mindspore/core/include/ir/dtype/op_dtype.h +48 -0
  1223. mindspore/include/mindspore/core/include/ir/dtype.h +4 -0
  1224. mindspore/include/mindspore/core/include/ir/func_graph.h +1 -0
  1225. mindspore/include/mindspore/core/include/ir/func_graph_cloner.h +2 -0
  1226. mindspore/include/mindspore/core/include/ir/meta_grad_data.h +4 -13
  1227. mindspore/include/mindspore/core/include/ir/primitive.h +20 -2
  1228. mindspore/include/mindspore/core/include/ir/scalar.h +2 -2
  1229. mindspore/include/mindspore/core/include/ir/scope.h +16 -3
  1230. mindspore/include/mindspore/core/include/ir/tensor.h +922 -41
  1231. mindspore/include/mindspore/core/include/ir/tensor_py_wrapperbase.h +11 -11
  1232. mindspore/include/mindspore/core/include/ir/tensor_storage_info.h +1 -0
  1233. mindspore/include/mindspore/core/include/load_mindir/infer_mindir.h +3 -2
  1234. mindspore/include/mindspore/core/include/mindapi/base/macros.h +3 -3
  1235. mindspore/include/mindspore/core/include/mindapi/base/type_id.h +3 -0
  1236. mindspore/include/mindspore/core/include/mindapi/base/types.h +7 -0
  1237. mindspore/include/mindspore/core/include/ops/op_def.h +2 -31
  1238. mindspore/include/mindspore/core/include/utils/callback_handler.h +1 -1
  1239. mindspore/include/mindspore/core/include/utils/compact_set.h +4 -0
  1240. mindspore/include/mindspore/core/include/utils/core_op_utils.h +1 -1
  1241. mindspore/include/mindspore/core/include/utils/device_manager_conf.h +4 -0
  1242. mindspore/include/mindspore/core/include/utils/info.h +7 -0
  1243. mindspore/include/mindspore/core/include/utils/log_adapter.h +9 -1
  1244. mindspore/include/mindspore/core/include/utils/ms_context.h +8 -10
  1245. mindspore/include/mindspore/core/include/utils/ms_exception.h +35 -4
  1246. mindspore/include/mindspore/core/include/utils/ms_utils.h +3 -8
  1247. mindspore/include/mindspore/core/include/utils/ms_utils_secure.h +1 -1
  1248. mindspore/include/mindspore/core/include/utils/phase.h +3 -0
  1249. mindspore/include/mindspore/core/include/utils/system/base.h +1 -1
  1250. mindspore/include/mindspore/core/mindrt/include/actor/op_actor.h +68 -0
  1251. mindspore/include/mindspore/core/mindrt/include/async/async.h +2 -2
  1252. mindspore/include/mindspore/core/mindrt/include/thread/hqueue.h +6 -6
  1253. mindspore/include/mindspore/core/mindrt/include/thread/threadpool.h +4 -2
  1254. mindspore/include/mindspore/ops/grad/grad_utils.h +21 -3
  1255. mindspore/include/mindspore/ops/infer/all_gather_v.h +39 -0
  1256. mindspore/include/mindspore/ops/infer/all_to_all.h +38 -0
  1257. mindspore/include/mindspore/ops/infer/ops_func_impl/acosh.h +2 -9
  1258. mindspore/include/mindspore/ops/infer/ops_func_impl/asinh.h +2 -9
  1259. mindspore/include/mindspore/ops/infer/ops_func_impl/atanh.h +4 -9
  1260. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_ext.h +6 -11
  1261. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_grad_ext.h +5 -4
  1262. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_scalar.h +4 -5
  1263. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_tensor.h +3 -5
  1264. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_scalar.h +3 -10
  1265. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_tensor.h +2 -10
  1266. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_scalar.h +3 -10
  1267. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_tensor.h +2 -10
  1268. mindspore/include/mindspore/{ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_build.h → ops/infer/ops_func_impl/diagonal_view.h} +13 -9
  1269. mindspore/include/mindspore/ops/infer/ops_func_impl/dump_gradient.h +33 -0
  1270. mindspore/include/mindspore/ops/infer/ops_func_impl/eltwise_op.h +4 -10
  1271. mindspore/include/mindspore/ops/infer/ops_func_impl/empty.h +7 -3
  1272. mindspore/include/mindspore/ops/infer/ops_func_impl/empty_like.h +7 -3
  1273. mindspore/include/mindspore/ops/infer/ops_func_impl/exp.h +3 -4
  1274. mindspore/include/mindspore/ops/infer/ops_func_impl/fused_add_topk_div.h +3 -0
  1275. mindspore/include/mindspore/ops/infer/ops_func_impl/grouped_matmul_base.h +1 -1
  1276. mindspore/include/mindspore/ops/infer/ops_func_impl/{moe_token_unpermute.h → inner_moe_token_unpermute.h} +4 -4
  1277. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_matmul_add.h +34 -0
  1278. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_silu.h +35 -0
  1279. mindspore/include/mindspore/ops/infer/ops_func_impl/masked_fill.h +4 -3
  1280. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_indices.h +2 -8
  1281. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_mask.h +4 -2
  1282. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_indices.h +6 -4
  1283. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_mask.h +6 -4
  1284. mindspore/include/mindspore/ops/infer/ops_func_impl/{decoder_k_v_cache.h → moe_distribute_combine.h} +6 -12
  1285. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_distribute_dispatch.h +37 -0
  1286. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_init_routing_quant_v2.h +39 -0
  1287. mindspore/include/mindspore/ops/infer/ops_func_impl/neg.h +1 -6
  1288. mindspore/include/mindspore/ops/infer/ops_func_impl/new_empty.h +7 -3
  1289. mindspore/include/mindspore/ops/infer/ops_func_impl/new_full.h +37 -0
  1290. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like.h +2 -6
  1291. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like_ext.h +1 -2
  1292. mindspore/include/mindspore/ops/infer/ops_func_impl/quant_matmul.h +32 -0
  1293. mindspore/include/mindspore/ops/infer/ops_func_impl/reciprocal.h +4 -9
  1294. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_any.h +4 -5
  1295. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_arithmetic.h +2 -1
  1296. mindspore/include/mindspore/ops/infer/ops_func_impl/remainder_tensor_scalar.h +4 -4
  1297. mindspore/include/mindspore/ops/infer/ops_func_impl/sigmoid.h +4 -5
  1298. mindspore/include/mindspore/ops/infer/ops_func_impl/square.h +2 -10
  1299. mindspore/include/mindspore/ops/infer/ops_func_impl/{prompt_k_v_cache.h → topprouter.h} +8 -12
  1300. mindspore/include/mindspore/ops/infer/ops_func_impl/zeros_like_ext.h +1 -2
  1301. mindspore/include/mindspore/ops/infer/reduce_scatter.h +3 -1
  1302. mindspore/include/mindspore/ops/infer/reduce_scatter_v.h +38 -0
  1303. mindspore/include/mindspore/ops/kernel/ascend/acl/acl_kernel_mod.h +3 -0
  1304. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/acl_adapter_info.h +1 -1
  1305. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_aclnn_utils.h +95 -0
  1306. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_cache.h +12 -5
  1307. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_exec.h +2 -0
  1308. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_cache.h +7 -7
  1309. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_convert.h +12 -61
  1310. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_exec.h +17 -10
  1311. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_util.h +0 -1
  1312. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_base.h +1 -1
  1313. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_log.h +11 -11
  1314. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/formats_definitions.h +5 -1
  1315. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/register_format_transfer.h +5 -1
  1316. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/inc/ms_cpu_kernel.h +1 -1
  1317. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/concat.h +1 -1
  1318. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dct.h +1 -1
  1319. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dctn.h +1 -1
  1320. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_ortho.h +1 -1
  1321. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_shapecopy.h +1 -1
  1322. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftbase.h +1 -1
  1323. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftfreq.h +1 -1
  1324. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftnbase.h +1 -1
  1325. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/irfft_double.h +1 -1
  1326. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/nms_with_mask.h +0 -1
  1327. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_sparse.h +1 -1
  1328. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/philox_random_dist.h +1 -1
  1329. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/random_distributions.h +27 -25
  1330. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/topprouter.h +64 -0
  1331. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/fused_sparse_utils.h +1 -1
  1332. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/kernel_util.h +2 -2
  1333. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/philox_random.h +75 -138
  1334. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/range_sampler.h +7 -3
  1335. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_group.h +18 -15
  1336. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_tensor.h +18 -15
  1337. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_grad_op.h +0 -11
  1338. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_op.h +0 -11
  1339. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3_d_grad_op.h +0 -14
  1340. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3d_op.h +0 -18
  1341. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool_2d_grad_op.h +0 -14
  1342. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adjust_contrastv2_op.h +0 -21
  1343. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/arg_max_op.h +0 -22
  1344. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/bartlett_window_op.h +0 -19
  1345. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cauchy_op.h +0 -11
  1346. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cholesky_solve_op.h +0 -23
  1347. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/coalesce_op.h +0 -24
  1348. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/csr_sparse_matrix_to_dense_op.h +0 -15
  1349. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/dense_to_csr_sparse_matrix_op.h +0 -16
  1350. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/eig_op.h +0 -17
  1351. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/exp.h +0 -18
  1352. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_grad_with_fixed_ksize_op.h +0 -22
  1353. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_with_fixed_ksize_op.h +0 -19
  1354. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/geqrf_op.h +0 -14
  1355. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_grad_op.h +0 -17
  1356. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_op.h +0 -20
  1357. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/hamming_window_op.h +0 -20
  1358. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/index_fill.h +0 -18
  1359. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/instance_norm_v2_grad.h +0 -28
  1360. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/layer_norm_grad_grad_op.h +0 -17
  1361. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/log_normal_reverse.h +0 -15
  1362. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/logspace.h +0 -23
  1363. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/lstsq_op.h +0 -15
  1364. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_logarithm.h +0 -13
  1365. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_power_op.h +0 -16
  1366. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/max_pool_3d_grad_with_argmax_op.h +0 -26
  1367. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/maximum_grad_grad.h +0 -19
  1368. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_grad_op.h +0 -19
  1369. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_op.h +0 -17
  1370. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/minimum_grad_grad.h +0 -19
  1371. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_grad_op.h +0 -24
  1372. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_op.h +0 -19
  1373. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_grad_op.h +0 -17
  1374. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_op.h +0 -15
  1375. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/pdist_grad_op.h +0 -21
  1376. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_mean_op.h +0 -18
  1377. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_min_op.h +0 -19
  1378. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_addmm.h +0 -16
  1379. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_adagrad_da.h +0 -38
  1380. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_centered_rms_prop.h +0 -47
  1381. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_momentum.h +0 -36
  1382. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_proximal_gradient_descent.h +0 -29
  1383. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_matrix_transpose_op.h +0 -29
  1384. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_mean_with_num_segments_op.h +0 -19
  1385. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_grad_op.h +0 -21
  1386. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_op.h +0 -18
  1387. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_with_num_segments_op.h +0 -20
  1388. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_tensor_to_csr_sparse_matrix_op.h +0 -18
  1389. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sspaddmm_op.h +0 -22
  1390. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/triplet_margin_loss_op.h +0 -22
  1391. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/axis_util.h +5 -1
  1392. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/reduce_infer_util.h +1 -2
  1393. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/transfer_shape_according_to_format.h +5 -1
  1394. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/drop_out_gen_mask_kernels.h +2 -2
  1395. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/gather_grad_kernels.h +1 -1
  1396. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_util.h +2 -0
  1397. mindspore/include/mindspore/ops/kernel/ascend/availability/silent_check/ascend_silent_check.h +13 -14
  1398. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addbmm_aclnn_kernel.h +1 -1
  1399. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmm_aclnn_kernel.h +1 -1
  1400. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmv_aclnn_kernel.h +1 -1
  1401. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/baddbmm_aclnn_kernel.h +1 -1
  1402. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_ext_aclnn_kernel.h +1 -0
  1403. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_grad_ext_aclnn_kernel.h +2 -1
  1404. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/bincount_ext_aclnn_kernel.h +2 -2
  1405. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/chunk_aclnn_kernel.h +2 -2
  1406. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv1d_padding_aclnn_kernel.h +1 -1
  1407. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv2d_padding_aclnn_kernel.h +1 -1
  1408. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/convolution_str_aclnn_kernel.h +1 -1
  1409. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_aclnn_utils.h +1 -1
  1410. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_v2_aclnn_kernel.h +26 -21
  1411. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dense_aclnn_kernel.h +13 -6
  1412. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dropout_ext_aclnn_kernel.h +3 -3
  1413. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_aclnn_kernel.h +39 -0
  1414. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_like_aclnn_kernel.h +39 -0
  1415. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_aclnn_kernel.h +1 -0
  1416. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_grad_aclnn_kernel.h +1 -0
  1417. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/gather_d_grad_v2_aclnn_kernel.h +1 -1
  1418. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_2d_grad_aclnn_kernel.h +3 -3
  1419. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_3d_grad_aclnn_kernel.h +3 -3
  1420. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_add_ext_aclnn_kernel.h +1 -1
  1421. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_scalar_aclnn_kernel.h +1 -1
  1422. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_tensor_aclnn_kernel.h +1 -1
  1423. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inner_inplace_index_put_aclnn_kernel.h +1 -0
  1424. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/{moe_token_unpermute_aclnn_kernel.h → inner_moe_token_unpermute_aclnn_kernel.h} +6 -6
  1425. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_clamp_scalar_aclnn_kernel.h +2 -0
  1426. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_index_add_aclnn_kernel.h +1 -1
  1427. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_normal_aclnn_kernel.h +2 -2
  1428. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_scatter_add_aclnn_kernel.h +45 -0
  1429. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_silu_aclnn_kernel.h +42 -0
  1430. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_uniform_aclnn_kernel.h +2 -2
  1431. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/isinf_aclnn_kernel.h +1 -1
  1432. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/linalg_vector_norm_aclnn_kernel.h +1 -1
  1433. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_all_reduce_aclnn_kernel.h +2 -2
  1434. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_reduce_scatter_aclnn_kernel.h +4 -4
  1435. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_combine_aclnn_kernel.h +56 -0
  1436. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_dispatch_aclnn_kernel.h +55 -0
  1437. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_init_routing_quant_v2_aclnn_kernel.h +50 -0
  1438. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_ext_aclnn_kernel.h +1 -1
  1439. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_grad_ext_aclnn_kernel.h +1 -1
  1440. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/multinomial_ext_aclnn_kernel.h +1 -1
  1441. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/narrow_aclnn_kernel.h +3 -3
  1442. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_empty_aclnn_kernel.h +39 -0
  1443. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_full_aclnn_kernel.h +41 -0
  1444. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/norm_aclnn_kernel.h +1 -1
  1445. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/prod_ext_aclnn_kernel.h +1 -1
  1446. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/quant_batch_matmul_all_reduce_aclnn_kernel.h +2 -2
  1447. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/rand_ext_aclnn_kernel.h +2 -2
  1448. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randint_aclnn_kernel.h +4 -4
  1449. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randn_aclnn_kernel.h +2 -2
  1450. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randperm_ext_aclnn_kernel.h +2 -2
  1451. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/repeat_interleave_grad_aclnn_kernel.h +1 -1
  1452. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/split_with_size_aclnn_kernel.h +1 -1
  1453. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique2_aclnn_kernel.h +3 -0
  1454. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_consecutive_aclnn_kernel.h +2 -0
  1455. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_dim_aclnn_kernel.h +3 -0
  1456. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/view/diagonal_view.h +42 -0
  1457. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/apply_rotary_pos_emb_aclnn_kernel.h +41 -0
  1458. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/paged_attention_aclnn_kernel.h +41 -0
  1459. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_mod.h +32 -11
  1460. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_utils.h +3 -3
  1461. mindspore/include/mindspore/ops/kernel/ascend/pyboost/aclnn_utils.h +11 -4
  1462. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner.h +124 -0
  1463. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner_base.h +48 -0
  1464. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_utils.h +63 -0
  1465. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/abs.h +1 -1
  1466. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acos_ext.h +1 -1
  1467. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acosh_ext.h +1 -1
  1468. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adamw.h +1 -1
  1469. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  1470. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  1471. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  1472. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  1473. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  1474. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  1475. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  1476. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add.h +1 -1
  1477. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_ext.h +1 -1
  1478. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  1479. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  1480. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rms_norm.h +1 -1
  1481. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  1482. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_scalar.h +1 -1
  1483. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addbmm.h +1 -1
  1484. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcdiv_ext.h +1 -1
  1485. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcmul_ext.h +1 -1
  1486. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmm.h +1 -1
  1487. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmv.h +1 -1
  1488. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_finite.h +1 -1
  1489. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_gather_matmul.h +1 -1
  1490. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any.h +40 -0
  1491. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any_ext.h +40 -0
  1492. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/apply_rotary_pos_emb.h +40 -0
  1493. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/arange.h +1 -1
  1494. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_ext.h +1 -1
  1495. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_with_value.h +1 -1
  1496. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_ext.h +1 -1
  1497. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_with_value.h +1 -1
  1498. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argsort.h +1 -1
  1499. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/as_strided.h +1 -1
  1500. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asin_ext.h +1 -1
  1501. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asinh_ext.h +1 -1
  1502. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan2_ext.h +1 -1
  1503. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan_ext.h +1 -1
  1504. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atanh.h +1 -1
  1505. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool1d.h +1 -1
  1506. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d.h +1 -1
  1507. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  1508. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  1509. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  1510. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/baddbmm.h +1 -1
  1511. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_mat_mul.h +1 -1
  1512. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  1513. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  1514. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_ext.h +1 -1
  1515. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  1516. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  1517. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  1518. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_stats.h +1 -1
  1519. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bernoulli_ext.h +1 -1
  1520. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  1521. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  1522. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  1523. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  1524. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bincount_ext.h +1 -1
  1525. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  1526. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  1527. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_not.h +1 -1
  1528. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  1529. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  1530. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  1531. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  1532. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bmm_ext.h +1 -1
  1533. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to.h +1 -1
  1534. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to_view.h +1 -1
  1535. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cast.h +1 -1
  1536. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ceil.h +1 -1
  1537. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk.h +1 -1
  1538. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk_view.h +1 -1
  1539. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_scalar.h +1 -1
  1540. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_tensor.h +1 -1
  1541. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clone.h +1 -1
  1542. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_ext.h +1 -1
  1543. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_grad.h +1 -1
  1544. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/concat.h +1 -1
  1545. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/constant_pad_nd.h +1 -1
  1546. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/contiguous.h +1 -1
  1547. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_ext.h +1 -1
  1548. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_padding.h +1 -1
  1549. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_ext.h +1 -1
  1550. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_padding.h +1 -1
  1551. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_ext.h +1 -1
  1552. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_padding.h +1 -1
  1553. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv_transpose2d.h +1 -1
  1554. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution.h +1 -1
  1555. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_grad.h +1 -1
  1556. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str.h +1 -1
  1557. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str_grad.h +1 -1
  1558. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/copy.h +1 -1
  1559. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cos.h +1 -1
  1560. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cosh.h +1 -1
  1561. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/count_nonzero.h +1 -1
  1562. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cross.h +1 -1
  1563. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummax.h +1 -1
  1564. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummin_ext.h +1 -1
  1565. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cumsum_ext.h +1 -1
  1566. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/custom_ext.h +1 -1
  1567. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dense.h +1 -1
  1568. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diag_ext.h +1 -1
  1569. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diagonal_view.h +40 -0
  1570. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/div.h +1 -1
  1571. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmod.h +1 -1
  1572. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmods.h +1 -1
  1573. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divs.h +1 -1
  1574. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dot.h +1 -1
  1575. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  1576. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_ext.h +1 -1
  1577. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  1578. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  1579. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  1580. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/einsum_ext.h +40 -0
  1581. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu.h +1 -1
  1582. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_ext.h +1 -1
  1583. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_grad_ext.h +1 -1
  1584. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding.h +1 -1
  1585. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  1586. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty.h +40 -0
  1587. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty_like.h +40 -0
  1588. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal.h +1 -1
  1589. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal_ext.h +1 -1
  1590. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erf.h +1 -1
  1591. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfc.h +1 -1
  1592. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfinv.h +1 -1
  1593. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp.h +1 -1
  1594. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp2.h +1 -1
  1595. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_as.h +1 -1
  1596. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims.h +1 -1
  1597. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims_view.h +1 -1
  1598. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expm1.h +1 -1
  1599. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/eye.h +1 -1
  1600. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ffn_ext.h +1 -1
  1601. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_scalar.h +1 -1
  1602. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_tensor.h +1 -1
  1603. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score.h +1 -1
  1604. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  1605. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flatten_ext.h +1 -1
  1606. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor.h +1 -1
  1607. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div.h +1 -1
  1608. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div_scalar.h +1 -1
  1609. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_scalar.h +1 -1
  1610. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_tensor.h +1 -1
  1611. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/frac.h +1 -1
  1612. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/full_like.h +1 -1
  1613. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/func_max_pool2d.h +40 -0
  1614. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  1615. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d.h +1 -1
  1616. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  1617. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gcd.h +1 -1
  1618. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu.h +1 -1
  1619. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_ext.h +1 -1
  1620. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad.h +1 -1
  1621. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  1622. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/generator.h +1 -1
  1623. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu.h +1 -1
  1624. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu_grad.h +1 -1
  1625. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm.h +1 -1
  1626. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward.h +1 -1
  1627. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  1628. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2.h +1 -1
  1629. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  1630. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  1631. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater.h +1 -1
  1632. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal.h +1 -1
  1633. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  1634. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  1635. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  1636. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  1637. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  1638. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm.h +1 -1
  1639. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm_grad.h +1 -1
  1640. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul.h +1 -1
  1641. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  1642. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  1643. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh.h +1 -1
  1644. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh_grad.h +1 -1
  1645. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/histc_ext.h +1 -1
  1646. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink.h +1 -1
  1647. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink_grad.h +1 -1
  1648. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid.h +1 -1
  1649. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  1650. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish.h +1 -1
  1651. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish_grad.h +1 -1
  1652. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/identity.h +1 -1
  1653. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/im2col_ext.h +1 -1
  1654. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/incre_flash_attention.h +1 -1
  1655. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index.h +1 -1
  1656. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_add_ext.h +1 -1
  1657. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_scalar.h +1 -1
  1658. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_tensor.h +1 -1
  1659. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_select.h +1 -1
  1660. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_index.h +1 -1
  1661. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  1662. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_moe_token_unpermute.h +40 -0
  1663. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_non_zero.h +1 -1
  1664. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_add_ext.h +1 -1
  1665. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_addmm.h +1 -1
  1666. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  1667. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  1668. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  1669. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_copy.h +1 -1
  1670. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_div.h +1 -1
  1671. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmod.h +1 -1
  1672. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmods.h +1 -1
  1673. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divs.h +1 -1
  1674. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_elu.h +1 -1
  1675. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_erfinv.h +1 -1
  1676. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exp.h +1 -1
  1677. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exponential.h +1 -1
  1678. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  1679. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  1680. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  1681. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor.h +1 -1
  1682. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  1683. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  1684. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  1685. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  1686. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_add.h +1 -1
  1687. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_put.h +1 -1
  1688. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_log.h +1 -1
  1689. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  1690. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  1691. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_matmul_add.h +40 -0
  1692. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_mul.h +1 -1
  1693. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_muls.h +1 -1
  1694. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_normal.h +1 -1
  1695. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_put.h +1 -1
  1696. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_random.h +1 -1
  1697. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_relu.h +1 -1
  1698. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  1699. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  1700. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  1701. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  1702. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  1703. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_silu.h +40 -0
  1704. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  1705. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  1706. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  1707. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_tanh.h +1 -1
  1708. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_threshold.h +1 -1
  1709. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_uniform.h +1 -1
  1710. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_zero.h +1 -1
  1711. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isclose.h +1 -1
  1712. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isfinite.h +1 -1
  1713. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isinf.h +1 -1
  1714. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isneginf.h +1 -1
  1715. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div.h +1 -1
  1716. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div_grad.h +1 -1
  1717. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kthvalue.h +1 -1
  1718. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  1719. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  1720. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_ext.h +1 -1
  1721. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_ext.h +1 -1
  1722. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  1723. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  1724. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  1725. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp.h +1 -1
  1726. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp_scalar.h +1 -1
  1727. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less.h +1 -1
  1728. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less_equal.h +1 -1
  1729. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lin_space_ext.h +1 -1
  1730. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_qr.h +1 -1
  1731. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  1732. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log.h +1 -1
  1733. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log10.h +1 -1
  1734. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log1p.h +1 -1
  1735. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log2.h +1 -1
  1736. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax.h +1 -1
  1737. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_ext.h +1 -1
  1738. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_grad.h +1 -1
  1739. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp.h +1 -1
  1740. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp2.h +1 -1
  1741. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_and.h +1 -1
  1742. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_not.h +1 -1
  1743. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_or.h +1 -1
  1744. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_xor.h +1 -1
  1745. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid.h +1 -1
  1746. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  1747. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsumexp.h +1 -1
  1748. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_fill.h +1 -1
  1749. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select.h +1 -1
  1750. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select_grad.h +1 -1
  1751. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul.h +1 -1
  1752. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  1753. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_ext.h +1 -1
  1754. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  1755. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  1756. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max.h +1 -1
  1757. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_dim.h +1 -1
  1758. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  1759. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  1760. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  1761. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  1762. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  1763. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/maximum.h +1 -1
  1764. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mean_ext.h +1 -1
  1765. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_dim.h +1 -1
  1766. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_ext.h +1 -1
  1767. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/meshgrid.h +1 -1
  1768. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min.h +1 -1
  1769. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min_dim.h +1 -1
  1770. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/minimum.h +1 -1
  1771. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_ext.h +1 -1
  1772. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_grad_ext.h +1 -1
  1773. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mm_ext.h +1 -1
  1774. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  1775. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_combine.h +40 -0
  1776. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_dispatch.h +40 -0
  1777. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  1778. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  1779. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing.h +1 -1
  1780. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_quant_v2.h +40 -0
  1781. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  1782. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute.h +1 -1
  1783. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  1784. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  1785. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  1786. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_ext.h +1 -1
  1787. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  1788. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mul.h +1 -1
  1789. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/muls.h +1 -1
  1790. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  1791. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  1792. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multinomial_ext.h +1 -1
  1793. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mv.h +1 -1
  1794. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nan_to_num.h +1 -1
  1795. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nansum.h +1 -1
  1796. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow.h +1 -1
  1797. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow_view.h +1 -1
  1798. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ne_scalar.h +1 -1
  1799. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/neg.h +1 -1
  1800. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_empty.h +40 -0
  1801. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_full.h +40 -0
  1802. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_ones.h +1 -1
  1803. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_zeros.h +1 -1
  1804. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss.h +1 -1
  1805. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d.h +1 -1
  1806. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  1807. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_grad.h +1 -1
  1808. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero.h +1 -1
  1809. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero_ext.h +1 -1
  1810. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/norm.h +1 -1
  1811. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_float.h +1 -1
  1812. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_tensor.h +1 -1
  1813. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_float.h +1 -1
  1814. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  1815. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/not_equal.h +1 -1
  1816. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/one_hot_ext.h +1 -1
  1817. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones.h +1 -1
  1818. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones_like_ext.h +1 -1
  1819. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/outer.h +1 -1
  1820. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/paged_attention.h +40 -0
  1821. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pixel_shuffle.h +1 -1
  1822. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/polar.h +1 -1
  1823. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow.h +1 -1
  1824. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  1825. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  1826. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu.h +1 -1
  1827. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu_grad.h +1 -1
  1828. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prod_ext.h +1 -1
  1829. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  1830. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  1831. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_matmul.h +40 -0
  1832. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_v2.h +1 -1
  1833. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_ext.h +1 -1
  1834. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_like_ext.h +1 -1
  1835. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint.h +1 -1
  1836. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint_like.h +1 -1
  1837. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn.h +1 -1
  1838. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn_like.h +1 -1
  1839. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randperm_ext.h +1 -1
  1840. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reciprocal.h +1 -1
  1841. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_all.h +1 -1
  1842. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_any.h +1 -1
  1843. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_max.h +1 -1
  1844. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_min.h +1 -1
  1845. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  1846. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  1847. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  1848. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  1849. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  1850. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  1851. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu.h +1 -1
  1852. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu_grad.h +1 -1
  1853. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  1854. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  1855. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  1856. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat.h +1 -1
  1857. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  1858. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  1859. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  1860. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d.h +1 -1
  1861. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  1862. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d.h +1 -1
  1863. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  1864. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d.h +1 -1
  1865. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  1866. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape.h +1 -1
  1867. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape_and_cache.h +40 -0
  1868. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reverse_v2.h +1 -1
  1869. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm.h +1 -1
  1870. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm_grad.h +1 -1
  1871. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/roll.h +1 -1
  1872. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  1873. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  1874. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/round.h +1 -1
  1875. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rsqrt.h +1 -1
  1876. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter.h +1 -1
  1877. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_add_ext.h +1 -1
  1878. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_value.h +1 -1
  1879. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/searchsorted.h +1 -1
  1880. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select.h +1 -1
  1881. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_ext_view.h +1 -1
  1882. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_v2.h +1 -1
  1883. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_ext.h +1 -1
  1884. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_grad.h +1 -1
  1885. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid.h +1 -1
  1886. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid_grad.h +1 -1
  1887. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sign.h +1 -1
  1888. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v2.h +1 -1
  1889. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v3.h +1 -1
  1890. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu.h +1 -1
  1891. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu_grad.h +1 -1
  1892. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sin.h +1 -1
  1893. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinc.h +1 -1
  1894. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinh.h +1 -1
  1895. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice.h +1 -1
  1896. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext.h +1 -1
  1897. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext_view.h +1 -1
  1898. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  1899. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  1900. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss.h +1 -1
  1901. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  1902. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax.h +1 -1
  1903. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax_backward.h +1 -1
  1904. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_ext.h +1 -1
  1905. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  1906. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink.h +1 -1
  1907. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink_grad.h +1 -1
  1908. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sort_ext.h +1 -1
  1909. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  1910. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  1911. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split.h +1 -1
  1912. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor.h +1 -1
  1913. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor_view.h +1 -1
  1914. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size.h +1 -1
  1915. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size_view.h +1 -1
  1916. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sqrt.h +1 -1
  1917. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/square.h +1 -1
  1918. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/squeeze.h +1 -1
  1919. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/stack_ext.h +1 -1
  1920. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std.h +1 -1
  1921. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std_mean.h +1 -1
  1922. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub.h +1 -1
  1923. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_ext.h +1 -1
  1924. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_scalar.h +1 -1
  1925. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sum_ext.h +1 -1
  1926. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu.h +1 -1
  1927. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu_grad.h +1 -1
  1928. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/t_ext.h +1 -1
  1929. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/take.h +1 -1
  1930. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tan.h +1 -1
  1931. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh.h +1 -1
  1932. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh_grad.h +1 -1
  1933. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  1934. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold.h +1 -1
  1935. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold_grad.h +1 -1
  1936. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tile.h +1 -1
  1937. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/topk_ext.h +1 -1
  1938. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trace_ext.h +1 -1
  1939. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose.h +1 -1
  1940. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_ext_view.h +1 -1
  1941. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_view.h +1 -1
  1942. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triangular_solve.h +1 -1
  1943. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tril_ext.h +1 -1
  1944. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triu.h +1 -1
  1945. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trunc.h +1 -1
  1946. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/type_as.h +1 -1
  1947. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/uniform_ext.h +1 -1
  1948. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique2.h +1 -1
  1949. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_consecutive.h +1 -1
  1950. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_dim.h +1 -1
  1951. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unstack_ext_view.h +1 -1
  1952. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  1953. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  1954. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  1955. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  1956. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d.h +1 -1
  1957. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  1958. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  1959. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  1960. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  1961. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  1962. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  1963. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  1964. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  1965. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  1966. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var.h +1 -1
  1967. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var_mean.h +1 -1
  1968. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view.h +1 -1
  1969. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view_as.h +1 -1
  1970. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  1971. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy.h +1 -1
  1972. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  1973. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  1974. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros.h +1 -1
  1975. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros_like_ext.h +1 -1
  1976. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adamw.h +5 -5
  1977. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool1d.h +2 -3
  1978. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool3d_ext.h +2 -3
  1979. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool1d.h +3 -2
  1980. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool2d.h +3 -2
  1981. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add.h +2 -2
  1982. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_layernorm_v2.h +3 -3
  1983. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rms_norm.h +3 -3
  1984. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rmsnorm_quant_v2.h +3 -3
  1985. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_scalar.h +2 -2
  1986. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addbmm.h +3 -3
  1987. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmm.h +3 -3
  1988. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmv.h +3 -3
  1989. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_finite.h +2 -2
  1990. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_gather_matmul.h +3 -3
  1991. mindspore/include/mindspore/{ccsrc/plugin/device/ascend/hal/common/ascend_utils.h → ops/kernel/ascend/pyboost/customize/any.h} +12 -21
  1992. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/any_ext.h +35 -0
  1993. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/arange.h +3 -3
  1994. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_ext.h +2 -2
  1995. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_with_value.h +4 -3
  1996. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_ext.h +2 -2
  1997. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_with_value.h +4 -3
  1998. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argsort.h +3 -3
  1999. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool1d.h +4 -4
  2000. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d.h +5 -5
  2001. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d_grad.h +5 -5
  2002. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_ext.h +6 -6
  2003. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_grad_ext.h +6 -6
  2004. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/baddbmm.h +3 -3
  2005. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_mat_mul.h +3 -3
  2006. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_elemt.h +5 -7
  2007. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_ext.h +6 -5
  2008. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_gather_stats_with_counts.h +5 -5
  2009. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_grad_ext.h +6 -6
  2010. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_stats.h +3 -2
  2011. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bernoulli_ext.h +2 -3
  2012. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy.h +4 -5
  2013. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_grad.h +5 -6
  2014. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits.h +6 -6
  2015. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits_backward.h +4 -4
  2016. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bincount_ext.h +3 -3
  2017. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bmm_ext.h +2 -3
  2018. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/clone.h +1 -1
  2019. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/contiguous.h +1 -1
  2020. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_ext.h +4 -5
  2021. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_padding.h +5 -6
  2022. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_ext.h +4 -5
  2023. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_padding.h +5 -6
  2024. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_ext.h +4 -5
  2025. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_padding.h +5 -6
  2026. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv_transpose2d.h +6 -4
  2027. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution.h +6 -6
  2028. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_grad.h +3 -3
  2029. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_str.h +6 -7
  2030. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/copy.h +1 -1
  2031. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/count_nonzero.h +2 -3
  2032. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cross.h +2 -2
  2033. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummax.h +3 -3
  2034. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummin_ext.h +3 -3
  2035. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cumsum_ext.h +2 -2
  2036. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_ext.h +2 -2
  2037. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_kernel.h +2 -2
  2038. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_launch_aclnn.h +1 -1
  2039. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dense.h +2 -2
  2040. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/diag_ext.h +2 -2
  2041. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmod.h +2 -3
  2042. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmods.h +2 -2
  2043. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divs.h +2 -2
  2044. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_do_mask_ext.h +2 -2
  2045. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_ext.h +2 -3
  2046. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_gen_mask_ext.h +3 -3
  2047. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_grad_ext.h +2 -2
  2048. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/einsum_ext.h +36 -0
  2049. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_ext.h +2 -2
  2050. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_grad_ext.h +3 -3
  2051. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding.h +4 -5
  2052. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding_dense_backward.h +5 -3
  2053. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty.h +35 -0
  2054. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty_like.h +36 -0
  2055. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/eye.h +2 -2
  2056. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ffn_ext.h +8 -8
  2057. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_scalar.h +2 -2
  2058. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_tensor.h +2 -3
  2059. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score.h +4 -4
  2060. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score_grad.h +6 -6
  2061. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flatten_ext.h +1 -1
  2062. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div.h +2 -2
  2063. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div_scalar.h +2 -2
  2064. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/full_like.h +2 -2
  2065. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/func_max_pool2d.h +38 -0
  2066. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fused_infer_attention_score.h +15 -18
  2067. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gather_d_grad_v2.h +2 -3
  2068. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad.h +2 -2
  2069. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad_ext.h +2 -2
  2070. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2.h +1 -1
  2071. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward.h +1 -1
  2072. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward_fusion.h +1 -2
  2073. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_2d_grad.h +3 -3
  2074. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_3d_grad.h +3 -3
  2075. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm.h +3 -3
  2076. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm_grad.h +3 -3
  2077. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul.h +1 -1
  2078. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul_v4.h +1 -1
  2079. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink.h +2 -2
  2080. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink_grad.h +2 -3
  2081. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/identity.h +1 -1
  2082. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/incre_flash_attention.h +11 -11
  2083. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index.h +2 -2
  2084. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_add_ext.h +3 -3
  2085. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_scalar.h +3 -3
  2086. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_tensor.h +3 -3
  2087. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_index.h +2 -2
  2088. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_inplace_index_put.h +4 -5
  2089. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_moe_token_unpermute.h +39 -0
  2090. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_non_zero.h +1 -2
  2091. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_add_ext.h +2 -3
  2092. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_addmm.h +3 -4
  2093. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_adds_ext.h +2 -3
  2094. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_scalar.h +3 -4
  2095. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_tensor.h +3 -4
  2096. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_copy.h +2 -3
  2097. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_div.h +2 -2
  2098. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmod.h +3 -3
  2099. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmods.h +3 -3
  2100. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divs.h +2 -2
  2101. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_elu.h +2 -2
  2102. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_erfinv.h +1 -2
  2103. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exp.h +1 -1
  2104. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exponential.h +3 -3
  2105. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_diagonal.h +2 -3
  2106. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_scalar.h +2 -2
  2107. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_tensor.h +2 -2
  2108. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor.h +1 -2
  2109. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divide.h +2 -3
  2110. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divides.h +2 -2
  2111. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_grouped_matmul_add.h +3 -3
  2112. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_hardtanh.h +2 -3
  2113. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_add.h +3 -4
  2114. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_put.h +3 -4
  2115. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_log.h +1 -1
  2116. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_scalar.h +2 -3
  2117. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_tensor.h +2 -3
  2118. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_matmul_add.h +34 -0
  2119. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_mul.h +2 -2
  2120. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_muls.h +2 -2
  2121. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_normal.h +3 -3
  2122. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_put.h +3 -3
  2123. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_random.h +3 -4
  2124. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_relu.h +1 -2
  2125. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_add.h +3 -4
  2126. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src.h +3 -4
  2127. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src_reduce.h +4 -5
  2128. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value.h +3 -3
  2129. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value_reduce.h +4 -5
  2130. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_silu.h +35 -0
  2131. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_stop_gradient.h +1 -1
  2132. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_ext.h +2 -3
  2133. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_scalar.h +2 -3
  2134. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_tanh.h +1 -2
  2135. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_threshold.h +2 -3
  2136. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_uniform.h +3 -4
  2137. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_zero.h +1 -2
  2138. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isclose.h +3 -3
  2139. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isinf.h +1 -1
  2140. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div.h +3 -3
  2141. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div_grad.h +3 -6
  2142. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kv_cache_scatter_update.h +3 -5
  2143. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_backward_ext.h +3 -5
  2144. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_ext.h +2 -2
  2145. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_ext.h +3 -3
  2146. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_grad_ext.h +4 -4
  2147. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp.h +2 -2
  2148. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp_scalar.h +2 -2
  2149. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lin_space_ext.h +3 -3
  2150. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_qr.h +1 -2
  2151. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_vector_norm.h +1 -1
  2152. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_ext.h +3 -4
  2153. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_grad.h +2 -3
  2154. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_fill.h +2 -2
  2155. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select.h +2 -2
  2156. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select_grad.h +2 -4
  2157. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul.h +3 -3
  2158. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_allreduce_add_rmsnorm.h +3 -3
  2159. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_ext.h +2 -2
  2160. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_reduce_scatter.h +5 -4
  2161. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_indices.h +6 -7
  2162. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_mask.h +6 -6
  2163. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_indices.h +5 -5
  2164. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_mask.h +4 -5
  2165. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_unpool2d_ext.h +6 -6
  2166. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mean_ext.h +3 -3
  2167. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/meshgrid.h +4 -3
  2168. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mm_ext.h +2 -2
  2169. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_combine.h +45 -0
  2170. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_dispatch.h +41 -0
  2171. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_permute.h +2 -2
  2172. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute.h +4 -6
  2173. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute_grad.h +3 -4
  2174. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/move_to.h +2 -2
  2175. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_ext.h +2 -2
  2176. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_grad_ext.h +3 -4
  2177. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/muls.h +2 -2
  2178. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn.h +5 -3
  2179. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn_grad.h +4 -6
  2180. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multinomial_ext.h +3 -4
  2181. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mv.h +2 -2
  2182. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nan_to_num.h +3 -4
  2183. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nansum.h +3 -3
  2184. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ne_scalar.h +2 -2
  2185. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_empty.h +36 -0
  2186. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_full.h +36 -0
  2187. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_ones.h +2 -2
  2188. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_zeros.h +1 -1
  2189. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss.h +3 -3
  2190. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d.h +3 -3
  2191. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d_grad.h +4 -4
  2192. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_grad.h +4 -6
  2193. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero.h +1 -1
  2194. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero_ext.h +2 -2
  2195. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/norm.h +1 -1
  2196. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_float.h +3 -3
  2197. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_tensor.h +3 -3
  2198. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_float.h +3 -3
  2199. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_tensor.h +3 -4
  2200. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/one_hot_ext.h +3 -3
  2201. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones.h +2 -2
  2202. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones_like_ext.h +2 -2
  2203. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/outer.h +2 -2
  2204. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pixel_shuffle.h +2 -2
  2205. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_scalar_tensor.h +2 -2
  2206. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_tensor_scalar.h +2 -3
  2207. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prod_ext.h +3 -3
  2208. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prompt_flash_attention.h +7 -7
  2209. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_batch_matmul.h +7 -7
  2210. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_matmul.h +41 -0
  2211. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_v2.h +3 -3
  2212. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_ext.h +3 -3
  2213. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_like_ext.h +3 -3
  2214. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint.h +3 -4
  2215. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint_like.h +3 -4
  2216. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn.h +3 -3
  2217. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn_like.h +3 -3
  2218. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randperm_ext.h +3 -3
  2219. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reduce_all.h +2 -2
  2220. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/relu_grad.h +2 -2
  2221. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_grad.h +3 -3
  2222. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_int.h +3 -4
  2223. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_tensor.h +4 -5
  2224. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reshape.h +4 -2
  2225. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rms_norm.h +4 -4
  2226. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rotary_position_embedding_grad.h +3 -3
  2227. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/round.h +2 -2
  2228. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/scatter_add_ext.h +3 -3
  2229. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/searchsorted.h +3 -4
  2230. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sigmoid_grad.h +2 -2
  2231. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v2.h +5 -5
  2232. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v3.h +6 -4
  2233. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss.h +3 -4
  2234. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss_grad.h +4 -5
  2235. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss.h +2 -3
  2236. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss_grad.h +3 -4
  2237. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softmax.h +2 -2
  2238. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink.h +2 -2
  2239. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink_grad.h +2 -3
  2240. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sort_ext.h +5 -5
  2241. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention.h +4 -4
  2242. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention_grad.h +11 -12
  2243. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/square.h +1 -1
  2244. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std.h +3 -3
  2245. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std_mean.h +1 -1
  2246. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub.h +2 -2
  2247. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub_scalar.h +2 -2
  2248. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sum_ext.h +3 -3
  2249. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/t_ext.h +1 -1
  2250. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/take.h +2 -2
  2251. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tanh_grad.h +2 -2
  2252. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold.h +2 -2
  2253. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold_grad.h +2 -2
  2254. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tile.h +1 -1
  2255. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/type_as.h +2 -2
  2256. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/uniform_ext.h +3 -3
  2257. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique2.h +2 -2
  2258. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_consecutive.h +2 -2
  2259. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_dim.h +2 -2
  2260. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unstack_ext_view.h +4 -3
  2261. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d.h +4 -5
  2262. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d_grad.h +5 -6
  2263. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d.h +4 -5
  2264. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d_grad.h +6 -6
  2265. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d.h +4 -5
  2266. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d_grad.h +5 -6
  2267. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d.h +3 -4
  2268. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d_grad.h +4 -5
  2269. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d.h +3 -4
  2270. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d_grad.h +4 -5
  2271. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d.h +3 -4
  2272. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d_grad.h +4 -5
  2273. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d.h +4 -5
  2274. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d_grad.h +6 -6
  2275. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var.h +3 -3
  2276. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var_mean.h +1 -1
  2277. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/view_as.h +2 -2
  2278. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/weight_quant_batch_matmul.h +5 -5
  2279. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros.h +2 -2
  2280. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros_like_ext.h +2 -3
  2281. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/apply_rotary_pos_emb.h +40 -0
  2282. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/flash_attention_score.h +40 -0
  2283. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/paged_attention.h +40 -0
  2284. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/reshape_and_cache.h +40 -0
  2285. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/functions/functions.h +34 -0
  2286. mindspore/include/mindspore/ops/kernel/cpu/empty_cpu_kernel.h +55 -0
  2287. mindspore/include/mindspore/ops/kernel/cpu/empty_like_cpu_kernel.h +55 -0
  2288. mindspore/include/mindspore/ops/kernel/cpu/grid_sampler_2d_grad_cpu_kernel.h +3 -15
  2289. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_data_cpu_kernel.h +1 -1
  2290. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_grad_cpu_kernel.h +1 -1
  2291. mindspore/include/mindspore/ops/kernel/cpu/new_empty_cpu_kernel.h +55 -0
  2292. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_utils_fp16.h +1 -409
  2293. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_utils_fp16_macro.h +437 -0
  2294. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_sw.h +0 -1
  2295. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h +0 -3
  2296. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h +0 -3
  2297. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h +0 -3
  2298. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/abs.h +1 -1
  2299. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/acos_ext.h +38 -0
  2300. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2301. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2302. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  2303. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  2304. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  2305. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add.h +1 -1
  2306. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_ext.h +1 -1
  2307. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  2308. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  2309. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_scalar.h +1 -1
  2310. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  2311. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  2312. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any.h +38 -0
  2313. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any_ext.h +38 -0
  2314. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  2315. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  2316. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  2317. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argsort.h +1 -1
  2318. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/as_strided.h +1 -1
  2319. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atan_ext.h +38 -0
  2320. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atanh.h +1 -1
  2321. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  2322. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  2323. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  2324. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  2325. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  2326. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/baddbmm.h +1 -1
  2327. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  2328. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  2329. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  2330. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  2331. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  2332. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  2333. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  2334. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  2335. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  2336. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  2337. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  2338. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  2339. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  2340. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_not.h +1 -1
  2341. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  2342. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  2343. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  2344. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  2345. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bmm_ext.h +1 -1
  2346. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to.h +1 -1
  2347. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  2348. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cast.h +1 -1
  2349. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ceil.h +1 -1
  2350. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk.h +1 -1
  2351. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk_view.h +1 -1
  2352. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  2353. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  2354. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clone.h +1 -1
  2355. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_ext.h +1 -1
  2356. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_grad.h +1 -1
  2357. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/concat.h +1 -1
  2358. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  2359. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/contiguous.h +1 -1
  2360. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  2361. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  2362. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  2363. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  2364. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  2365. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution.h +1 -1
  2366. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_grad.h +1 -1
  2367. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str.h +1 -1
  2368. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  2369. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/copy.h +1 -1
  2370. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cos.h +1 -1
  2371. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cosh.h +1 -1
  2372. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/count_nonzero.h +1 -1
  2373. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cross.h +1 -1
  2374. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cummax.h +1 -1
  2375. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dense.h +1 -1
  2376. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diag_ext.h +1 -1
  2377. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diagonal_view.h +38 -0
  2378. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  2379. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  2380. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  2381. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  2382. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  2383. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  2384. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  2385. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  2386. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  2387. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  2388. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  2389. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  2390. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  2391. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  2392. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  2393. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  2394. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  2395. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/div.h +1 -1
  2396. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmod.h +1 -1
  2397. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmods.h +1 -1
  2398. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divs.h +1 -1
  2399. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dot.h +1 -1
  2400. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  2401. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/einsum_ext.h +38 -0
  2402. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/elu.h +1 -1
  2403. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding.h +1 -1
  2404. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  2405. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty.h +38 -0
  2406. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty_like.h +38 -0
  2407. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal.h +1 -1
  2408. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal_ext.h +1 -1
  2409. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erf.h +1 -1
  2410. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfc.h +1 -1
  2411. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfinv.h +1 -1
  2412. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp.h +1 -1
  2413. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp2.h +1 -1
  2414. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims.h +1 -1
  2415. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  2416. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expm1.h +1 -1
  2417. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/eye.h +1 -1
  2418. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ffn_ext.h +1 -1
  2419. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor.h +1 -1
  2420. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div.h +1 -1
  2421. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  2422. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  2423. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/frac.h +1 -1
  2424. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/full_like.h +1 -1
  2425. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  2426. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d.h +1 -1
  2427. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  2428. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gcd.h +1 -1
  2429. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu.h +1 -1
  2430. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_ext.h +1 -1
  2431. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad.h +1 -1
  2432. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  2433. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/generator.h +1 -1
  2434. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu.h +1 -1
  2435. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu_grad.h +1 -1
  2436. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater.h +1 -1
  2437. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal.h +1 -1
  2438. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  2439. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  2440. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  2441. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  2442. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  2443. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm.h +1 -1
  2444. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  2445. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  2446. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  2447. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  2448. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh.h +1 -1
  2449. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  2450. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink.h +1 -1
  2451. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  2452. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid.h +1 -1
  2453. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  2454. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish.h +1 -1
  2455. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish_grad.h +1 -1
  2456. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/identity.h +1 -1
  2457. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/im2col_ext.h +1 -1
  2458. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  2459. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index.h +1 -1
  2460. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_add_ext.h +1 -1
  2461. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  2462. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  2463. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  2464. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  2465. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  2466. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  2467. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  2468. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  2469. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_index.h +1 -1
  2470. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  2471. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  2472. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  2473. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  2474. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  2475. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  2476. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_copy.h +1 -1
  2477. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_div.h +1 -1
  2478. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  2479. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  2480. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divs.h +1 -1
  2481. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_elu.h +1 -1
  2482. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  2483. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  2484. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  2485. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  2486. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  2487. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor.h +1 -1
  2488. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  2489. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  2490. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  2491. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  2492. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  2493. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  2494. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_log.h +1 -1
  2495. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  2496. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  2497. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  2498. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_mul.h +1 -1
  2499. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_muls.h +1 -1
  2500. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_normal.h +1 -1
  2501. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_put.h +1 -1
  2502. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_random.h +1 -1
  2503. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_relu.h +1 -1
  2504. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  2505. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  2506. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  2507. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  2508. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  2509. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_silu.h +38 -0
  2510. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  2511. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  2512. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  2513. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  2514. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_zero.h +1 -1
  2515. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isclose.h +1 -1
  2516. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isfinite.h +1 -1
  2517. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isinf.h +1 -1
  2518. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isneginf.h +1 -1
  2519. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div.h +1 -1
  2520. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  2521. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kthvalue.h +1 -1
  2522. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  2523. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/layer_norm_ext.h +1 -1
  2524. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  2525. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  2526. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp.h +1 -1
  2527. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  2528. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less.h +1 -1
  2529. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less_equal.h +1 -1
  2530. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_qr.h +1 -1
  2531. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  2532. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log.h +1 -1
  2533. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log1p.h +1 -1
  2534. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax.h +1 -1
  2535. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  2536. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp.h +1 -1
  2537. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp2.h +1 -1
  2538. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_and.h +1 -1
  2539. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_not.h +1 -1
  2540. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_or.h +1 -1
  2541. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_xor.h +1 -1
  2542. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid.h +1 -1
  2543. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  2544. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsumexp.h +1 -1
  2545. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_fill.h +1 -1
  2546. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select.h +1 -1
  2547. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  2548. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul.h +1 -1
  2549. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  2550. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_ext.h +1 -1
  2551. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max.h +1 -1
  2552. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max_dim.h +1 -1
  2553. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/maximum.h +1 -1
  2554. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mean_ext.h +1 -1
  2555. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_dim.h +1 -1
  2556. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_ext.h +1 -1
  2557. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/meshgrid.h +1 -1
  2558. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min.h +1 -1
  2559. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min_dim.h +1 -1
  2560. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/minimum.h +1 -1
  2561. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_ext.h +1 -1
  2562. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  2563. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  2564. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  2565. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  2566. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  2567. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  2568. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  2569. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  2570. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  2571. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  2572. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  2573. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  2574. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  2575. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mul.h +1 -1
  2576. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/muls.h +1 -1
  2577. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  2578. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  2579. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mv.h +1 -1
  2580. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nan_to_num.h +1 -1
  2581. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ne_scalar.h +1 -1
  2582. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/neg.h +1 -1
  2583. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_empty.h +38 -0
  2584. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_full.h +38 -0
  2585. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_ones.h +1 -1
  2586. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_zeros.h +1 -1
  2587. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss.h +1 -1
  2588. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  2589. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  2590. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  2591. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/non_zero.h +1 -1
  2592. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/norm.h +1 -1
  2593. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_float.h +1 -1
  2594. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  2595. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  2596. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  2597. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/not_equal.h +1 -1
  2598. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ones.h +1 -1
  2599. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/outer.h +1 -1
  2600. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/paged_attention.h +38 -0
  2601. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  2602. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/polar.h +1 -1
  2603. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow.h +1 -1
  2604. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  2605. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  2606. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu.h +1 -1
  2607. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu_grad.h +1 -1
  2608. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prod_ext.h +1 -1
  2609. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  2610. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_matmul.h +38 -0
  2611. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_v2.h +1 -1
  2612. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint.h +1 -1
  2613. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint_like.h +1 -1
  2614. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn.h +1 -1
  2615. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn_like.h +1 -1
  2616. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reciprocal.h +1 -1
  2617. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_all.h +1 -1
  2618. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_any.h +1 -1
  2619. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_max.h +1 -1
  2620. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_min.h +1 -1
  2621. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  2622. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  2623. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  2624. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  2625. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  2626. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  2627. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu.h +1 -1
  2628. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu_grad.h +1 -1
  2629. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/repeat.h +1 -1
  2630. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  2631. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  2632. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  2633. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  2634. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  2635. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  2636. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape.h +1 -1
  2637. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  2638. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reverse_v2.h +1 -1
  2639. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  2640. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/roll.h +1 -1
  2641. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  2642. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  2643. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/round.h +1 -1
  2644. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rsqrt.h +1 -1
  2645. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter.h +1 -1
  2646. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  2647. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_value.h +1 -1
  2648. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/searchsorted.h +1 -1
  2649. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select.h +1 -1
  2650. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_ext_view.h +1 -1
  2651. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_v2.h +1 -1
  2652. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_ext.h +1 -1
  2653. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_grad.h +1 -1
  2654. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid.h +1 -1
  2655. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  2656. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sign.h +1 -1
  2657. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu.h +1 -1
  2658. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu_grad.h +1 -1
  2659. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sin.h +1 -1
  2660. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinc.h +1 -1
  2661. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinh.h +1 -1
  2662. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice.h +1 -1
  2663. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext.h +1 -1
  2664. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  2665. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  2666. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  2667. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  2668. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  2669. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax.h +1 -1
  2670. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax_backward.h +1 -1
  2671. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_ext.h +1 -1
  2672. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  2673. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink.h +1 -1
  2674. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  2675. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  2676. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  2677. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/split.h +1 -1
  2678. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sqrt.h +1 -1
  2679. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/square.h +1 -1
  2680. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/squeeze.h +1 -1
  2681. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/stack_ext.h +38 -0
  2682. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub.h +1 -1
  2683. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_ext.h +1 -1
  2684. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_scalar.h +1 -1
  2685. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sum_ext.h +1 -1
  2686. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/take.h +1 -1
  2687. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tan.h +1 -1
  2688. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh.h +1 -1
  2689. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh_grad.h +1 -1
  2690. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  2691. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold.h +1 -1
  2692. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold_grad.h +1 -1
  2693. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tile.h +1 -1
  2694. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose.h +1 -1
  2695. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  2696. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_view.h +1 -1
  2697. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triangular_solve.h +1 -1
  2698. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triu.h +1 -1
  2699. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/trunc.h +1 -1
  2700. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/unique_consecutive.h +1 -1
  2701. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  2702. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  2703. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  2704. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  2705. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  2706. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  2707. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  2708. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  2709. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  2710. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  2711. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  2712. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  2713. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  2714. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  2715. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/view.h +1 -1
  2716. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  2717. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy.h +1 -1
  2718. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  2719. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  2720. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros.h +1 -1
  2721. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros_like_ext.h +38 -0
  2722. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any.h +34 -0
  2723. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any_ext.h +35 -0
  2724. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/binary_cross_entropy_with_logits.h +4 -4
  2725. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_scalar.h +2 -2
  2726. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_tensor.h +2 -3
  2727. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/contiguous.h +1 -1
  2728. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/copy.h +1 -1
  2729. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dense.h +2 -2
  2730. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_gather.h +1 -1
  2731. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_reduce.h +1 -1
  2732. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_broadcast.h +2 -2
  2733. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_gather.h +1 -1
  2734. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_irecv.h +1 -1
  2735. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_isend.h +1 -1
  2736. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_scatter.h +1 -1
  2737. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/divmod.h +2 -3
  2738. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty.h +35 -0
  2739. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty_like.h +36 -0
  2740. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/group_norm.h +3 -3
  2741. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/grouped_matmul.h +1 -1
  2742. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/identity.h +1 -1
  2743. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inner_comm_all_reduce.h +2 -3
  2744. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inplace_copy.h +1 -2
  2745. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/layer_norm_ext.h +3 -3
  2746. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/masked_select.h +2 -2
  2747. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/matmul_ext.h +1 -1
  2748. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/max.h +1 -1
  2749. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/mean_ext.h +1 -1
  2750. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/meshgrid.h +4 -2
  2751. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/min.h +1 -1
  2752. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_empty.h +36 -0
  2753. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_ones.h +2 -2
  2754. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_zeros.h +2 -2
  2755. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/non_zero.h +1 -1
  2756. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pixel_shuffle.h +2 -2
  2757. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  2758. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  2759. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/prod_ext.h +1 -1
  2760. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/reshape.h +4 -2
  2761. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/round.h +1 -1
  2762. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/searchsorted.h +3 -4
  2763. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu.h +1 -1
  2764. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu_grad.h +1 -2
  2765. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/sum_ext.h +1 -1
  2766. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/unique_consecutive.h +2 -2
  2767. mindspore/include/mindspore/ops/kernel/cpu/sequence/sequence_len_cpu_kernel.h +0 -1
  2768. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_cpu_kernel.h +1 -1
  2769. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_v2_cpu_kernel.h +2 -2
  2770. mindspore/include/mindspore/ops/kernel/cpu/stft_cpu_kernel.h +16 -16
  2771. mindspore/include/mindspore/ops/kernel/cpu/utils/sampling_kernels.h +18 -15
  2772. mindspore/include/mindspore/ops/kernel/gpu/arrays/broadcast_to_gpu_kernel.h +1 -1
  2773. mindspore/include/mindspore/ops/kernel/gpu/arrays/select_gpu_kernel.h +2 -2
  2774. mindspore/include/mindspore/ops/kernel/gpu/arrays/unique_consecutive_gpu_kernel.h +2 -2
  2775. mindspore/include/mindspore/ops/kernel/gpu/cuda_impl/cuda_class/unique_consecutive_helper.h +1 -1
  2776. mindspore/include/mindspore/ops/kernel/gpu/dynamic_akg/dynamic_utils.h +1 -1
  2777. mindspore/include/mindspore/ops/kernel/gpu/gpu_kernel.h +3 -4
  2778. mindspore/include/mindspore/ops/kernel/gpu/math/binary_ext_ops_gpu_kernel.h +2 -2
  2779. mindspore/include/mindspore/ops/kernel/gpu/math/correlate_gpu_kernel.h +15 -11
  2780. mindspore/include/mindspore/ops/kernel/gpu/math/eps_gpu_kernel.h +4 -4
  2781. mindspore/include/mindspore/ops/kernel/gpu/math/tracev2_grad_gpu_kernel.h +0 -1
  2782. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_recv_gpu_kernel.h +1 -1
  2783. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_send_gpu_kernel.h +1 -1
  2784. mindspore/include/mindspore/ops/kernel/gpu/nn/activation_grad_kernel.h +3 -3
  2785. mindspore/include/mindspore/ops/kernel/gpu/nn/adagrad_gpu_kernel.h +4 -2
  2786. mindspore/include/mindspore/ops/kernel/gpu/nn/adam_gpu_kernel.h +1 -1
  2787. mindspore/include/mindspore/ops/kernel/gpu/nn/batch_norm_grad_gpu_kernel.h +1 -0
  2788. mindspore/include/mindspore/ops/kernel/gpu/nn/kl_div_loss_grad_kernel.h +3 -2
  2789. mindspore/include/mindspore/ops/kernel/gpu/other/dynamic_stitch_gpu_kernel.h +6 -6
  2790. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/abs.h +1 -1
  2791. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2792. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2793. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  2794. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  2795. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  2796. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add.h +1 -1
  2797. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_ext.h +1 -1
  2798. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  2799. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  2800. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_scalar.h +1 -1
  2801. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  2802. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  2803. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any.h +38 -0
  2804. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any_ext.h +38 -0
  2805. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  2806. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  2807. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  2808. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argsort.h +1 -1
  2809. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/as_strided.h +1 -1
  2810. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/atanh.h +1 -1
  2811. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  2812. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  2813. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  2814. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  2815. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  2816. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/baddbmm.h +1 -1
  2817. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  2818. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  2819. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  2820. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  2821. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  2822. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  2823. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  2824. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  2825. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  2826. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  2827. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  2828. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  2829. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  2830. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_not.h +1 -1
  2831. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  2832. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  2833. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  2834. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  2835. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bmm_ext.h +1 -1
  2836. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to.h +1 -1
  2837. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  2838. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cast.h +1 -1
  2839. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ceil.h +1 -1
  2840. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk.h +1 -1
  2841. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk_view.h +1 -1
  2842. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  2843. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  2844. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clone.h +1 -1
  2845. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_ext.h +1 -1
  2846. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_grad.h +1 -1
  2847. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/concat.h +1 -1
  2848. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  2849. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/contiguous.h +1 -1
  2850. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  2851. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  2852. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  2853. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  2854. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  2855. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution.h +1 -1
  2856. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_grad.h +1 -1
  2857. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str.h +1 -1
  2858. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  2859. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/copy.h +1 -1
  2860. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cos.h +1 -1
  2861. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cosh.h +1 -1
  2862. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/count_nonzero.h +1 -1
  2863. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cross.h +1 -1
  2864. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cummax.h +1 -1
  2865. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dense.h +1 -1
  2866. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diag_ext.h +1 -1
  2867. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diagonal_view.h +38 -0
  2868. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  2869. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  2870. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  2871. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  2872. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  2873. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  2874. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  2875. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  2876. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  2877. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  2878. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  2879. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  2880. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  2881. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  2882. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  2883. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  2884. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  2885. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/div.h +1 -1
  2886. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmod.h +1 -1
  2887. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmods.h +1 -1
  2888. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divs.h +1 -1
  2889. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dot.h +1 -1
  2890. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  2891. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/einsum_ext.h +38 -0
  2892. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/elu.h +1 -1
  2893. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding.h +1 -1
  2894. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  2895. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal.h +1 -1
  2896. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal_ext.h +1 -1
  2897. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erf.h +1 -1
  2898. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfc.h +1 -1
  2899. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfinv.h +1 -1
  2900. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp.h +1 -1
  2901. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp2.h +1 -1
  2902. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims.h +1 -1
  2903. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  2904. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expm1.h +1 -1
  2905. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/eye.h +1 -1
  2906. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ffn_ext.h +1 -1
  2907. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor.h +1 -1
  2908. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div.h +1 -1
  2909. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  2910. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  2911. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/frac.h +1 -1
  2912. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/full_like.h +1 -1
  2913. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  2914. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d.h +1 -1
  2915. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  2916. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gcd.h +1 -1
  2917. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu.h +1 -1
  2918. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_ext.h +1 -1
  2919. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad.h +1 -1
  2920. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  2921. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/generator.h +1 -1
  2922. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu.h +1 -1
  2923. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu_grad.h +1 -1
  2924. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater.h +1 -1
  2925. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal.h +1 -1
  2926. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  2927. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  2928. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  2929. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  2930. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  2931. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm.h +1 -1
  2932. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  2933. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  2934. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  2935. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  2936. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh.h +1 -1
  2937. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  2938. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink.h +1 -1
  2939. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  2940. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid.h +1 -1
  2941. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  2942. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish.h +1 -1
  2943. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish_grad.h +1 -1
  2944. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/identity.h +1 -1
  2945. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/im2col_ext.h +1 -1
  2946. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  2947. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index.h +1 -1
  2948. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_add_ext.h +1 -1
  2949. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  2950. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  2951. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  2952. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  2953. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  2954. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  2955. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  2956. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  2957. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_index.h +1 -1
  2958. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  2959. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  2960. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  2961. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  2962. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  2963. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  2964. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_copy.h +1 -1
  2965. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_div.h +1 -1
  2966. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  2967. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  2968. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divs.h +1 -1
  2969. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_elu.h +1 -1
  2970. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  2971. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  2972. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  2973. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  2974. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  2975. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor.h +1 -1
  2976. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  2977. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  2978. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  2979. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  2980. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  2981. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  2982. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_log.h +1 -1
  2983. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  2984. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  2985. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  2986. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_mul.h +1 -1
  2987. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_muls.h +1 -1
  2988. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_normal.h +1 -1
  2989. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_put.h +1 -1
  2990. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_random.h +1 -1
  2991. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_relu.h +1 -1
  2992. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  2993. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  2994. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  2995. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  2996. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  2997. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_silu.h +38 -0
  2998. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  2999. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  3000. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  3001. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  3002. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_zero.h +1 -1
  3003. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isclose.h +1 -1
  3004. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isfinite.h +1 -1
  3005. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isinf.h +1 -1
  3006. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isneginf.h +1 -1
  3007. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div.h +1 -1
  3008. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  3009. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kthvalue.h +1 -1
  3010. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  3011. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  3012. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  3013. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp.h +1 -1
  3014. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  3015. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less.h +1 -1
  3016. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less_equal.h +1 -1
  3017. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_qr.h +1 -1
  3018. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  3019. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log.h +1 -1
  3020. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log1p.h +1 -1
  3021. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax.h +1 -1
  3022. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  3023. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp.h +1 -1
  3024. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp2.h +1 -1
  3025. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_and.h +1 -1
  3026. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_not.h +1 -1
  3027. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_or.h +1 -1
  3028. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_xor.h +1 -1
  3029. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid.h +1 -1
  3030. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  3031. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsumexp.h +1 -1
  3032. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_fill.h +1 -1
  3033. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select.h +1 -1
  3034. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  3035. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul.h +1 -1
  3036. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  3037. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_ext.h +1 -1
  3038. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max.h +1 -1
  3039. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max_dim.h +1 -1
  3040. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/maximum.h +1 -1
  3041. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mean_ext.h +1 -1
  3042. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_dim.h +1 -1
  3043. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_ext.h +1 -1
  3044. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/meshgrid.h +1 -1
  3045. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min.h +1 -1
  3046. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min_dim.h +1 -1
  3047. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/minimum.h +1 -1
  3048. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_ext.h +1 -1
  3049. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  3050. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  3051. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  3052. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  3053. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  3054. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  3055. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  3056. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  3057. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  3058. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  3059. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  3060. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  3061. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  3062. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mul.h +1 -1
  3063. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/muls.h +1 -1
  3064. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  3065. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  3066. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mv.h +1 -1
  3067. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nan_to_num.h +1 -1
  3068. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ne_scalar.h +1 -1
  3069. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/neg.h +1 -1
  3070. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_full.h +38 -0
  3071. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_ones.h +1 -1
  3072. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_zeros.h +1 -1
  3073. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss.h +1 -1
  3074. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  3075. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  3076. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  3077. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/non_zero.h +1 -1
  3078. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/norm.h +1 -1
  3079. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_float.h +1 -1
  3080. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  3081. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  3082. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  3083. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/not_equal.h +1 -1
  3084. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ones.h +1 -1
  3085. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/outer.h +1 -1
  3086. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/paged_attention.h +38 -0
  3087. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  3088. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/polar.h +1 -1
  3089. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow.h +1 -1
  3090. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  3091. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  3092. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu.h +1 -1
  3093. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu_grad.h +1 -1
  3094. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prod_ext.h +1 -1
  3095. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  3096. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_matmul.h +38 -0
  3097. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_v2.h +1 -1
  3098. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint.h +1 -1
  3099. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint_like.h +1 -1
  3100. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn.h +1 -1
  3101. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn_like.h +1 -1
  3102. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reciprocal.h +1 -1
  3103. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_all.h +1 -1
  3104. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_any.h +1 -1
  3105. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_max.h +1 -1
  3106. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_min.h +1 -1
  3107. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  3108. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  3109. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  3110. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  3111. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  3112. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  3113. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu.h +1 -1
  3114. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu_grad.h +1 -1
  3115. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/repeat.h +1 -1
  3116. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  3117. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  3118. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  3119. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  3120. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  3121. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  3122. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape.h +1 -1
  3123. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  3124. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reverse_v2.h +1 -1
  3125. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  3126. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/roll.h +1 -1
  3127. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  3128. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  3129. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/round.h +1 -1
  3130. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rsqrt.h +1 -1
  3131. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter.h +1 -1
  3132. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  3133. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_value.h +1 -1
  3134. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/searchsorted.h +1 -1
  3135. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select.h +1 -1
  3136. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_ext_view.h +1 -1
  3137. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_v2.h +1 -1
  3138. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_ext.h +1 -1
  3139. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_grad.h +1 -1
  3140. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid.h +1 -1
  3141. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  3142. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sign.h +1 -1
  3143. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu.h +1 -1
  3144. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu_grad.h +1 -1
  3145. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sin.h +1 -1
  3146. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinc.h +1 -1
  3147. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinh.h +1 -1
  3148. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice.h +1 -1
  3149. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext.h +1 -1
  3150. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  3151. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  3152. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  3153. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  3154. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  3155. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax.h +1 -1
  3156. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax_backward.h +1 -1
  3157. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_ext.h +1 -1
  3158. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  3159. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink.h +1 -1
  3160. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  3161. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  3162. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  3163. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/split.h +1 -1
  3164. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sqrt.h +1 -1
  3165. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/square.h +1 -1
  3166. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/squeeze.h +1 -1
  3167. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub.h +1 -1
  3168. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_ext.h +1 -1
  3169. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_scalar.h +1 -1
  3170. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sum_ext.h +1 -1
  3171. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/take.h +1 -1
  3172. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tan.h +1 -1
  3173. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh.h +1 -1
  3174. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh_grad.h +1 -1
  3175. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  3176. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold.h +1 -1
  3177. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold_grad.h +1 -1
  3178. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tile.h +1 -1
  3179. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose.h +1 -1
  3180. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  3181. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_view.h +1 -1
  3182. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triangular_solve.h +1 -1
  3183. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triu.h +1 -1
  3184. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/trunc.h +1 -1
  3185. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  3186. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  3187. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  3188. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  3189. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  3190. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  3191. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  3192. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  3193. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  3194. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  3195. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  3196. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  3197. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  3198. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  3199. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/view.h +1 -1
  3200. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  3201. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy.h +1 -1
  3202. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  3203. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  3204. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/zeros.h +1 -1
  3205. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any.h +34 -0
  3206. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any_ext.h +35 -0
  3207. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_scalar.h +2 -2
  3208. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_tensor.h +2 -3
  3209. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/contiguous.h +1 -1
  3210. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/copy.h +1 -1
  3211. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/dense.h +2 -2
  3212. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/divmod.h +2 -3
  3213. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/grouped_matmul.h +1 -1
  3214. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/identity.h +1 -1
  3215. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_gather.h +1 -1
  3216. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_reduce.h +1 -1
  3217. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_isend.h +1 -1
  3218. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_reduce_scatter.h +1 -1
  3219. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/masked_select.h +2 -2
  3220. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/matmul_ext.h +1 -1
  3221. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/max.h +1 -1
  3222. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/mean_ext.h +1 -1
  3223. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/meshgrid.h +4 -2
  3224. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/min.h +1 -1
  3225. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_ones.h +2 -2
  3226. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_zeros.h +2 -2
  3227. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/non_zero.h +1 -1
  3228. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pixel_shuffle.h +2 -2
  3229. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  3230. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  3231. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/prod_ext.h +1 -1
  3232. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/reshape.h +4 -2
  3233. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/searchsorted.h +3 -4
  3234. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/sum_ext.h +1 -1
  3235. mindspore/include/mindspore/ops/kernel/gpu/random/random_categorical_gpu_kernel.h +4 -8
  3236. mindspore/include/mindspore/ops/kernel/gpu/rl/buffer_sample_gpu_kernel.h +8 -8
  3237. mindspore/include/mindspore/ops/kernel/gpu/rl/gru_gpu_kernel.h +1 -0
  3238. mindspore/include/mindspore/ops/kernel/gpu/sparse/csr_sparse_matrix_to_sparse_tensor_gpu_kernel.h +1 -1
  3239. mindspore/include/mindspore/ops/kernel/gpu/sparse/dense_to_csr_sparse_matrix_gpu_kernel.h +3 -3
  3240. mindspore/include/mindspore/ops/kernel/gpu/sparse/sparse_matrix_sparse_matmul_gpu_kernel.h +2 -2
  3241. mindspore/include/mindspore/ops/kernel/include/common/common_utils.h +9 -0
  3242. mindspore/include/mindspore/ops/kernel/include/common/device_address.h +290 -27
  3243. mindspore/include/mindspore/ops/kernel/include/common/device_type.h +3 -5
  3244. mindspore/include/mindspore/ops/kernel/include/common/kernel.h +26 -1
  3245. mindspore/include/mindspore/ops/kernel/include/common/kernel_tensor.h +119 -306
  3246. mindspore/include/mindspore/ops/op_def/array_ops.h +0 -1
  3247. mindspore/include/mindspore/ops/op_def/auto_generate/gen_lite_ops.h +3053 -2958
  3248. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_def.h +797 -784
  3249. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_a.h +63 -61
  3250. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_b.h +27 -27
  3251. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_c.h +34 -34
  3252. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_d.h +29 -28
  3253. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_e.h +28 -27
  3254. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_f.h +19 -18
  3255. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_g.h +20 -20
  3256. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_h.h +8 -8
  3257. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_i.h +65 -62
  3258. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_k.h +1 -1
  3259. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_l.h +33 -33
  3260. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_m.h +42 -39
  3261. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_n.h +16 -15
  3262. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_o.h +4 -4
  3263. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_p.h +6 -7
  3264. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_q.h +5 -4
  3265. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_r.h +57 -57
  3266. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_s.h +65 -65
  3267. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_t.h +21 -20
  3268. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_u.h +14 -14
  3269. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_v.h +1 -1
  3270. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_x.h +1 -1
  3271. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_z.h +1 -1
  3272. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_a.h +63 -61
  3273. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_b.h +27 -27
  3274. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_c.h +34 -34
  3275. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_d.h +29 -28
  3276. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_e.h +28 -27
  3277. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_f.h +19 -18
  3278. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_g.h +20 -20
  3279. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_h.h +8 -8
  3280. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_i.h +65 -62
  3281. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_k.h +1 -1
  3282. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_l.h +33 -33
  3283. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_m.h +42 -39
  3284. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_n.h +16 -15
  3285. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_o.h +4 -4
  3286. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_p.h +6 -7
  3287. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_q.h +5 -4
  3288. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_r.h +57 -57
  3289. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_s.h +65 -65
  3290. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_t.h +21 -20
  3291. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_u.h +14 -14
  3292. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_v.h +1 -1
  3293. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_x.h +1 -1
  3294. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_z.h +1 -1
  3295. mindspore/include/mindspore/ops/op_def/op_enum.h +2 -0
  3296. mindspore/include/mindspore/ops/op_def/other_op_name.h +6 -0
  3297. mindspore/include/mindspore/ops/op_def/other_ops.h +2 -0
  3298. mindspore/include/mindspore/ops/ops_utils/memory_overlap.h +4 -5
  3299. mindspore/include/mindspore/ops/ops_utils/op_constants.h +11 -0
  3300. mindspore/include/mindspore/ops/ops_utils/op_utils.h +5 -0
  3301. mindspore/include/mindspore/ops/ops_utils/type_dispatch.h +42 -42
  3302. mindspore/include/mindspore/ops/view/as_strided_strides_calc.h +5 -1
  3303. mindspore/include/mindspore/ops/view/broadcast_to_strides_calc.h +4 -2
  3304. mindspore/include/mindspore/ops/view/broadcast_to_view_strides_calc.h +3 -1
  3305. mindspore/include/mindspore/ops/view/chunk_strides_calc.h +3 -1
  3306. mindspore/include/mindspore/ops/view/chunk_view_strides_calc.h +3 -1
  3307. mindspore/include/mindspore/ops/view/diagonal_strides_calc.h +6 -3
  3308. mindspore/include/mindspore/ops/view/diagonal_view_strides_calc.h +32 -0
  3309. mindspore/include/mindspore/ops/view/expand_dims_strides_calc.h +3 -1
  3310. mindspore/include/mindspore/ops/view/expand_dims_view_strides_calc.h +3 -1
  3311. mindspore/include/mindspore/ops/view/narrow_strides_calc.h +4 -2
  3312. mindspore/include/mindspore/ops/view/narrow_view_strides_calc.h +4 -2
  3313. mindspore/include/mindspore/ops/view/reshape_strides_calc.h +2 -1
  3314. mindspore/include/mindspore/ops/view/select_ext_view_strides_calc.h +3 -1
  3315. mindspore/include/mindspore/ops/view/slice_ext_strides_calc.h +4 -1
  3316. mindspore/include/mindspore/ops/view/slice_ext_view_strides_calc.h +4 -2
  3317. mindspore/include/mindspore/ops/view/slice_strides_calc.h +4 -1
  3318. mindspore/include/mindspore/ops/view/split_strides_calc.h +3 -1
  3319. mindspore/include/mindspore/ops/view/split_tensor_strides_calc.h +3 -1
  3320. mindspore/include/mindspore/ops/view/split_tensor_view_strides_calc.h +3 -1
  3321. mindspore/include/mindspore/ops/view/split_with_size_strides_calc.h +3 -1
  3322. mindspore/include/mindspore/ops/view/split_with_size_view_strides_calc.h +4 -1
  3323. mindspore/include/mindspore/ops/view/squeeze_strides_calc.h +3 -0
  3324. mindspore/include/mindspore/ops/view/transpose_ext_view_strides_calc.h +3 -0
  3325. mindspore/include/mindspore/ops/view/transpose_strides_calc.h +3 -1
  3326. mindspore/include/mindspore/ops/view/transpose_view_strides_calc.h +3 -0
  3327. mindspore/include/mindspore/ops/view/unstack_ext_view_strides_calc.h +1 -1
  3328. mindspore/include/mindspore/ops/view/view_strides_calc.h +3 -2
  3329. mindspore/include/mindspore/ops/view/view_strides_calculator.h +1 -2
  3330. mindspore/include/ms_extension.h +12 -5
  3331. mindspore/lib/libavcodec.so.59 +0 -0
  3332. mindspore/lib/libavdevice.so.59 +0 -0
  3333. mindspore/lib/libavfilter.so.8 +0 -0
  3334. mindspore/lib/libavformat.so.59 +0 -0
  3335. mindspore/lib/libavutil.so.57 +0 -0
  3336. mindspore/lib/libdnnl.so.2 +0 -0
  3337. mindspore/lib/libicuuc.so.74 +0 -0
  3338. mindspore/lib/libmindspore_backend_common.so +0 -0
  3339. mindspore/lib/libmindspore_backend_manager.so +0 -0
  3340. mindspore/lib/libmindspore_common.so +0 -0
  3341. mindspore/lib/libmindspore_core.so +0 -0
  3342. mindspore/lib/libmindspore_dump.so +0 -0
  3343. mindspore/lib/libmindspore_extension.so +0 -0
  3344. mindspore/lib/libmindspore_frontend.so +0 -0
  3345. mindspore/lib/libmindspore_ge_backend.so +0 -0
  3346. mindspore/lib/libmindspore_glog.so.0 +0 -0
  3347. mindspore/lib/libmindspore_gpr.so.15 +0 -0
  3348. mindspore/lib/libmindspore_grpc++.so.1 +0 -0
  3349. mindspore/lib/libmindspore_grpc.so.15 +0 -0
  3350. mindspore/lib/libmindspore_memory_pool.so +0 -0
  3351. mindspore/lib/libmindspore_ms_backend.so +0 -0
  3352. mindspore/lib/libmindspore_ops.so +0 -0
  3353. mindspore/lib/libmindspore_ops_kernel_common.so +0 -0
  3354. mindspore/lib/libmindspore_profiler.so +0 -0
  3355. mindspore/lib/libmindspore_pyboost.so +0 -0
  3356. mindspore/lib/libmindspore_pynative.so +0 -0
  3357. mindspore/lib/libmindspore_res_manager.so +0 -0
  3358. mindspore/lib/libmindspore_runtime_pipeline.so +0 -0
  3359. mindspore/lib/libmpi_adapter.so +0 -0
  3360. mindspore/lib/libmpi_collective.so +0 -0
  3361. mindspore/lib/libnnacl.so +0 -0
  3362. mindspore/lib/libopencv_core.so.4.5 +0 -0
  3363. mindspore/lib/libopencv_imgcodecs.so.4.5 +0 -0
  3364. mindspore/lib/libopencv_imgproc.so.4.5 +0 -0
  3365. mindspore/lib/libps_cache.so +0 -0
  3366. mindspore/lib/libswresample.so.4 +0 -0
  3367. mindspore/lib/libswscale.so.6 +0 -0
  3368. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/custom.py +4 -4
  3369. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/matmul_tik.py +1 -0
  3370. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/matmul_tik.py +1 -0
  3371. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/aicpu_kernel/impl/libcust_cpu_kernels.so +0 -0
  3372. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/config/cust_aicpu_kernel.json +96 -72
  3373. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_proto/libcust_op_proto.so +0 -0
  3374. mindspore/lib/plugin/ascend/custom_ascendc_910b/framework/plugin/npu_supported_ops.json +0 -8
  3375. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/lib/libcust_opapi.so +0 -0
  3376. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json +0 -180
  3377. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910_93/aic-ascend910_93-ops-info.json +0 -180
  3378. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json +0 -180
  3379. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/all_finite.py +28 -12
  3380. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3381. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3382. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3383. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3384. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3385. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3386. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3387. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3388. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3389. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3390. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3391. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3392. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3393. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3394. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3395. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3396. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3397. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3398. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/binary_info_config.json +0 -300
  3399. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/binary_info_config.json +0 -300
  3400. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/binary_info_config.json +0 -300
  3401. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  3402. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  3403. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/inc/op_proto.h +0 -22
  3404. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  3405. mindspore/lib/plugin/ascend/custom_ascendc_910b/version.info +1 -1
  3406. mindspore/lib/plugin/ascend/custom_compiler/OWNERS +1 -0
  3407. mindspore/lib/plugin/ascend/libakg.so +0 -0
  3408. mindspore/lib/plugin/ascend/libascend_collective.so +0 -0
  3409. mindspore/lib/plugin/ascend/libd_collective.so +0 -0
  3410. mindspore/lib/plugin/ascend/libdvpp_utils.so +0 -0
  3411. mindspore/lib/plugin/ascend/libhccl_plugin.so +0 -0
  3412. mindspore/lib/plugin/ascend/liblowlatency_collective.so +0 -0
  3413. mindspore/lib/plugin/ascend/libmindspore_ascend_res_manager.so +0 -0
  3414. mindspore/lib/plugin/ascend/libmindspore_atb_kernels.so +0 -0
  3415. mindspore/lib/plugin/ascend/libmindspore_cpu_kernels.so +0 -0
  3416. mindspore/lib/plugin/ascend/libmindspore_extension_ascend_atb.a +0 -0
  3417. mindspore/lib/plugin/ascend/libmindspore_graph_ir.so +0 -0
  3418. mindspore/lib/plugin/ascend/libmindspore_internal_kernels.so +0 -0
  3419. mindspore/lib/plugin/ascend/libmindspore_pyboost_atb_kernels.so +0 -0
  3420. mindspore/lib/plugin/ascend/libms_atb_boost.so +0 -0
  3421. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/faUpdate.h +35 -0
  3422. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/logprobs.h +28 -0
  3423. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/params.h +3 -0
  3424. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/scatter_elements_v2.h +39 -0
  3425. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/fused_add_topk_div.h +3 -1
  3426. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla.h +14 -1
  3427. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla_preprocess.h +8 -1
  3428. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/params.h +1 -0
  3429. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/toppsample_rand.h +31 -0
  3430. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/unpad_flash_attention.h +12 -1
  3431. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_api.h +1 -1
  3432. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_comm.h +3 -2
  3433. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_types.h +1 -0
  3434. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lccl.h +2 -0
  3435. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_args.h +7 -4
  3436. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_func.h +2 -1
  3437. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_args.h +7 -4
  3438. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_func.h +2 -1
  3439. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/tensor.h +2 -1
  3440. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log.h +7 -7
  3441. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log_sink_file.h +1 -0
  3442. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops.so +0 -0
  3443. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops_static.a +0 -0
  3444. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops.so +0 -0
  3445. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops_static.a +0 -0
  3446. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_mixops_static.a +0 -0
  3447. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_ops_static.a +0 -0
  3448. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal.so +0 -0
  3449. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal_static.a +0 -0
  3450. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libmki.so +0 -0
  3451. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libtbe_adapter.so +0 -0
  3452. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/base_type.h +7 -0
  3453. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_creator.h +26 -11
  3454. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_param.h +51 -0
  3455. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/tiling_utils.h +1 -100
  3456. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_layer_norm_op.so +0 -0
  3457. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_dynamic_quant_op.so +0 -0
  3458. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_op.so +0 -0
  3459. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_quant_op.so +0 -0
  3460. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_310p_op.so +0 -0
  3461. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_op.so +0 -0
  3462. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcast_op.so +0 -0
  3463. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcompare_op.so +0 -0
  3464. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgelu_op.so +0 -0
  3465. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgroup_topk_op.so +0 -0
  3466. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libkv_scale_cache_op.so +0 -0
  3467. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmatmul_op.so +0 -0
  3468. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmoe_gating_group_topk_op.so +0 -0
  3469. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_kernels_internal.so +0 -0
  3470. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_gelu_op.so +0 -0
  3471. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_op.so +0 -0
  3472. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_nz_op.so +0 -0
  3473. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_op.so +0 -0
  3474. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/librms_norm_op.so +0 -0
  3475. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswiglu_dynamic_quant_op.so +0 -0
  3476. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libtranspose_batch_matmul_transpose_op.so +0 -0
  3477. 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
  3478. 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
  3479. 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
  3480. 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
  3481. 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
  3482. 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
  3483. 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
  3484. 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
  3485. 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
  3486. 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
  3487. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libadd_rms_norm_quant_ascend310p.so +0 -0
  3488. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libapply_rotary_pos_emb_310p_ascend310p.so +0 -0
  3489. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcast_ascend310p.so +0 -0
  3490. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcompare_ascend310p.so +0 -0
  3491. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libgelu_ascend310p.so +0 -0
  3492. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmatmul_ascend310p.so +0 -0
  3493. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmoe_gating_group_topk_ascend310p.so +0 -0
  3494. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_ascend310p.so +0 -0
  3495. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_gelu_ascend310p.so +0 -0
  3496. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libreshape_and_cache_nz_ascend310p.so +0 -0
  3497. 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
  3498. 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
  3499. 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
  3500. 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
  3501. 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
  3502. 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
  3503. 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
  3504. 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
  3505. 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
  3506. 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
  3507. 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
  3508. 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
  3509. 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
  3510. 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
  3511. 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
  3512. 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
  3513. 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
  3514. 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
  3515. 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
  3516. 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
  3517. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2.o +0 -0
  3518. 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
  3519. 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
  3520. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_layer_norm_ascend910b.so +0 -0
  3521. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_ascend910b.so +0 -0
  3522. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_dynamic_quant_ascend910b.so +0 -0
  3523. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_quant_ascend910b.so +0 -0
  3524. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libapply_rotary_pos_emb_ascend910b.so +0 -0
  3525. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcast_ascend910b.so +0 -0
  3526. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcompare_ascend910b.so +0 -0
  3527. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgelu_ascend910b.so +0 -0
  3528. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgroup_topk_ascend910b.so +0 -0
  3529. mindspore/lib/plugin/ascend/{custom_ascendc_910/op_api/lib/libcust_opapi.so → ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libkv_scale_cache_ascend910b.so} +0 -0
  3530. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmatmul_ascend910b.so +0 -0
  3531. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmoe_gating_group_topk_ascend910b.so +0 -0
  3532. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmulti_weight_matmul_kernel_ascend910b.so +0 -0
  3533. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libreshape_and_cache_ascend910b.so +0 -0
  3534. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/librms_norm_ascend910b.so +0 -0
  3535. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libswiglu_dynamic_quant_ascend910b.so +0 -0
  3536. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libtranspose_batch_matmul_transpose_ascend910b.so +0 -0
  3537. mindspore/lib/plugin/cpu/libakg.so +0 -0
  3538. mindspore/lib/plugin/cpu/libmindspore_cpu_res_manager.so +0 -0
  3539. mindspore/lib/plugin/libmindspore_ascend.so.2 +0 -0
  3540. mindspore/lib/plugin/libmindspore_ops_ascend.so +0 -0
  3541. mindspore/lib/plugin/libmindspore_ops_host.so +0 -0
  3542. mindspore/mindrecord/tools/cifar10.py +60 -11
  3543. mindspore/mindrecord/tools/cifar10_to_mr.py +5 -0
  3544. mindspore/mint/__init__.py +4 -44
  3545. mindspore/mint/distributed/__init__.py +1 -0
  3546. mindspore/mint/distributed/distributed.py +208 -5
  3547. mindspore/mint/nn/__init__.py +1 -1
  3548. mindspore/mint/nn/functional.py +53 -6
  3549. mindspore/mint/nn/layer/_functions.py +164 -294
  3550. mindspore/mint/nn/layer/activation.py +8 -6
  3551. mindspore/mint/nn/layer/conv.py +122 -98
  3552. mindspore/mint/nn/layer/normalization.py +8 -22
  3553. mindspore/mint/optim/adam.py +19 -18
  3554. mindspore/mint/optim/adamw.py +14 -8
  3555. mindspore/mint/optim/sgd.py +5 -5
  3556. mindspore/nn/cell.py +325 -499
  3557. mindspore/nn/grad/cell_grad.py +11 -12
  3558. mindspore/nn/layer/activation.py +32 -34
  3559. mindspore/nn/layer/basic.py +67 -64
  3560. mindspore/nn/layer/channel_shuffle.py +4 -4
  3561. mindspore/nn/layer/combined.py +4 -2
  3562. mindspore/nn/layer/conv.py +86 -85
  3563. mindspore/nn/layer/dense.py +9 -7
  3564. mindspore/nn/layer/embedding.py +50 -52
  3565. mindspore/nn/layer/image.py +37 -39
  3566. mindspore/nn/layer/math.py +111 -112
  3567. mindspore/nn/layer/normalization.py +56 -44
  3568. mindspore/nn/layer/pooling.py +58 -63
  3569. mindspore/nn/layer/rnn_cells.py +33 -33
  3570. mindspore/nn/layer/rnns.py +56 -56
  3571. mindspore/nn/layer/thor_layer.py +74 -73
  3572. mindspore/nn/layer/transformer.py +11 -1
  3573. mindspore/nn/learning_rate_schedule.py +20 -20
  3574. mindspore/nn/loss/loss.py +79 -81
  3575. mindspore/nn/optim/adam.py +1 -1
  3576. mindspore/nn/optim/adasum.py +2 -2
  3577. mindspore/nn/optim/optimizer.py +1 -1
  3578. mindspore/nn/optim/thor.py +2 -2
  3579. mindspore/nn/probability/distribution/exponential.py +2 -1
  3580. mindspore/nn/probability/distribution/poisson.py +2 -1
  3581. mindspore/nn/sparse/sparse.py +3 -3
  3582. mindspore/nn/wrap/cell_wrapper.py +34 -37
  3583. mindspore/nn/wrap/grad_reducer.py +37 -37
  3584. mindspore/nn/wrap/loss_scale.py +72 -74
  3585. mindspore/numpy/array_creations.py +5 -5
  3586. mindspore/numpy/fft.py +1 -1
  3587. mindspore/numpy/math_ops.py +1 -1
  3588. mindspore/ops/_grad_experimental/grad_comm_ops.py +51 -13
  3589. mindspore/ops/_grad_experimental/grad_debug_ops.py +14 -0
  3590. mindspore/ops/_vmap/vmap_array_ops.py +6 -13
  3591. mindspore/ops/_vmap/vmap_nn_ops.py +8 -16
  3592. mindspore/ops/auto_generate/cpp_create_prim_instance_helper.py +445 -436
  3593. mindspore/ops/auto_generate/gen_extend_func.py +1212 -1262
  3594. mindspore/ops/auto_generate/gen_ops_def.py +6533 -6327
  3595. mindspore/ops/auto_generate/gen_ops_prim.py +16729 -16487
  3596. mindspore/ops/auto_generate/pyboost_inner_prim.py +353 -323
  3597. mindspore/ops/composite/__init__.py +10 -0
  3598. mindspore/ops/composite/base.py +8 -4
  3599. mindspore/ops/composite/multitype_ops/__init__.py +12 -1
  3600. mindspore/ops/composite/multitype_ops/_compile_utils.py +132 -108
  3601. mindspore/ops/composite/multitype_ops/add_impl.py +70 -2
  3602. mindspore/ops/composite/multitype_ops/div_impl.py +49 -0
  3603. mindspore/ops/composite/multitype_ops/floordiv_impl.py +29 -0
  3604. mindspore/ops/composite/multitype_ops/getitem_impl.py +11 -0
  3605. mindspore/ops/composite/multitype_ops/mod_impl.py +5 -3
  3606. mindspore/ops/composite/multitype_ops/mul_impl.py +49 -0
  3607. mindspore/ops/composite/multitype_ops/setitem_impl.py +57 -0
  3608. mindspore/ops/composite/multitype_ops/sub_impl.py +34 -0
  3609. mindspore/ops/composite/multitype_ops/zeros_like_impl.py +14 -0
  3610. mindspore/ops/function/__init__.py +3 -1
  3611. mindspore/ops/function/_add_attr_func.py +11 -6
  3612. mindspore/ops/function/array_func.py +7 -94
  3613. mindspore/ops/function/debug_func.py +4 -3
  3614. mindspore/ops/function/grad/grad_func.py +1 -1
  3615. mindspore/ops/function/math_func.py +21 -367
  3616. mindspore/ops/function/nn_func.py +26 -41
  3617. mindspore/ops/function/other_func.py +4 -1
  3618. mindspore/ops/function/random_func.py +31 -4
  3619. mindspore/ops/functional.py +0 -2
  3620. mindspore/ops/functional_overload.py +1383 -926
  3621. mindspore/ops/op_info_register.py +21 -0
  3622. mindspore/ops/operations/__init__.py +5 -2
  3623. mindspore/ops/operations/_custom_ops_utils.py +675 -8
  3624. mindspore/ops/operations/_inner_ops.py +3 -6
  3625. mindspore/ops/operations/_sequence_ops.py +1 -1
  3626. mindspore/ops/operations/comm_ops.py +185 -26
  3627. mindspore/ops/operations/custom_ops.py +235 -172
  3628. mindspore/ops/operations/debug_ops.py +55 -4
  3629. mindspore/ops/operations/image_ops.py +13 -13
  3630. mindspore/ops/operations/manually_defined/ops_def.py +15 -16
  3631. mindspore/ops/operations/math_ops.py +3 -4
  3632. mindspore/ops/operations/nn_ops.py +5 -6
  3633. mindspore/ops/primitive.py +6 -10
  3634. mindspore/ops/tensor_method.py +36 -4
  3635. mindspore/ops_generate/api/cpp_create_prim_instance_helper_generator.py +1 -1
  3636. mindspore/ops_generate/api/functional_map_cpp_generator.py +10 -9
  3637. mindspore/ops_generate/api/functions_cc_generator.py +58 -10
  3638. mindspore/ops_generate/api/tensor_func_reg_cpp_generator.py +1 -1
  3639. mindspore/ops_generate/common/base_generator.py +14 -0
  3640. mindspore/ops_generate/common/gen_constants.py +7 -2
  3641. mindspore/ops_generate/common/gen_utils.py +0 -19
  3642. mindspore/ops_generate/common/op_proto.py +11 -4
  3643. mindspore/ops_generate/common/template.py +88 -11
  3644. mindspore/ops_generate/gen_ops.py +1 -1
  3645. mindspore/ops_generate/op_def/lite_ops_cpp_generator.py +4 -4
  3646. mindspore/ops_generate/op_def/ops_name_h_generator.py +0 -3
  3647. mindspore/ops_generate/op_def/ops_primitive_h_generator.py +0 -4
  3648. mindspore/ops_generate/op_def_py/op_prim_py_generator.py +5 -2
  3649. mindspore/ops_generate/pyboost/auto_grad_impl_cc_generator.py +49 -8
  3650. mindspore/ops_generate/pyboost/auto_grad_reg_cc_generator.py +2 -2
  3651. mindspore/ops_generate/pyboost/gen_pyboost_func.py +31 -0
  3652. mindspore/ops_generate/pyboost/op_template_parser.py +98 -72
  3653. mindspore/ops_generate/pyboost/pyboost_functions_cpp_generator.py +70 -273
  3654. mindspore/ops_generate/pyboost/pyboost_functions_h_generator.py +14 -6
  3655. mindspore/ops_generate/pyboost/pyboost_functions_impl_cpp_generator.py +316 -0
  3656. mindspore/ops_generate/pyboost/pyboost_functions_py_generator.py +1 -1
  3657. mindspore/ops_generate/pyboost/pyboost_grad_function_cpp_generator.py +5 -3
  3658. mindspore/ops_generate/pyboost/pyboost_inner_prim_generator.py +1 -1
  3659. mindspore/ops_generate/pyboost/pyboost_internal_functions_cpp_generator.py +76 -0
  3660. mindspore/ops_generate/pyboost/pyboost_internal_functions_h_generator.py +76 -0
  3661. mindspore/ops_generate/pyboost/pyboost_internal_kernel_info_adapter_generator.py +125 -0
  3662. mindspore/ops_generate/pyboost/pyboost_native_grad_functions_generator.py +4 -3
  3663. mindspore/ops_generate/pyboost/pyboost_op_cpp_code_generator.py +348 -61
  3664. mindspore/ops_generate/pyboost/pyboost_overload_functions_cpp_generator.py +1 -1
  3665. mindspore/ops_generate/pyboost/pyboost_utils.py +118 -9
  3666. mindspore/ops_generate/tensor_py_cc_generator.py +1 -24
  3667. mindspore/parallel/_auto_parallel_context.py +4 -2
  3668. mindspore/parallel/_cell_wrapper.py +106 -40
  3669. mindspore/parallel/_parallel_serialization.py +1 -1
  3670. mindspore/parallel/_ps_context.py +4 -6
  3671. mindspore/parallel/_tensor.py +167 -12
  3672. mindspore/parallel/_transformer/moe.py +1 -1
  3673. mindspore/parallel/_transformer/transformer.py +13 -8
  3674. mindspore/parallel/auto_parallel.py +12 -5
  3675. mindspore/parallel/checkpoint_convert.py +3 -3
  3676. mindspore/parallel/checkpoint_transform.py +3 -1
  3677. mindspore/parallel/cluster/process_entity/_api.py +84 -48
  3678. mindspore/parallel/cluster/process_entity/_utils.py +95 -7
  3679. mindspore/parallel/cluster/run.py +43 -4
  3680. mindspore/parallel/function/__init__.py +8 -1
  3681. mindspore/parallel/function/reshard_func.py +1 -1
  3682. mindspore/parallel/nn/__init__.py +15 -2
  3683. mindspore/parallel/nn/parallel_cell_wrapper.py +9 -10
  3684. mindspore/parallel/nn/parallel_grad_reducer.py +7 -6
  3685. mindspore/parallel/shard.py +2 -2
  3686. mindspore/parallel/transform_safetensors.py +462 -174
  3687. mindspore/profiler/__init__.py +2 -1
  3688. mindspore/profiler/analysis/parser/timeline_assembly_factory/ascend_timeline_assembler.py +7 -7
  3689. mindspore/profiler/analysis/parser/timeline_assembly_factory/base_timeline_assembler.py +3 -0
  3690. mindspore/profiler/analysis/parser/timeline_assembly_factory/trace_view_container.py +3 -0
  3691. mindspore/profiler/analysis/parser/timeline_creator/cpu_op_timeline_creator.py +3 -3
  3692. mindspore/profiler/analysis/parser/timeline_creator/fwk_timeline_creator.py +3 -3
  3693. mindspore/profiler/analysis/parser/timeline_creator/msprof_timeline_creator.py +4 -4
  3694. mindspore/profiler/analysis/parser/timeline_creator/scope_layer_timeline_creator.py +3 -3
  3695. mindspore/profiler/analysis/parser/timeline_event/fwk_event.py +4 -1
  3696. mindspore/profiler/analysis/parser/timeline_event/timeline_event_pool.py +2 -1
  3697. mindspore/profiler/analysis/task_manager.py +1 -1
  3698. mindspore/profiler/analysis/viewer/ascend_communication_viewer.py +5 -1
  3699. mindspore/profiler/analysis/viewer/ascend_integrate_viewer.py +2 -1
  3700. mindspore/profiler/analysis/viewer/ascend_op_memory_viewer.py +42 -22
  3701. mindspore/profiler/analysis/viewer/ascend_step_trace_time_viewer.py +3 -2
  3702. mindspore/profiler/analysis/viewer/ms_minddata_viewer.py +9 -5
  3703. mindspore/profiler/analysis/viewer/ms_operator_details_viewer.py +132 -0
  3704. mindspore/profiler/common/constant.py +16 -0
  3705. mindspore/profiler/common/profiler_context.py +25 -27
  3706. mindspore/profiler/common/profiler_info.py +0 -16
  3707. mindspore/profiler/common/profiler_op_analyse.py +235 -0
  3708. mindspore/profiler/common/profiler_output_path.py +23 -8
  3709. mindspore/profiler/common/profiler_parameters.py +128 -35
  3710. mindspore/profiler/dynamic_profile/__init__.py +0 -0
  3711. mindspore/profiler/dynamic_profile/dynamic_monitor_proxy.py +39 -0
  3712. mindspore/profiler/dynamic_profile/dynamic_profiler_config_context.py +666 -0
  3713. mindspore/profiler/dynamic_profile/dynamic_profiler_utils.py +62 -0
  3714. mindspore/profiler/dynamic_profiler.py +305 -314
  3715. mindspore/profiler/envprofiler.py +12 -7
  3716. mindspore/profiler/experimental_config.py +96 -6
  3717. mindspore/profiler/mstx.py +33 -12
  3718. mindspore/profiler/platform/__init__.py +2 -3
  3719. mindspore/profiler/platform/npu_profiler.py +29 -19
  3720. mindspore/profiler/profiler.py +35 -19
  3721. mindspore/profiler/profiler_action_controller.py +64 -76
  3722. mindspore/profiler/schedule.py +10 -4
  3723. mindspore/rewrite/common/config.py +1 -0
  3724. mindspore/rewrite/common/namer.py +1 -0
  3725. mindspore/rewrite/common/namespace.py +1 -0
  3726. mindspore/rewrite/node/node.py +31 -11
  3727. mindspore/rewrite/parsers/assign_parser.py +1 -1
  3728. mindspore/rewrite/symbol_tree/symbol_tree.py +1 -1
  3729. mindspore/run_check/_check_version.py +7 -10
  3730. mindspore/runtime/__init__.py +5 -5
  3731. mindspore/runtime/event.py +10 -4
  3732. mindspore/runtime/executor.py +60 -45
  3733. mindspore/runtime/memory.py +21 -30
  3734. mindspore/runtime/thread_bind_core.py +298 -164
  3735. mindspore/safeguard/rewrite_obfuscation.py +12 -13
  3736. mindspore/scipy/linalg.py +2 -2
  3737. mindspore/scipy/utils_const.py +0 -17
  3738. mindspore/train/_utils.py +6 -2
  3739. mindspore/train/amp.py +43 -20
  3740. mindspore/train/callback/__init__.py +5 -5
  3741. mindspore/train/callback/_checkpoint.py +3 -6
  3742. mindspore/train/callback/_flops_collector.py +1 -1
  3743. mindspore/train/callback/_landscape.py +0 -1
  3744. mindspore/train/callback/_train_fault_tolerance.py +71 -13
  3745. mindspore/train/data_sink.py +11 -2
  3746. mindspore/train/dataset_helper.py +9 -0
  3747. mindspore/train/model.py +51 -33
  3748. mindspore/train/serialization.py +133 -111
  3749. mindspore/train/summary/summary_record.py +13 -2
  3750. mindspore/utils/__init__.py +3 -2
  3751. mindspore/utils/bin/dataset-cache +0 -0
  3752. mindspore/utils/bin/dataset-cache-server +0 -0
  3753. mindspore/utils/dryrun.py +0 -6
  3754. mindspore/utils/runtime_execution_order_check.py +162 -78
  3755. mindspore/utils/sdc_detect.py +68 -0
  3756. mindspore/utils/utils.py +6 -9
  3757. mindspore/version.py +1 -1
  3758. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/METADATA +5 -4
  3759. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/RECORD +3765 -3910
  3760. mindspore/_deprecated/jit.py +0 -198
  3761. mindspore/experimental/es/__init__.py +0 -22
  3762. mindspore/experimental/es/embedding_service.py +0 -891
  3763. mindspore/experimental/es/embedding_service_layer.py +0 -581
  3764. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/proactive_fallback_expander.h +0 -39
  3765. mindspore/include/mindspore/ccsrc/backend/common/session/session_context.h +0 -47
  3766. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_add_rmsnorm_fusion.h +0 -67
  3767. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend.h +0 -124
  3768. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend_base.h +0 -205
  3769. mindspore/include/mindspore/ccsrc/backend/graph_compiler/ge_backend/ge_backend.h +0 -86
  3770. mindspore/include/mindspore/ccsrc/debug/data_dump/data_dumper.h +0 -56
  3771. mindspore/include/mindspore/ccsrc/debug/hooker/acl_data_adapter.h +0 -51
  3772. mindspore/include/mindspore/ccsrc/debug/hooker/adapter.h +0 -75
  3773. mindspore/include/mindspore/ccsrc/debug/hooker/hook_debugger.h +0 -55
  3774. mindspore/include/mindspore/ccsrc/debug/hooker/hook_dynamic_loader.h +0 -52
  3775. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/prompt_k_v_cache_info.h +0 -59
  3776. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/overflow_dumper.h +0 -50
  3777. mindspore/include/mindspore/ccsrc/include/backend/device_synchronizer.h +0 -49
  3778. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/constants.h +0 -174
  3779. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_client.h +0 -83
  3780. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_server.h +0 -71
  3781. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/ptr_list_ref.h +0 -423
  3782. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_stream_assign.h +0 -255
  3783. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_mod.h +0 -78
  3784. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/ascend_native/boost_model_ascend_native.h +0 -51
  3785. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async.h +0 -100
  3786. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger-inl.h +0 -86
  3787. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger.h +0 -74
  3788. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/argv.h +0 -40
  3789. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/env.h +0 -36
  3790. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers-inl.h +0 -107
  3791. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers.h +0 -29
  3792. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common-inl.h +0 -68
  3793. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common.h +0 -411
  3794. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer-inl.h +0 -63
  3795. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer.h +0 -45
  3796. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/circular_q.h +0 -115
  3797. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/console_globals.h +0 -28
  3798. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper-inl.h +0 -152
  3799. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper.h +0 -61
  3800. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/fmt_helper.h +0 -141
  3801. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg-inl.h +0 -44
  3802. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg.h +0 -40
  3803. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer-inl.h +0 -54
  3804. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer.h +0 -32
  3805. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/mpmc_blocking_q.h +0 -177
  3806. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/null_mutex.h +0 -35
  3807. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os-inl.h +0 -594
  3808. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os.h +0 -123
  3809. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker-inl.h +0 -26
  3810. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker.h +0 -58
  3811. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry-inl.h +0 -261
  3812. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry.h +0 -129
  3813. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/synchronous_factory.h +0 -22
  3814. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client-windows.h +0 -135
  3815. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client.h +0 -127
  3816. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool-inl.h +0 -132
  3817. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool.h +0 -128
  3818. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client-windows.h +0 -98
  3819. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client.h +0 -81
  3820. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/windows_include.h +0 -11
  3821. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bin_to_hex.h +0 -224
  3822. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/args.h +0 -235
  3823. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/chrono.h +0 -2240
  3824. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/color.h +0 -643
  3825. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/compile.h +0 -535
  3826. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/core.h +0 -2969
  3827. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format-inl.h +0 -1678
  3828. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format.h +0 -4535
  3829. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/locale.h +0 -2
  3830. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/os.h +0 -455
  3831. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ostream.h +0 -245
  3832. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/printf.h +0 -675
  3833. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ranges.h +0 -738
  3834. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/std.h +0 -537
  3835. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/xchar.h +0 -259
  3836. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/chrono.h +0 -23
  3837. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/compile.h +0 -23
  3838. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/fmt.h +0 -30
  3839. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ostr.h +0 -23
  3840. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ranges.h +0 -23
  3841. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/std.h +0 -24
  3842. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/xchar.h +0 -23
  3843. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/formatter.h +0 -17
  3844. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fwd.h +0 -18
  3845. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger-inl.h +0 -198
  3846. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger.h +0 -379
  3847. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/mdc.h +0 -50
  3848. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter-inl.h +0 -1338
  3849. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter.h +0 -118
  3850. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/android_sink.h +0 -137
  3851. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink-inl.h +0 -135
  3852. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink.h +0 -115
  3853. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink-inl.h +0 -59
  3854. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink.h +0 -51
  3855. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink-inl.h +0 -42
  3856. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink.h +0 -65
  3857. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/callback_sink.h +0 -56
  3858. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/daily_file_sink.h +0 -255
  3859. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dist_sink.h +0 -81
  3860. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dup_filter_sink.h +0 -92
  3861. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/hourly_file_sink.h +0 -193
  3862. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/kafka_sink.h +0 -119
  3863. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/mongo_sink.h +0 -108
  3864. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/msvc_sink.h +0 -68
  3865. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/null_sink.h +0 -41
  3866. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ostream_sink.h +0 -43
  3867. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/qt_sinks.h +0 -304
  3868. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ringbuffer_sink.h +0 -67
  3869. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink-inl.h +0 -144
  3870. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink.h +0 -89
  3871. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink-inl.h +0 -22
  3872. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink.h +0 -34
  3873. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -38
  3874. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks.h +0 -49
  3875. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks-inl.h +0 -126
  3876. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks.h +0 -84
  3877. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/syslog_sink.h +0 -104
  3878. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/systemd_sink.h +0 -121
  3879. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/tcp_sink.h +0 -75
  3880. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/udp_sink.h +0 -69
  3881. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/win_eventlog_sink.h +0 -260
  3882. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink-inl.h +0 -172
  3883. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink.h +0 -82
  3884. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog-inl.h +0 -92
  3885. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog.h +0 -352
  3886. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/stopwatch.h +0 -66
  3887. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/tweakme.h +0 -141
  3888. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/version.h +0 -11
  3889. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/format_type/rectify_do_mask_kernel_info.h +0 -44
  3890. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/julia_api.h +0 -443
  3891. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_synchronizer.h +0 -45
  3892. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_synchronizer.h +0 -45
  3893. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_synchronizer.h +0 -44
  3894. mindspore/include/mindspore/ccsrc/ps/core/communicator/ssl_http.h +0 -60
  3895. mindspore/include/mindspore/ccsrc/pynative/grad/auto_grad.h +0 -77
  3896. mindspore/include/mindspore/ccsrc/pynative/grad/ir/bprop_tensor_replace.h +0 -58
  3897. mindspore/include/mindspore/ccsrc/pynative/grad/ir/dynamic_shape.h +0 -204
  3898. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_bprop.h +0 -163
  3899. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_grad.h +0 -114
  3900. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_pass.h +0 -71
  3901. mindspore/include/mindspore/ccsrc/pynative/grad/variable.h +0 -466
  3902. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_functions.h +0 -1045
  3903. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/custom_actor.h +0 -66
  3904. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/inline_control_flow_scheduler.h +0 -81
  3905. mindspore/include/mindspore/core/include/ir/base_tensor.h +0 -1073
  3906. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_tensor.h +0 -120
  3907. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/sample_distorted_bounding_box_ext2.h +0 -103
  3908. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/scale_and_translate.h +0 -77
  3909. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/decoder_kv_cache_tiling.h +0 -40
  3910. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/prompt_kv_cache_tiling.h +0 -39
  3911. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv3d_padding_aclnn_kernel.h +0 -78
  3912. mindspore/include/third_party/securec/src/secinput.h +0 -181
  3913. mindspore/include/third_party/securec/src/securecutil.h +0 -574
  3914. mindspore/include/third_party/securec/src/secureprintoutput.h +0 -153
  3915. mindspore/lib/plugin/ascend/custom_ascendc_910/framework/plugin/npu_supported_ops.json +0 -10
  3916. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  3917. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  3918. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/config/ascend910/aic-ascend910-ops-info.json +0 -182
  3919. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.cpp +0 -192
  3920. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.py +0 -215
  3921. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.cpp +0 -274
  3922. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.py +0 -215
  3923. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  3924. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  3925. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  3926. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  3927. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  3928. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  3929. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  3930. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  3931. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  3932. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  3933. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  3934. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  3935. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  3936. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  3937. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  3938. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  3939. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  3940. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  3941. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  3942. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  3943. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  3944. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  3945. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  3946. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  3947. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  3948. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  3949. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  3950. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  3951. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  3952. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  3953. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  3954. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  3955. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/binary_info_config.json +0 -302
  3956. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/decoder_kv_cache.json +0 -892
  3957. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/prompt_kv_cache.json +0 -892
  3958. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  3959. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  3960. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/inc/op_proto.h +0 -33
  3961. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  3962. mindspore/lib/plugin/ascend/custom_ascendc_910/version.info +0 -1
  3963. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  3964. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  3965. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.cpp +0 -192
  3966. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.py +0 -215
  3967. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.cpp +0 -274
  3968. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.py +0 -215
  3969. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  3970. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  3971. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  3972. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  3973. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  3974. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  3975. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  3976. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  3977. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  3978. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  3979. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  3980. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  3981. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  3982. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  3983. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  3984. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  3985. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  3986. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  3987. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  3988. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  3989. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  3990. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  3991. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  3992. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  3993. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  3994. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  3995. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  3996. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  3997. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  3998. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  3999. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  4000. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4001. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4002. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4003. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4004. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4005. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4006. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4007. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4008. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4009. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4010. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4011. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4012. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4013. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4014. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4015. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4016. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4017. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4018. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4019. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4020. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4021. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4022. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4023. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4024. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4025. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4026. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4027. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4028. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4029. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4030. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4031. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4032. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4033. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4034. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4035. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4036. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4037. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4038. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4039. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4040. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4041. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4042. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4043. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4044. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4045. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4046. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4047. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4048. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4049. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4050. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4051. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4052. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4053. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4054. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4055. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4056. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4057. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4058. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4059. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4060. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4061. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4062. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4063. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4064. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4065. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/decoder_kv_cache.json +0 -892
  4066. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/prompt_kv_cache.json +0 -892
  4067. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/decoder_kv_cache.json +0 -892
  4068. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/prompt_kv_cache.json +0 -892
  4069. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/decoder_kv_cache.json +0 -892
  4070. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/prompt_kv_cache.json +0 -892
  4071. mindspore/lib/plugin/ascend/libms_ascend_native_boost.so +0 -0
  4072. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libllama_op.so +0 -0
  4073. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_optiling.so +0 -0
  4074. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_4b60f88cdc28b25a36bad2d8b0a88092.json +0 -163
  4075. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_4b60f88cdc28b25a36bad2d8b0a88092.o +0 -0
  4076. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_cde61da2bd6fededcb1ba310a6ad16ee.json +0 -163
  4077. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_cde61da2bd6fededcb1ba310a6ad16ee.o +0 -0
  4078. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libllama_ascend910b.so +0 -0
  4079. mindspore/profiler/parser/__init__.py +0 -14
  4080. mindspore/profiler/parser/aicpu_data_parser.py +0 -272
  4081. mindspore/profiler/parser/ascend_analysis/__init__.py +0 -14
  4082. mindspore/profiler/parser/ascend_analysis/constant.py +0 -71
  4083. mindspore/profiler/parser/ascend_analysis/file_manager.py +0 -180
  4084. mindspore/profiler/parser/ascend_analysis/function_event.py +0 -185
  4085. mindspore/profiler/parser/ascend_analysis/fwk_cann_parser.py +0 -136
  4086. mindspore/profiler/parser/ascend_analysis/fwk_file_parser.py +0 -131
  4087. mindspore/profiler/parser/ascend_analysis/msprof_timeline_parser.py +0 -104
  4088. mindspore/profiler/parser/ascend_analysis/path_manager.py +0 -313
  4089. mindspore/profiler/parser/ascend_analysis/profiler_info_parser.py +0 -123
  4090. mindspore/profiler/parser/ascend_analysis/tlv_decoder.py +0 -86
  4091. mindspore/profiler/parser/ascend_analysis/trace_event_manager.py +0 -75
  4092. mindspore/profiler/parser/ascend_cluster_generator.py +0 -116
  4093. mindspore/profiler/parser/ascend_communicate_generator.py +0 -314
  4094. mindspore/profiler/parser/ascend_flops_generator.py +0 -116
  4095. mindspore/profiler/parser/ascend_fpbp_generator.py +0 -82
  4096. mindspore/profiler/parser/ascend_hccl_generator.py +0 -271
  4097. mindspore/profiler/parser/ascend_integrate_generator.py +0 -42
  4098. mindspore/profiler/parser/ascend_memory_generator.py +0 -185
  4099. mindspore/profiler/parser/ascend_msprof_exporter.py +0 -282
  4100. mindspore/profiler/parser/ascend_msprof_generator.py +0 -187
  4101. mindspore/profiler/parser/ascend_op_generator.py +0 -334
  4102. mindspore/profiler/parser/ascend_steptrace_generator.py +0 -94
  4103. mindspore/profiler/parser/ascend_timeline_generator.py +0 -545
  4104. mindspore/profiler/parser/base_timeline_generator.py +0 -483
  4105. mindspore/profiler/parser/container.py +0 -229
  4106. mindspore/profiler/parser/cpu_gpu_timeline_generator.py +0 -697
  4107. mindspore/profiler/parser/flops_parser.py +0 -531
  4108. mindspore/profiler/parser/framework_enum.py +0 -111
  4109. mindspore/profiler/parser/framework_parser.py +0 -464
  4110. mindspore/profiler/parser/framework_struct.py +0 -61
  4111. mindspore/profiler/parser/gpu_analysis/__init__.py +0 -14
  4112. mindspore/profiler/parser/gpu_analysis/function_event.py +0 -44
  4113. mindspore/profiler/parser/gpu_analysis/fwk_file_parser.py +0 -89
  4114. mindspore/profiler/parser/gpu_analysis/profiler_info_parser.py +0 -72
  4115. mindspore/profiler/parser/hccl_parser.py +0 -573
  4116. mindspore/profiler/parser/hwts_log_parser.py +0 -122
  4117. mindspore/profiler/parser/integrator.py +0 -526
  4118. mindspore/profiler/parser/memory_usage_parser.py +0 -277
  4119. mindspore/profiler/parser/minddata_analyzer.py +0 -800
  4120. mindspore/profiler/parser/minddata_parser.py +0 -186
  4121. mindspore/profiler/parser/minddata_pipeline_parser.py +0 -299
  4122. mindspore/profiler/parser/op_intermediate_parser.py +0 -149
  4123. mindspore/profiler/parser/optime_parser.py +0 -250
  4124. mindspore/profiler/parser/profiler_info.py +0 -213
  4125. mindspore/profiler/parser/step_trace_parser.py +0 -666
  4126. /mindspore/include/mindspore/ops/kernel/ascend/ascendc/{op_host → all_finite/op_host}/all_finite_tiling.h +0 -0
  4127. /mindspore/include/third_party/{securec/include → include}/securec.h +0 -0
  4128. /mindspore/include/third_party/{securec/include → include}/securectype.h +0 -0
  4129. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/WHEEL +0 -0
  4130. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/entry_points.txt +0 -0
  4131. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/top_level.txt +0 -0
@@ -17,36 +17,52 @@ 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 diag(input, diagonal=0):
21
21
  r"""
22
- Computes inverse hyperbolic sine of the input element-wise.
22
+ If input is a vector (1-D tensor), then returns a 2-D square tensor with the elements of input as the diagonal.
23
23
 
24
- .. math::
24
+ If input is a matrix (2-D tensor), then returns a 1-D tensor with the diagonal elements of input.
25
25
 
26
- out_i = \sinh^{-1}(input_i)
26
+ The argument diagonal controls which diagonal to consider:
27
+
28
+ - If `diagonal` = 0, it is the main diagonal.
29
+
30
+ - If `diagonal` > 0, it is above the main diagonal.
31
+
32
+ - If `diagonal` < 0, it is below the main diagonal.
33
+
34
+ .. warning::
35
+ This is an experimental API that is subject to change or deletion.
27
36
 
28
37
  Args:
29
- input (Tensor): The input tensor of inverse hyperbolic sine function.
38
+ input (Tensor): The input tensor.
39
+ diagonal (int, optional): the diagonal to consider. Defaults: ``0``.
30
40
 
31
41
  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`.
42
+ Tensor, has the same dtype as the `input`, its shape is up to `diagonal`.
43
+
44
+ - 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.
45
+
46
+ - 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.
33
47
 
34
48
  Raises:
35
49
  TypeError: If `input` is not a Tensor.
50
+ ValueError: If shape of `input` is not 1-D and 2-D.
36
51
 
37
52
  Supported Platforms:
38
- ``Ascend`` ``GPU`` ``CPU``
53
+ ``Ascend``
39
54
 
40
55
  Examples:
41
- >>> import mindspore
42
- >>> import numpy as np
43
56
  >>> 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)
57
+ >>> input = Tensor([1, 2, 3, 4]).astype('int32')
58
+ >>> output = ops.auto_generate.diag_ext(input)
46
59
  >>> print(output)
47
- [-2.3124385 1.1947632 1.8184465 5.298342 ]
60
+ [[1 0 0 0]
61
+ [0 2 0 0]
62
+ [0 0 3 0]
63
+ [0 0 0 4]]
48
64
  """
49
- return asinh_impl(input)
65
+ return diag_impl(input, diagonal)
50
66
 
51
67
 
52
68
  def t(input):
@@ -84,43 +100,19 @@ def t(input):
84
100
  return t_impl(input)
85
101
 
86
102
 
87
- def argmax(input, dim=None, keepdim=False):
103
+ def argmin(input, dim=None, keepdim=False):
88
104
  r"""
89
- argmax(input) -> Tensor
90
-
91
- Return the indices of the maximum values of a tensor.
92
-
93
- Args:
94
- input (Tensor): Input tensor.
95
-
96
- Returns:
97
- Tensor.
98
-
99
- Supported Platforms:
100
- ``Ascend``
101
-
102
- Examples:
103
- >>> 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)
108
- >>> print(output)
109
- 6
110
-
111
- .. function:: argmax(input, dim, keepdim=False) -> Tensor
112
- :noindex:
113
-
114
- Return the indices of the maximum values of a tensor across a dimension.
105
+ Return the indices of the minimum values of a tensor across a dimension.
115
106
 
116
107
  Args:
117
108
  input (Tensor): Input tensor.
118
- dim (int): The dimension to reduce.
109
+ dim (Union[int, None], optional): Specify the axis for calculation. If `dim` is ``None`` , the indices of the minimum
110
+ value within the flattened input will be returned. Default: ``None`` .
119
111
  keepdim (bool, optional): Whether the output tensor retains the specified
120
- dimension. Default: ``False`` .
112
+ dimension. Ignored if `dim` is None. Default: ``False`` .
121
113
 
122
114
  Returns:
123
- Tensor, indices of the maximum values across a dimension.
115
+ Tensor, indices of the minimum values of the input tensor across a dimension.
124
116
 
125
117
  Raises:
126
118
  TypeError: If `keepdim` is not bool.
@@ -134,130 +126,144 @@ def argmax(input, dim=None, keepdim=False):
134
126
  >>> from mindspore import Tensor
135
127
  >>> from mindspore import ops
136
128
  >>> 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)
129
+ >>> output = ops.auto_generate.argmin_ext(x, dim=-1)
138
130
  >>> 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
131
+ [0 1 2]
147
132
  """
148
- return sort_impl(input, dim, descending, stable)
133
+ return argmin_impl(input, dim, keepdim)
149
134
 
150
135
 
151
- def isneginf(input):
136
+ def log10(input):
152
137
  r"""
153
- Determines which elements are -inf for each position.
138
+ Returns the logarithm to the base 10 of a tensor element-wise.
139
+
140
+ .. math::
141
+ y_i = \log_{10}(x_i)
154
142
 
155
143
  .. warning::
156
- - This API can be used only on the Atlas A2 training series.
144
+ - This is an experimental API that is subject to change or deletion.
145
+ - If the input value of operator Log10 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
146
+ may be affacted.
157
147
 
158
148
  Args:
159
- input (Tensor): Input Tensor.
149
+ input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
160
150
 
161
151
  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.
152
+ Tensor, has the same shape as the `input`, and the dtype changes according to the `input.dtype`.
153
+
154
+ - if `input.dtype` is in [float16, float32, float64, bfloat16], the output dtype is the same as the `input.dtype`.
155
+ - if `input.dtype` is integer or boolean type, the output dtype is float32.
163
156
 
164
157
  Raises:
165
- TypeError: If the input is not a tensor.
158
+ TypeError: If `input` is not a Tensor.
166
159
 
167
160
  Supported Platforms:
168
- ``Ascend`` ``GPU`` ``CPU``
161
+ ``Ascend``
169
162
 
170
163
  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))
164
+ >>> import mindspore
165
+ >>> import numpy as np
166
+ >>> from mindspore import Tensor, ops
167
+ >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
168
+ >>> output = ops.auto_generate.log10_ext(x)
174
169
  >>> print(output)
175
- [[ True False]
176
- [False True]]
170
+ [0.47712136 0.69897 0.845098 ]
177
171
  """
178
- return isneginf_impl(input)
172
+ return log10_impl(input)
179
173
 
180
174
 
181
- def mish(input):
175
+ def unfold(input, kernel_size, dilation=1, padding=0, stride=1):
182
176
  r"""
183
- Computes MISH (A Self Regularized Non-Monotonic Neural Activation Function)
184
- of input tensors element-wise.
177
+ Extracts sliding local blocks from a batched input tensor.
185
178
 
186
- The formula is defined as follows:
179
+ Consider a batched input tensor of shape :math:`(N, C, *)`,
180
+ where :math:`N` is the batch dimension, :math:`C` is the channel dimension,
181
+ and :math:`*` represent arbitrary spatial dimensions. This operation flattens
182
+ each sliding `Kernel_size`- sized block within the spatial dimensions
183
+ of `input` into a column (i.e., last dimension) of a 3-D output
184
+ tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)`, where
185
+ :math:`C \times \prod(\text{kernel_size})` is the total number of values
186
+ within each block (a block has :math:`\prod(\text{kernel_size})` spatial
187
+ locations each containing a `C`-channeled vector), and :math:`L` is
188
+ the total number of such blocks:
187
189
 
188
190
  .. math::
189
- \text{mish}(input) = input * \tanh(softplus(\text{input}))
191
+ L = \prod_d \left\lfloor\frac{\text{spatial_size}[d] + 2 \times \text{padding}[d] %
192
+ - \text{dilation}[d] \times (\text{kernel_size}[d] - 1) - 1}{\text{stride}[d]} + 1\right\rfloor,
190
193
 
191
- See more details in `A Self Regularized Non-Monotonic Neural Activation Function
192
- <https://arxiv.org/abs/1908.08681>`_.
194
+ where :math:`\text{spatial_size}` is formed by the spatial dimensions
195
+ of `input` (:math:`*` above), and :math:`d` is over all spatial
196
+ dimensions.
193
197
 
194
- Mish Activation Function Graph:
198
+ Therefore, indexing `output` at the last dimension (column dimension)
199
+ gives all values within a certain block.
195
200
 
196
- .. image:: ../images/Mish.png
197
- :align: center
201
+ The `dilation`, `padding` and `stride` arguments specify
202
+ how the sliding blocks are retrieved.
198
203
 
199
- Args:
200
- input (Tensor): The input of MISH. Supported dtypes:
204
+ .. warning::
205
+ - Currently, batched(4D) image-like tensors are supported.
206
+ - For Ascend, it is only supported on platforms above Atlas A2.
201
207
 
202
- - Ascend: float16, float32.
208
+ Args:
209
+ input (Tensor): 4-D Tensor.
210
+ kernel_size (Union[int, tuple[int], list[int]]): The size of the kernel, should be two int
211
+ for height and width. If type is int, it means that height equal with width. Must be specified.
212
+ dilation (Union[int, tuple[int], list[int]], optional): The dilation of the window, should be two int
213
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
214
+ padding (Union[int, tuple[int], list[int]], optional): The pad of the window, should be two int
215
+ for height and width. If type is int, it means that height equal with width. Default: ``0`` .
216
+ stride (Union[int, tuple[int], list[int]], optional): The stride of the window, should be two int
217
+ for height and width. If type is int, it means that height equal with width. Default: ``1`` .
203
218
 
204
219
  Returns:
205
- Tensor, has the same type and shape as the `input`.
220
+ A Tensor, with same type as `input` .
221
+
222
+ Shape:
223
+ - Input: :math:`(N, C, *)`
224
+ - Output: :math:`(N, C \times \prod(\text{kernel_size}), L)`
206
225
 
207
226
  Raises:
208
- TypeError: If `input` is not a Tensor.
209
- TypeError: If dtype of `input` is not float16 or float32.
227
+ TypeError: If any data type of `kernel_size`, `stride`, `dilation`, `padding` is not int, tuple or list.
228
+ ValueError: If `kernel_size`, `dilation`, `stride` value is not
229
+ greater than zero or elements number more than `2`.
230
+ ValueError: If `padding` value is less than zero.
210
231
 
211
232
  Supported Platforms:
212
233
  ``Ascend``
213
234
 
214
235
  Examples:
215
236
  >>> import mindspore
216
- >>> from mindspore import Tensor, ops
217
237
  >>> 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)
220
- >>> print(output)
221
- [[-3.0764845e-01 3.9974124e+00 -2.6832507e-03]
222
- [ 1.9439589e+00 -3.3576239e-02 8.9999990e+00]]
238
+ >>> from mindspore import Tensor, ops
239
+ >>> x = Tensor(np.random.rand(4, 4, 32, 32), mindspore.float32)
240
+ >>> output = ops.auto_generate.unfold_ext(x, kernel_size=3, dilation=1, stride=1)
241
+ >>> print(output.shape)
242
+ (4, 36, 900)
223
243
  """
224
- return mish_impl(input)
244
+ return unfold_impl(input, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
225
245
 
226
246
 
227
- def avg_pool1d(input, kernel_size, stride=None, padding=0, ceil_mode=False, count_include_pad=True):
247
+ def acosh(input):
228
248
  r"""
229
- Applies a 1D average pooling over an input Tensor which can be regarded as a composition of 1D input planes.
230
-
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.
249
+ Computes inverse hyperbolic cosine of the inputs element-wise.
234
250
 
235
251
  .. 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
252
 
239
- .. warning::
240
- This is an experimental API that is subject to change or deletion.
253
+ out_i = \cosh^{-1}(input_i)
254
+
255
+ .. note::
256
+ Given an input tensor input, the function computes inverse hyperbolic cosine of every element.
257
+ Input range is [1, inf].
241
258
 
242
259
  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`` .
260
+ input (Tensor): The input tensor of inverse hyperbolic cosine function.
251
261
 
252
262
  Returns:
253
- Tensor of shape :math:`(N, C_{in}, L_{out})`.
263
+ 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`.
254
264
 
255
265
  Raises:
256
266
  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`.
261
267
 
262
268
  Supported Platforms:
263
269
  ``Ascend`` ``GPU`` ``CPU``
@@ -266,224 +272,226 @@ def avg_pool1d(input, kernel_size, stride=None, padding=0, ceil_mode=False, coun
266
272
  >>> import mindspore
267
273
  >>> import numpy as np
268
274
  >>> 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)
275
+ >>> input = Tensor(np.array([1.0, 1.5, 3.0, 100.0]), mindspore.float32)
276
+ >>> output = ops.acosh_ext(input)
277
+ >>> print(output)
278
+ [0. 0.9624236 1.7627472 5.298292 ]
273
279
  """
274
- return avg_pool1d_impl(input, kernel_size, stride, padding, ceil_mode, count_include_pad)
280
+ return acosh_impl(input)
275
281
 
276
282
 
277
- def trace(input):
283
+ def softplus(input, beta=1, threshold=20):
278
284
  r"""
279
- Returns a new tensor that is the sum of the `input` main trace.
285
+ Applies softplus function to `input` element-wise.
280
286
 
281
- Args:
282
- input (Tensor): 2-D Tensor.
287
+ The softplus function is shown as follows, x is the element of `input` :
283
288
 
284
- 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.
289
+ .. math::
286
290
 
287
- Raises:
288
- 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.
291
+ \text{output} = \frac{1}{beta}\log(1 + \exp(\text{beta * x}))
291
292
 
292
- Supported Platforms:
293
- ``Ascend``
293
+ where :math:`input * beta > threshold`, the implementation converts to the linear function to ensure numerical stability.
294
+
295
+ Args:
296
+ input (Tensor): Tensor of any dimension. Supported dtypes:
297
+
298
+ - Ascend: float16, float32, bfloat16.
299
+ beta (number.Number, optional): Scaling parameters in the softplus function. Default: ``1`` .
300
+ threshold (number.Number, optional): For numerical stability, the softplus function is converted
301
+ to a threshold parameter of a linear function. Default: ``20`` .
302
+
303
+ Returns:
304
+ Tensor, with the same type and shape as the input.
305
+
306
+ Raises:
307
+ TypeError: If `input` is not a Tensor.
308
+ TypeError: If dtype of `input` is not float16, float32, bfloat16.
309
+
310
+ Supported Platforms:
311
+ ``Ascend``
294
312
 
295
313
  Examples:
296
314
  >>> import mindspore
297
315
  >>> import numpy as np
298
316
  >>> 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)
301
- >>> print(output)
302
- 42.0
303
- >>> input = Tensor(np.arange(1, 13).reshape(3, 4), mindspore.float32)
304
- >>> output = ops.trace_ext(input)
305
- >>> print(output)
306
- 18.0
307
- >>> input = Tensor(np.arange(12, 0, -1).reshape(4, 3), mindspore.float32)
308
- >>> output = ops.trace_ext(input)
317
+ >>> input = Tensor(np.array([0.1, 0.2, 30, 25]), mindspore.float32)
318
+ >>> output = ops.auto_generate.softplus_ext(input)
309
319
  >>> print(output)
310
- 24.0
320
+ [0.74439657 0.7981388 30. 25.]
311
321
  """
312
- return trace_impl(input)
322
+ return softplus_impl(input, beta, threshold)
313
323
 
314
324
 
315
- def outer(input, vec2):
325
+ def sum(input, dim=None, keepdim=False, dtype=None):
316
326
  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)` .
319
-
320
- .. warning::
321
- This is an experimental API that is subject to change or deletion.
327
+ Calculate sum of Tensor elements over a given dim.
322
328
 
323
- .. note::
324
- This function does not broadcast.
329
+ Note:
330
+ The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
325
331
 
326
332
  Args:
327
- input (Tensor): 1-D input vector.
328
- vec2 (Tensor): 1-D input vector.
333
+ input (Tensor): The input tensor.
334
+ dim (Union[None, int, tuple(int), list(int), Tensor]): Dimensions along which a sum is performed.
335
+ If ``None`` , sum all the elements of the input tensor.
336
+ If the `dim` is a tuple or list of ints, a sum is performed on all the dimensions specified in the tuple.
337
+ Must be in the range :math:`[-input.ndim, input.ndim)` . Default: ``None`` .
338
+ keepdim (bool): Whether the output tensor has `dim` retained or not.
339
+ If ``True`` , keep these reduced dimensions and the length is 1.
340
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
341
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
329
342
 
330
343
  Returns:
331
- out, 2-D matrix, the outer product of two vectors.
344
+ A Tensor, sum of elements over a given `dim` in `input`.
332
345
 
333
346
  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.
347
+ TypeError: If `input` is not a Tensor.
348
+ TypeError: If `dim` is not an int, tulpe(int), list(int), Tensor or None.
349
+ ValueError: If `dim` is not in the range :math:`[-input.ndim, input.ndim)` .
350
+ TypeError: If `keepdim` is not a bool.
337
351
 
338
352
  Supported Platforms:
339
- ``Ascend``
353
+ ``Ascend`` ``GPU`` ``CPU``
340
354
 
341
355
  Examples:
342
356
  >>> import mindspore
343
357
  >>> 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)
358
+ >>> from mindspore import Tensor, ops
359
+ >>> from mindspore import dtype as mstype
360
+ >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
361
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
362
+ ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mstype.float32)
363
+ >>> out = ops.sum_ext(x)
349
364
  >>> print(out)
350
- [[49 70 77]
351
- [56 80 88]
352
- [63 90 99]]
365
+ 270.0
366
+ >>> out = ops.sum_ext(x, dim=2)
367
+ >>> print(out)
368
+ [[ 6. 12. 18.]
369
+ [24. 30. 36.]
370
+ [42. 48. 54.]]
371
+ >>> out = ops.sum_ext(x, dim=2, keepdim=True)
372
+ >>> print(out)
373
+ [[[ 6.]
374
+ [12.]
375
+ [18.]]
376
+ [[24.]
377
+ [30.]
378
+ [36.]]
379
+ [[42.]
380
+ [48.]
381
+ [54.]]]
353
382
  """
354
- return outer_impl(input, vec2)
383
+ return sum_impl(input, dim, keepdim, dtype)
355
384
 
356
385
 
357
- def elu(input, alpha=1.0):
386
+ def sub(input, other, alpha=1):
358
387
  r"""
359
- Exponential Linear Unit activation function.
360
-
361
- Applies the exponential linear unit function element-wise.
362
- The activation function is defined as:
388
+ Subtracts scaled other value from input Tensor.
363
389
 
364
390
  .. math::
365
391
 
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.
371
-
372
- Where :math:`x` is the element of input Tensor `input`, :math:`\alpha` is param `alpha`,
373
- it determines the smoothness of ELU.
374
-
375
- ELU function graph:
392
+ out_{i} = input_{i} - alpha \times other_{i}
376
393
 
377
- .. image:: ../images/ELU.png
378
- :align: center
394
+ Note:
395
+ - When the two inputs have different shapes,
396
+ they must be able to broadcast to a common shape.
397
+ - The two inputs and alpha comply with the implicit type conversion rules to make the data types
398
+ consistent.
379
399
 
380
400
  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`` .
401
+ input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
402
+ a bool or a tensor whose data type is
403
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
404
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
405
+ other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
406
+ a bool or a tensor whose data type is
407
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
408
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
409
+ alpha (number.Number): A scaling factor applied to `other`, default 1.
384
410
 
385
411
  Returns:
386
- Tensor, has the same shape and data type as `input`.
412
+ Tensor with a shape that is the same as the broadcasted shape of the input `input` and `other`,
413
+ and the data type is the one with higher precision or higher digits among the two inputs and alpha.
387
414
 
388
415
  Raises:
389
- TypeError: If `alpha` is not a float.
416
+ TypeError: If the type of `input`, `other`, or `alpha` is not one of the following: Tensor, number.Number, bool.
417
+ TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
418
+ TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
390
419
 
391
420
  Supported Platforms:
392
- ``Ascend``
421
+ ``Ascend`` ``GPU`` ``CPU``
393
422
 
394
423
  Examples:
395
- >>> import mindspore
396
424
  >>> import numpy as np
397
- >>> 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)
425
+ >>> import mindspore
426
+ >>> from mindspore import Tensor
427
+ >>> from mindspore import ops
428
+ >>> x = Tensor(np.array([4, 5, 6]).astype(np.float32))
429
+ >>> y = Tensor(1, mindspore.int32)
430
+ >>> alpha = 0.5
431
+ >>> output = ops.auto_generate.sub_ext(x, y, alpha)
400
432
  >>> print(output)
401
- [[-0.63212055 4. -0.99966455]
402
- [ 2. -0.99326205 9. ]]
433
+ [3.5 4.5 5.5]
434
+ >>> # the data type of x is float32, the data type of y is int32,
435
+ >>> # alpha is a float, and the output is the data format of higher precision float32.
436
+ >>> print(output.dtype)
437
+ Float32
403
438
  """
404
- return elu_impl(input, alpha)
439
+ return sub_impl(input, other, alpha)
405
440
 
406
441
 
407
- def logsumexp(input, dim, keepdim=False):
442
+ def isneginf(input):
408
443
  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::
412
-
413
- logsumexp(input) = \log(\sum(e^{input-input_{max}})) + input_{max}
444
+ Determines which elements are -inf for each position.
414
445
 
415
446
  .. warning::
416
- This is an experimental API that is subject to change or deletion.
447
+ - This API can be used only on the Atlas A2 training series.
417
448
 
418
449
  Args:
419
450
  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`.
422
451
 
423
452
  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])`.
453
+ 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.
431
454
 
432
455
  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.
456
+ TypeError: If the input is not a tensor.
439
457
 
440
458
  Supported Platforms:
441
- ``Ascend``
459
+ ``Ascend`` ``GPU`` ``CPU``
442
460
 
443
461
  Examples:
444
- >>> import numpy as np
445
- >>> 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)
462
+ >>> from mindspore import ops, Tensor
463
+ >>> from mindspore import dtype as mstype
464
+ >>> output = ops.isneginf(Tensor([[-float("inf"), float("inf")], [1, -float("inf")]], mstype.float32))
465
+ >>> print(output)
466
+ [[ True False]
467
+ [False True]]
450
468
  """
451
- return logsumexp_impl(input, dim, keepdim)
469
+ return isneginf_impl(input)
452
470
 
453
471
 
454
- def selu(input):
472
+ def index_select(input, dim, index):
455
473
  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:
474
+ Generates a new Tensor that accesses the values of `input` along the specified `dim` dimension
475
+ using the indices specified in `index`. The new Tensor has the same number of dimensions as `input`,
476
+ with the size of the `dim` dimension being equal to the length of `index`, and the size of all other
477
+ dimensions will be unchanged from the original `input` Tensor.
474
478
 
475
- .. image:: ../images/SeLU.png
476
- :align: center
479
+ .. note::
480
+ The value of index must be in the range of `[0, input.shape[dim])`, the result is undefined out of range.
477
481
 
478
482
  Args:
479
- input (Tensor): Tensor of any dimension.
480
- The data type is float16, float32, bfloat16.
483
+ input (Tensor): The input Tensor.
484
+ dim (int): The dimension to be indexed.
485
+ index (Tensor): A 1-D Tensor with the indices.
481
486
 
482
487
  Returns:
483
- Tensor, with the same type and shape as the `input`.
488
+ Tensor, has the same dtype as input Tensor.
484
489
 
485
490
  Raises:
486
- TypeError: If dtype of `input` is not float16, float32, bfloat16.
491
+ TypeError: If `input` or `index` is not a Tensor.
492
+ TypeError: If `dim` is not int number.
493
+ ValueError: If the value of `dim` is out the range of `[-input.ndim, input.ndim - 1]`.
494
+ ValueError: If the dimension of `index` is not equal to 1.
487
495
 
488
496
  Supported Platforms:
489
497
  ``Ascend``
@@ -492,128 +500,123 @@ def selu(input):
492
500
  >>> import mindspore
493
501
  >>> from mindspore import Tensor, ops
494
502
  >>> 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 ]]
503
+ >>> input = Tensor(np.arange(16).astype(np.float32).reshape(2, 2, 4))
504
+ >>> print(input)
505
+ [[[ 0. 1. 2. 3.]
506
+ [ 4. 5. 6. 7.]]
507
+ [[ 8. 9. 10. 11.]
508
+ [12. 13. 14. 15.]]]
509
+ >>> index = Tensor([0,], mindspore.int32)
510
+ >>> y = ops.auto_generate.index_select_ext(input, 1, index)
511
+ >>> print(y)
512
+ [[[ 0. 1. 2. 3.]]
513
+ [[ 8. 9. 10. 11.]]]
500
514
  """
501
- return selu_impl(input)
515
+ return index_select_impl(input, dim, index)
502
516
 
503
517
 
504
- def log2(input):
518
+ def topk(input, k, dim=-1, largest=True, sorted=True):
505
519
  r"""
506
- Returns the logarithm to the base 2 of a tensor element-wise.
507
-
508
- .. math::
509
- y_i = \log_2(x_i)
520
+ Finds values and indices of the `k` largest or smallest entries along a given dimension.
510
521
 
511
522
  .. 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.
514
-
515
- Args:
516
- input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
517
-
518
- 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`.
521
-
522
- Raises:
523
- TypeError: If `input` is not a Tensor.
523
+ - If sorted is set to False, due to different memory layout and traversal methods on different platforms,
524
+ the display order of calculation results may be inconsistent when `sorted` is False.
524
525
 
525
- Supported Platforms:
526
- ``Ascend``
526
+ If the `input` is a one-dimensional Tensor, finds the `k` largest or smallest entries in the Tensor,
527
+ and outputs its value and index as a Tensor. values[`k`] is the `k` largest item in `input`,
528
+ and its index is indices [`k`].
527
529
 
528
- Examples:
529
- >>> import mindspore
530
- >>> import numpy as np
531
- >>> 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)
534
- >>> print(output)
535
- [1.5849625 2.321928 2.807355 ]
536
- """
537
- return log2_impl(input)
538
-
539
-
540
- def add(input, other, alpha=1):
541
- r"""
542
- Adds scaled other value to input Tensor.
530
+ For a multi-dimensional matrix,
531
+ calculates the first or last `k` entries in a given dimension, therefore:
543
532
 
544
533
  .. math::
545
534
 
546
- out_{i} = input_{i} + alpha \times other_{i}
535
+ values.shape = indices.shape
547
536
 
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.
537
+ If the two compared elements are the same, the one with the smaller index value is returned first.
553
538
 
554
539
  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.
540
+ input (Tensor): Input to be computed.
541
+ k (int): The number of top or bottom elements to be computed along the last dimension.
542
+ dim (int, optional): The dimension to sort along. Default: ``-1`` .
543
+ largest (bool, optional): If largest is ``False`` then the k smallest elements are returned.
544
+ Default: ``True`` .
545
+ sorted (bool, optional): If ``True`` , the obtained elements will be sorted by the values in descending
546
+ order or ascending order according to `largest`. If ``False`` , the obtained elements will not be
547
+ sorted. Default: ``True`` .
564
548
 
565
549
  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.
550
+ A tuple consisting of `values` and `indices`.
551
+
552
+ - values (Tensor) - The `k` largest or smallest elements in each slice of the given dimension.
553
+ - indices (Tensor) - The indices of values within the last dimension of input.
568
554
 
569
555
  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.
556
+ TypeError: If `sorted` is not a bool.
557
+ TypeError: If `input` is not a Tensor.
558
+ TypeError: If `k` is not an int.
573
559
 
574
560
  Supported Platforms:
575
- ``Ascend`` ``GPU`` ``CPU``
561
+ ``Ascend``
576
562
 
577
563
  Examples:
578
- >>> import numpy as np
579
- >>> import mindspore
580
- >>> from mindspore import Tensor
564
+ >>> import mindspore as ms
581
565
  >>> 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)
566
+ >>> x = ms.Tensor([[0.5368, 0.2447, 0.4302, 0.9673],
567
+ ... [0.4388, 0.6525, 0.4685, 0.1868],
568
+ ... [0.3563, 0.5152, 0.9675, 0.8230]], dtype=ms.float32)
569
+ >>> output = ops.topk_ext(x, 2, dim=1)
586
570
  >>> 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
571
+ (Tensor(shape=[3, 2], dtype=Float32, value=
572
+ [[ 9.67299998e-01, 5.36800027e-01],
573
+ [ 6.52499974e-01, 4.68499988e-01],
574
+ [ 9.67499971e-01, 8.23000014e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
575
+ [[3, 0],
576
+ [1, 2],
577
+ [2, 3]]))
578
+ >>> output2 = ops.topk_ext(x, 2, dim=1, largest=False)
579
+ >>> print(output2)
580
+ (Tensor(shape=[3, 2], dtype=Float32, value=
581
+ [[ 2.44700000e-01, 4.30200011e-01],
582
+ [ 1.86800003e-01, 4.38800007e-01],
583
+ [ 3.56299996e-01, 5.15200019e-01]]), Tensor(shape=[3, 2], dtype=Int64, value=
584
+ [[1, 2],
585
+ [3, 0],
586
+ [0, 1]]))
592
587
  """
593
- return add_impl(input, other, alpha)
588
+ return topk_impl(input, k, dim, largest, sorted)
594
589
 
595
590
 
596
- def stack(tensors, dim=0):
591
+ def mish(input):
597
592
  r"""
598
- Stacks a list of tensors in specified dim.
593
+ Computes MISH (A Self Regularized Non-Monotonic Neural Activation Function)
594
+ of input tensors element-wise.
599
595
 
600
- Stacks the list of input tensors with the same rank `R`, output is a tensor of rank `(R+1)`.
596
+ The formula is defined as follows:
601
597
 
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)`.
598
+ .. math::
599
+ \text{mish}(input) = input * \tanh(softplus(\text{input}))
600
+
601
+ See more details in `A Self Regularized Non-Monotonic Neural Activation Function
602
+ <https://arxiv.org/abs/1908.08681>`_.
603
+
604
+ Mish Activation Function Graph:
605
+
606
+ .. image:: ../images/Mish.png
607
+ :align: center
605
608
 
606
609
  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`` .
610
+ input (Tensor): The input of MISH. Supported dtypes:
611
+
612
+ - Ascend: float16, float32.
609
613
 
610
614
  Returns:
611
- Tensor. A stacked Tensor with the same type as `tensors`.
615
+ Tensor, has the same type and shape as the `input`.
612
616
 
613
617
  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.
618
+ TypeError: If `input` is not a Tensor.
619
+ TypeError: If dtype of `input` is not float16 or float32.
617
620
 
618
621
  Supported Platforms:
619
622
  ``Ascend``
@@ -622,55 +625,55 @@ def stack(tensors, dim=0):
622
625
  >>> import mindspore
623
626
  >>> from mindspore import Tensor, ops
624
627
  >>> 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)
628
+ >>> x = Tensor(np.array([[-1.1, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
629
+ >>> output = ops.mish(x)
628
630
  >>> print(output)
629
- [[0. 1.]
630
- [2. 3.]]
631
+ [[-3.0764845e-01 3.9974124e+00 -2.6832507e-03]
632
+ [ 1.9439589e+00 -3.3576239e-02 8.9999990e+00]]
631
633
  """
632
- return stack_impl(tensors, dim)
634
+ return mish_impl(input)
633
635
 
634
636
 
635
- def bmm(input, mat2):
637
+ def log_softmax(input, dim=None, dtype=None):
636
638
  r"""
637
- Performs batch matrix-matrix multiplication of two three-dimensional tensors.
639
+ Applies the Log Softmax function to the input tensor on the specified axis.
640
+ Supposes a slice in the given axis, :math:`x` for each element :math:`x_i`,
641
+ the Log Softmax function is shown as follows:
638
642
 
639
643
  .. math::
640
- \text{output}= \text{input} @ \text{mat2}
644
+ \text{output}(x_i) = \log \left(\frac{\exp(x_i)} {\sum_{j = 0}^{N-1}\exp(x_j)}\right),
645
+
646
+ where :math:`N` is the length of the Tensor.
641
647
 
642
648
  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)`.
649
+ input (Tensor): The input Tensor.
650
+ dim (int, optional): The axis to perform the Log softmax operation. Default: ``None`` .
651
+
652
+ Keyword Args:
653
+ dtype (:class:`mindspore.dtype`, optional): The desired dtype of returned Tensor. If not set to None, the input
654
+ Tensor will be cast to `dtype` before the operation is performed. This is useful for preventing overflows.
655
+ If set to None, stay the same as original Tensor. Default: ``None`` . Supported data type is {float16, float32, double, bfloat16}.
645
656
 
646
657
  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.
658
+ Tensor, with the same shape as the input.
648
659
 
649
660
  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.
661
+ TypeError: If `dim` is not an int.
662
+ ValueError: If `dim` is not in range [-len(input.shape), len(input.shape)).
653
663
 
654
664
  Supported Platforms:
655
- ``Ascend`` ``GPU`` ``CPU``
665
+ ``Ascend``
656
666
 
657
667
  Examples:
658
668
  >>> import mindspore
659
669
  >>> 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)
670
+ >>> from mindspore import Tensor, ops
671
+ >>> logits = Tensor(np.array([1, 2, 3, 4, 5]), mindspore.float32)
672
+ >>> output = ops.auto_generate.log_softmax(logits, dim=-1)
665
673
  >>> 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.]]]
674
+ [-4.4519143 -3.4519143 -2.4519143 -1.4519144 -0.4519144]
672
675
  """
673
- return bmm_impl(input, mat2)
676
+ return log_softmax_impl(input, dim, dtype)
674
677
 
675
678
 
676
679
  def mse_loss(input, target, reduction='mean'):
@@ -717,74 +720,79 @@ def mse_loss(input, target, reduction='mean'):
717
720
  return mse_loss_impl(input, target, converted_reduction)
718
721
 
719
722
 
720
- def argmin(input, dim=None, keepdim=False):
723
+ def frac(input):
721
724
  r"""
722
- Return the indices of the minimum values of a tensor across a dimension.
725
+ Calculates the fractional part of each element in the input.
726
+
727
+ .. math::
728
+ out_i = input_i - \lfloor |input_i| \rfloor * sgn(input_i)
729
+
730
+ .. warning::
731
+ This is an experimental API that is subject to change or deletion.
723
732
 
724
733
  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`` .
734
+ input (Tensor): The input Tensor.
730
735
 
731
736
  Returns:
732
- Tensor, indices of the minimum values of the input tensor across a dimension.
737
+ Tensor, has the same shape and type as input.
733
738
 
734
739
  Raises:
735
- TypeError: If `keepdim` is not bool.
736
- ValueError: If `dim` is out of range.
740
+ TypeError: If `input` is not a Tensor.
737
741
 
738
742
  Supported Platforms:
739
743
  ``Ascend``
740
744
 
741
745
  Examples:
746
+ >>> import mindspore
742
747
  >>> import numpy as np
743
- >>> from mindspore import Tensor
744
- >>> 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)
748
+ >>> from mindspore import Tensor, ops
749
+ >>> x = Tensor([2, 4.2, -2.5], mindspore.float16)
750
+ >>> output = ops.frac_ext(x)
747
751
  >>> print(output)
748
- [0 1 2]
752
+ [ 0. 0.1992 -0.5 ]
749
753
  """
750
- return argmin_impl(input, dim, keepdim)
754
+ return frac_impl(input)
751
755
 
752
756
 
753
- def tril(input, diagonal=0):
757
+ def sort(input, dim=-1, descending=False, stable=False):
754
758
  r"""
755
759
  None
756
760
  """
757
- return tril_impl(input, diagonal)
761
+ return sort_impl(input, dim, descending, stable)
758
762
 
759
763
 
760
- def prod(input, dim=None, keepdim=False, dtype=None):
764
+ def adaptive_avg_pool3d(input, output_size):
761
765
  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`.
766
+ None
767
+ """
768
+ return adaptive_avg_pool3d_impl(input, output_size)
769
+
770
+
771
+ def inplace_adds(input, other, alpha=1):
772
+ r"""
773
+ None
774
+ """
775
+ return inplace_adds_impl(input, other, alpha)
776
+
777
+
778
+ def bmm(input, mat2):
779
+ r"""
780
+ Performs batch matrix-matrix multiplication of two three-dimensional tensors.
781
+
782
+ .. math::
783
+ \text{output}= \text{input} @ \text{mat2}
765
784
 
766
785
  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`` .
786
+ input (Tensor): The first batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, n, m)`.
787
+ mat2 (Tensor): The second batch of matrices to be multiplied. Must be a three-dimensional tensor of shape `(b, m, p)`.
774
788
 
775
789
  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)`.
790
+ Tensor, the output tensor of shape `(b, n, p)`, where each matrix is the product of the corresponding matrices in the input batches.
782
791
 
783
792
  Raises:
784
- 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.
793
+ ValueError: If `input` or `mat2` is not three-dimensional tensors.
794
+ ValueError: If the length of the third dimension of `input` is not equal to the length of the second dimension of `mat2`.
795
+ ValueError: If the batch size of the inputs is not equal to the batch size of the mat2.
788
796
 
789
797
  Supported Platforms:
790
798
  ``Ascend`` ``GPU`` ``CPU``
@@ -792,88 +800,110 @@ def prod(input, dim=None, keepdim=False, dtype=None):
792
800
  Examples:
793
801
  >>> import mindspore
794
802
  >>> import numpy as np
795
- >>> 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
808
- >>> 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)
803
+ >>> from mindspore import Tensor
804
+ >>> from mindspore import ops
805
+ >>> a = Tensor(np.ones(shape=[2, 3, 4]), mindspore.float32)
806
+ >>> b = Tensor(np.ones(shape=[2, 4, 5]), mindspore.float32)
807
+ >>> output = ops.auto_generate.bmm_ext(a, b)
824
808
  >>> 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]]]
809
+ [[[4. 4. 4. 4. 4.]
810
+ [4. 4. 4. 4. 4.]
811
+ [4. 4. 4. 4. 4.]]
812
+ [[4. 4. 4. 4. 4.]
813
+ [4. 4. 4. 4. 4.]
814
+ [4. 4. 4. 4. 4.]]]
834
815
  """
835
- return prod_impl(input, dim, keepdim, dtype)
816
+ return bmm_impl(input, mat2)
836
817
 
837
818
 
838
- def logaddexp(input, other):
819
+ def tril(input, diagonal=0):
839
820
  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.
821
+ None
822
+ """
823
+ return tril_impl(input, diagonal)
824
+
825
+
826
+ def outer(input, vec2):
827
+ r"""
828
+ Return outer product of `input` and `vec2`. If `input` is a vector of size :math:`n`
829
+ and `vec2` is a vector of size :math:`m` , then output must be a matrix of shape :math:`(n, m)` .
843
830
 
844
- .. math::
831
+ .. warning::
832
+ This is an experimental API that is subject to change or deletion.
845
833
 
846
- out_i = \log(exp(input_i) + \exp(other_i))
834
+ .. note::
835
+ This function does not broadcast.
836
+
837
+ Args:
838
+ input (Tensor): 1-D input vector.
839
+ vec2 (Tensor): 1-D input vector.
840
+
841
+ Returns:
842
+ out, 2-D matrix, the outer product of two vectors.
843
+
844
+ Raises:
845
+ TypeError: If `input` or `vec2` is not a Tensor.
846
+ 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
847
+ ValueError: If the dimension of `input` or `vec2` is not equal to 1.
848
+
849
+ Supported Platforms:
850
+ ``Ascend``
851
+
852
+ Examples:
853
+ >>> import mindspore
854
+ >>> import numpy as np
855
+ >>> from mindspore import Tensor
856
+ >>> from mindspore import ops
857
+ >>> input = Tensor(np.array([7, 8, 9]), mindspore.int32)
858
+ >>> vec2 = Tensor(np.array([7, 10, 11]), mindspore.int32)
859
+ >>> out = ops.outer(input, vec2)
860
+ >>> print(out)
861
+ [[49 70 77]
862
+ [56 80 88]
863
+ [63 90 99]]
864
+ """
865
+ return outer_impl(input, vec2)
866
+
867
+
868
+ def argsort(input, dim=-1, descending=False, stable=False):
869
+ r"""
870
+ Sorts the input tensor along the given dimension in specified order and return the sorted indices.
847
871
 
848
872
  .. warning::
849
- This is an experimental API that is subject to change or deletion.
873
+ This is an experimental optimizer API that is subject to change.
850
874
 
851
875
  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.
876
+ input(Tensor): The input tensor to sort.
877
+ dim (int, optional): The dim to sort along. Default: ``-1`` , means the last dimension.
878
+ The Ascend backend only supports sorting the last dimension.
879
+ descending (bool, optional): The sort order. If `descending` is ``True`` then the elements
880
+ are sorted in descending order by value. Otherwise sort in ascending order. Default: ``False`` .
881
+ stable (bool, optional): Whether to use stable sorting algorithm. Default: ``False``.
856
882
 
857
883
  Returns:
858
- Tensor, with the same dtype as `input` and `other`.
884
+ Tensor, the indices of sorted input tensor. Data type is int64.
859
885
 
860
886
  Raises:
861
- TypeError: If `input` or `other` is not a Tensor.
862
- TypeError: The dtype of `input` or `other` is not float.
887
+ ValueError: If `dim` is out of range.
888
+ TypeError: If dtype of `dim` is not int32.
889
+ TypeError: If dtype of `descending` is not bool.
890
+ TypeError: If dtype of `stable` is not bool.
863
891
 
864
892
  Supported Platforms:
865
893
  ``Ascend``
866
894
 
867
895
  Examples:
896
+ >>> import mindspore
868
897
  >>> import numpy as np
869
898
  >>> 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]
899
+ >>> x = Tensor(np.array([[8, 2, 1], [5, 9, 3], [4, 6, 7]]), mindspore.float16)
900
+ >>> sort = ops.auto_generate.argsort_ext(x)
901
+ >>> print(sort)
902
+ [[2 1 0]
903
+ [2 0 1]
904
+ [0 1 2]]
875
905
  """
876
- return logaddexp_impl(input, other)
906
+ return argsort_impl(input, dim, descending, stable)
877
907
 
878
908
 
879
909
  def sub_tensor_(input, other, alpha=1):
@@ -883,71 +913,92 @@ def sub_tensor_(input, other, alpha=1):
883
913
  return sub_tensor_impl(input, other, alpha)
884
914
 
885
915
 
886
- def l1_loss(input, target, reduction='mean'):
916
+ def logsumexp(input, dim, keepdim=False):
887
917
  r"""
888
- Calculate the mean absolute error between the `input` value and the `target` value.
889
-
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:
918
+ 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.
895
919
 
896
920
  .. 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
921
 
901
- If `reduction` is ``'mean'`` or ``'sum'`` , then:
922
+ logsumexp(input) = \log(\sum(e^{input-input_{max}})) + input_{max}
902
923
 
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}
924
+ .. warning::
925
+ This is an experimental API that is subject to change or deletion.
909
926
 
910
927
  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.
928
+ input (Tensor): Input Tensor.
929
+ 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.
930
+ keepdim (bool, optional): Whether the output tensor retains the dimension `dim`, default: `False`.
920
931
 
921
932
  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.
933
+ Tensor, the dtype changes according to the `input.dtype`, and the shape changes according to the values of `dim` and `keepdim`.
934
+
935
+ - If `input.dtype` is in [float16, float32, bfloat16], the output dtype is the same as the `input.dtype`.
936
+ - If `input.dtype` is an integer or boolean type, the output dtype is float32.
937
+ - 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.
938
+ - If `dim` is `1`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[2], ..., input.shape[n])`.
939
+ - If `dim` is `(1, 2)`, and `keepdim` is False, the shape of output is :math:`(input.shape[0], input.shape[3], ..., input.shape[n])`.
924
940
 
925
941
  Raises:
926
942
  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'`` .
943
+ TypeError: If dtype of `input` is not one of: bool, int8, int16, int32, int64, uint8, float16, float32, bfloat16.
944
+ TypeError: If `dim` is not an int or tuple(int) or list(list).
945
+ TypeError: If `keepdim` is not a bool.
946
+ ValueError: If the value of any elements of `dim` is not in the range `[0, len(input.shape) - 1]`.
947
+ RuntimeError: If any element of `dim` is repeated.
929
948
 
930
949
  Supported Platforms:
931
950
  ``Ascend``
932
951
 
933
952
  Examples:
953
+ >>> import numpy as np
934
954
  >>> 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")
939
- >>> print(output)
940
- 3.0
955
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
956
+ >>> output = ops.auto_generate.logsumexp_ext(x, 1, keepdim=True)
957
+ >>> print(output.shape)
958
+ (3, 1, 5, 6)
941
959
  """
942
- return l1_loss_impl(input, target, converted_reduction)
960
+ return logsumexp_impl(input, dim, keepdim)
943
961
 
944
962
 
945
- def fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1):
963
+ def asin(input):
946
964
  r"""
947
- Combines an array of sliding local blocks into a large containing tensor.
965
+ Computes arcsine of input tensors element-wise.
948
966
 
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
967
+ .. math::
968
+
969
+ out_i = \sin^{-1}(input_i)
970
+
971
+ Args:
972
+ input (Tensor): The shape of tensor is
973
+ :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
974
+
975
+ Returns:
976
+ 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`.
977
+
978
+ Raises:
979
+ TypeError: If `input` is not a Tensor.
980
+
981
+ Supported Platforms:
982
+ ``Ascend`` ``GPU`` ``CPU``
983
+
984
+ Examples:
985
+ >>> import mindspore
986
+ >>> import numpy as np
987
+ >>> from mindspore import Tensor, ops
988
+ >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
989
+ >>> output = ops.asin_ext(input)
990
+ >>> print(output)
991
+ [0.8330927 0.04001068 0.30469266 0.59438497 ]
992
+ """
993
+ return asin_impl(input)
994
+
995
+
996
+ def fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1):
997
+ r"""
998
+ Combines an array of sliding local blocks into a large containing tensor.
999
+
1000
+ Consider a batched input tensor of shape :math:`(N, C \times \prod(\text{kernel_size}), L)` ,
1001
+ where :math:`N` is the batch dimension, :math:`C \times \prod(\text{kernel_size})` is the
951
1002
  total number of values within each block (a block has :math:`\prod(\text{kernel_size})` spatial
952
1003
  locations each containing a `C`-channeled vector), and :math:`L` is the total number of such blocks:
953
1004
 
@@ -1008,138 +1059,129 @@ def fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1):
1008
1059
  return fold_impl(input, converted_output_size, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
1009
1060
 
1010
1061
 
1011
- def flatten(input, start_dim=0, end_dim=-1):
1062
+ def histc(input, bins=100, min=0, max=0):
1012
1063
  r"""
1013
- Flatten a tensor along dimensions from `start_dim` to `end_dim`.
1064
+ Computes the histogram of a tensor.
1065
+
1066
+ The elements are sorted into equal width bins between `min` and `max`.
1067
+ If `min` and `max` are both zero, the minimum and maximum values of the data are used.
1068
+
1069
+ Elements lower than min or higher than max are ignored.
1070
+
1071
+ .. warning::
1072
+ This is an experimental API that is subject to change or deletion.
1073
+ If input is int64, valid values fit within int32; exceeding this may cause precision errors.
1014
1074
 
1015
1075
  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`` .
1076
+ input (Tensor): the input tensor.
1077
+ bins (int, optional): Number of histogram bins, optional. If specified, must be positive. Default: ``100`` .
1078
+ min (int, float, optional): the lower end of the range (inclusive), optional. Default: ``0`` .
1079
+ max (int, float, optional): the upper end of the range (inclusive), optional. Default: ``0`` .
1019
1080
 
1020
1081
  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.
1082
+ A 1-D Tensor, has the same type as `input` with the shape :math:`(bins, )`.
1023
1083
 
1024
1084
  Raises:
1025
1085
  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].
1086
+ TypeError: If `input` datatype is not in support list.
1087
+ TypeError: If attr `min` or `max` is not float or int.
1088
+ TypeError: If attr `bins` is not int.
1089
+ ValueError: If attr value `min` > `max`.
1090
+ ValueError: If attr `bins` <= 0.
1029
1091
 
1030
1092
  Supported Platforms:
1031
- ``Ascend`` ``GPU`` ``CPU``
1093
+ ``Ascend``
1032
1094
 
1033
1095
  Examples:
1034
- >>> import mindspore
1035
- >>> import numpy as np
1036
1096
  >>> 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,)
1097
+ >>> x = Tensor([1., 2, 1])
1098
+ >>> y = ops.histc_ext(x, bins=4, min=0, max=3)
1099
+ >>> print(y)
1100
+ [0 2 1 0]
1041
1101
  """
1042
- return flatten_impl(input, start_dim, end_dim)
1102
+ return histc_impl(input, bins, min, max)
1043
1103
 
1044
1104
 
1045
- def index_select(input, dim, index):
1105
+ def elu(input, alpha=1.0):
1046
1106
  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.
1107
+ Exponential Linear Unit activation function.
1051
1108
 
1052
- .. note::
1053
- The value of index must be in the range of `[0, input.shape[dim])`, the result is undefined out of range.
1109
+ Applies the exponential linear unit function element-wise.
1110
+ The activation function is defined as:
1111
+
1112
+ .. math::
1113
+
1114
+ \text{ELU}(x)= \left\{
1115
+ \begin{array}{align}
1116
+ \alpha(e^{x} - 1) & \text{if } x \le 0\\
1117
+ x & \text{if } x \gt 0\\
1118
+ \end{array}\right.
1119
+
1120
+ Where :math:`x` is the element of input Tensor `input`, :math:`\alpha` is param `alpha`,
1121
+ it determines the smoothness of ELU.
1122
+
1123
+ ELU function graph:
1124
+
1125
+ .. image:: ../images/ELU.png
1126
+ :align: center
1054
1127
 
1055
1128
  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.
1129
+ input (Tensor): The input of ELU is a Tensor of any dimension.
1130
+ alpha (float, optional): The alpha value of ELU, the data type is float.
1131
+ Default: ``1.0`` .
1059
1132
 
1060
1133
  Returns:
1061
- Tensor, has the same dtype as input Tensor.
1134
+ Tensor, has the same shape and data type as `input`.
1062
1135
 
1063
1136
  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.
1137
+ TypeError: If `alpha` is not a float.
1068
1138
 
1069
1139
  Supported Platforms:
1070
1140
  ``Ascend``
1071
1141
 
1072
1142
  Examples:
1073
1143
  >>> import mindspore
1074
- >>> from mindspore import Tensor, ops
1075
1144
  >>> 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.]]]
1087
- """
1088
- return index_select_impl(input, dim, index)
1089
-
1090
-
1091
- def inplace_adds(input, other, alpha=1):
1092
- r"""
1093
- None
1145
+ >>> from mindspore import Tensor, ops
1146
+ >>> x = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
1147
+ >>> output = ops.auto_generate.elu_ext(x)
1148
+ >>> print(output)
1149
+ [[-0.63212055 4. -0.99966455]
1150
+ [ 2. -0.99326205 9. ]]
1094
1151
  """
1095
- return inplace_adds_impl(input, other, alpha)
1152
+ return elu_impl(input, alpha)
1096
1153
 
1097
1154
 
1098
- def leaky_relu(input, negative_slope=0.01):
1155
+ def asinh(input):
1099
1156
  r"""
1100
- leaky_relu activation function. The element of `input` less than 0 times `negative_slope` .
1101
-
1102
- The activation function is defined as:
1157
+ Computes inverse hyperbolic sine of the input element-wise.
1103
1158
 
1104
1159
  .. math::
1105
- \text{leaky_relu}(input) = \begin{cases}input, &\text{if } input \geq 0; \cr
1106
- \text{negative_slope} * input, &\text{otherwise.}\end{cases}
1107
-
1108
- where :math:`negative\_slope` represents the `negative_slope` parameter.
1109
-
1110
- For more details, see `Rectifier Nonlinearities Improve Neural Network Acoustic Models
1111
- <https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf>`_.
1112
1160
 
1113
- LeakyReLU Activation Function Graph:
1114
-
1115
- .. image:: ../images/LeakyReLU.png
1116
- :align: center
1161
+ out_i = \sinh^{-1}(input_i)
1117
1162
 
1118
1163
  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`` .
1164
+ input (Tensor): The input tensor of inverse hyperbolic sine function.
1122
1165
 
1123
1166
  Returns:
1124
- Tensor, has the same type and shape as the `input`.
1167
+ 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
1168
 
1126
1169
  Raises:
1127
1170
  TypeError: If `input` is not a Tensor.
1128
- TypeError: If `negative_slope` is not a float or an int.
1129
1171
 
1130
1172
  Supported Platforms:
1131
- ``Ascend``
1173
+ ``Ascend`` ``GPU`` ``CPU``
1132
1174
 
1133
1175
  Examples:
1134
1176
  >>> import mindspore
1135
1177
  >>> import numpy as np
1136
1178
  >>> 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. ]]
1179
+ >>> input = Tensor(np.array([-5.0, 1.5, 3.0, 100.0]), mindspore.float32)
1180
+ >>> output = ops.asinh_ext(input)
1181
+ >>> print(output)
1182
+ [-2.3124385 1.1947632 1.8184465 5.298342 ]
1141
1183
  """
1142
- return leaky_relu_impl(input, negative_slope)
1184
+ return asinh_impl(input)
1143
1185
 
1144
1186
 
1145
1187
  def cumsum(input, dim, dtype=None):
@@ -1190,144 +1232,82 @@ def cumsum(input, dim, dtype=None):
1190
1232
  return cumsum_impl(input, dim, dtype)
1191
1233
 
1192
1234
 
1193
- def mm(input, mat2):
1235
+ def prod(input, dim=None, keepdim=False, dtype=None):
1194
1236
  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.
1198
-
1199
- Note:
1200
- This function cannot support broadcasting.
1201
- Refer to :func:`mindspore.ops.matmul` instead if you need a broadcastable function.
1202
-
1203
- .. warning::
1204
- This is an experimental API that is subject to change or deletion.
1237
+ Reduces a dimension of a tensor by multiplying all elements in the dimension, by default. And also can
1238
+ reduce a dimension of `input` along the `dim`. Determine whether the dimensions of the output and input are the
1239
+ same by controlling `keepdim`.
1205
1240
 
1206
1241
  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`.
1242
+ input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
1243
+ :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
1244
+ dim (int): The dimensions to reduce. Default: ``None`` , reduce all dimensions.
1245
+ Only constant value is allowed. Assume the rank of `input` is r, and the value range is [-r,r).
1246
+ keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
1247
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
1248
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
1211
1249
 
1212
1250
  Returns:
1213
- Tensor, the matrix product of the inputs.
1251
+ Tensor, has the same data type as input tensor.
1252
+
1253
+ - If `dim` is ``None`` , and `keepdim` is ``False`` ,
1254
+ the output is a 0-D tensor representing the product of all elements in the input tensor.
1255
+ - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
1256
+ the shape of output is :math:`(input_0, input_2, ..., input_R)`.
1214
1257
 
1215
1258
  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.
1259
+ TypeError: If `input` is not a Tensor.
1260
+ TypeError: If `dim` is not one of the following: int or None.
1261
+ TypeError: If `keepdim` is not a bool.
1262
+ ValueError: If `dim` is out of range.
1220
1263
 
1221
1264
  Supported Platforms:
1222
- ``Ascend``
1265
+ ``Ascend`` ``GPU`` ``CPU``
1223
1266
 
1224
1267
  Examples:
1225
- >>> import mindspore as ms
1226
- >>> from mindspore import ops
1268
+ >>> import mindspore
1227
1269
  >>> 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)
1233
- """
1234
- return mm_impl(input, mat2)
1235
-
1236
-
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):
1238
- r"""
1239
- None
1240
- """
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)
1242
-
1243
-
1244
- def histc(input, bins=100, min=0, max=0):
1245
- r"""
1246
- Computes the histogram of a tensor.
1247
-
1248
- The elements are sorted into equal width bins between `min` and `max`.
1249
- If `min` and `max` are both zero, the minimum and maximum values of the data are used.
1250
-
1251
- Elements lower than min or higher than max are ignored.
1252
-
1253
- .. warning::
1254
- This is an experimental API that is subject to change or deletion.
1255
- If input is int64, valid values fit within int32; exceeding this may cause precision errors.
1256
-
1257
- Args:
1258
- input (Tensor): the input tensor.
1259
- bins (int, optional): Number of histogram bins, optional. If specified, must be positive. Default: ``100`` .
1260
- min (int, float, optional): the lower end of the range (inclusive), optional. Default: ``0`` .
1261
- max (int, float, optional): the upper end of the range (inclusive), optional. Default: ``0`` .
1262
-
1263
- Returns:
1264
- A 1-D Tensor, has the same type as `input` with the shape :math:`(bins, )`.
1265
-
1266
- Raises:
1267
- TypeError: If `input` is not a Tensor.
1268
- TypeError: If `input` datatype is not in support list.
1269
- TypeError: If attr `min` or `max` is not float or int.
1270
- TypeError: If attr `bins` is not int.
1271
- ValueError: If attr value `min` > `max`.
1272
- ValueError: If attr `bins` <= 0.
1273
-
1274
- Supported Platforms:
1275
- ``Ascend``
1276
-
1277
- Examples:
1278
1270
  >>> from mindspore import Tensor, ops
1279
- >>> x = Tensor([1., 2, 1])
1280
- >>> y = ops.histc_ext(x, bins=4, min=0, max=3)
1281
- >>> print(y)
1282
- [0 2 1 0]
1283
- """
1284
- return histc_impl(input, bins, min, max)
1285
-
1286
-
1287
- def bincount(input, weights=None, minlength=0):
1288
- 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. ]
1271
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
1272
+ >>> output = ops.prod_ext(x, 1, keepdim=True)
1273
+ >>> result = output.shape
1274
+ >>> print(result)
1275
+ (3, 1, 5, 6)
1276
+ >>> # case 1: Reduces a dimension by multiplying all elements in the dimension.
1277
+ >>> x = Tensor(np.array([[[1, 1, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2], [3, 3, 3, 3, 3, 3]],
1278
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
1279
+ ... [[7, 7, 7, 7, 7, 7], [8, 8, 8, 8, 8, 8], [9, 9, 9, 9, 9, 9]]]), mindspore.float32)
1280
+ >>> output = ops.prod_ext(x)
1281
+ >>> print(output)
1282
+ 2.2833798e+33
1283
+ >>> print(output.shape)
1284
+ ()
1285
+ >>> # case 2: Reduces a dimension along dim 0.
1286
+ >>> output = ops.prod_ext(x, 0, True)
1287
+ >>> print(output)
1288
+ [[[ 28. 28. 28. 28. 28. 28.]
1289
+ [ 80. 80. 80. 80. 80. 80.]
1290
+ [162. 162. 162. 162. 162. 162.]]]
1291
+ >>> # case 3: Reduces a dimension along dim 1.
1292
+ >>> output = ops.prod_ext(x, 1, True)
1293
+ >>> print(output)
1294
+ [[[ 6. 6. 6. 6. 6. 6.]]
1295
+ [[120. 120. 120. 120. 120. 120.]]
1296
+ [[504. 504. 504. 504. 504. 504.]]]
1297
+ >>> # case 4: Reduces a dimension along dim 2.
1298
+ >>> output = ops.prod_ext(x, 2, True)
1299
+ >>> print(output)
1300
+ [[[1.00000e+00]
1301
+ [6.40000e+01]
1302
+ [7.29000e+02]]
1303
+ [[4.09600e+03]
1304
+ [1.56250e+04]
1305
+ [4.66560e+04]]
1306
+ [[1.17649e+05]
1307
+ [2.62144e+05]
1308
+ [5.31441e+05]]]
1329
1309
  """
1330
- return bincount_impl(input, weights, minlength)
1310
+ return prod_impl(input, dim, keepdim, dtype)
1331
1311
 
1332
1312
 
1333
1313
  def cummin(input, dim):
@@ -1341,7 +1321,7 @@ def cummin(input, dim):
1341
1321
  \end{array}
1342
1322
 
1343
1323
  .. note::
1344
- O2 mode is not supported in Ascend.
1324
+ GE backend is not supported in Ascend.
1345
1325
 
1346
1326
  Args:
1347
1327
  input (Tensor): The input Tensor, The dimension must be greater than 0.
@@ -1373,93 +1353,59 @@ def cummin(input, dim):
1373
1353
  return cummin_impl(input, dim)
1374
1354
 
1375
1355
 
1376
- def sum(input, dim=None, keepdim=False, dtype=None):
1356
+ def stack(tensors, dim=0):
1377
1357
  r"""
1378
- Calculate sum of Tensor elements over a given dim.
1358
+ Stacks a list of tensors in specified dim.
1379
1359
 
1380
- Note:
1381
- The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
1360
+ Stacks the list of input tensors with the same rank `R`, output is a tensor of rank `(R+1)`.
1361
+
1362
+ Given input tensors of shape :math:`(x_1, x_2, ..., x_R)`. Set the number of input tensors as `N`.
1363
+ If :math:`dim \ge 0`, the shape of the output tensor is
1364
+ :math:`(x_1, x_2, ..., x_{dim}, N, x_{dim+1}, ..., x_R)`.
1382
1365
 
1383
1366
  Args:
1384
- 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`` .
1367
+ tensors (Union[tuple, list]): A Tuple or list of Tensor objects with the same shape and type.
1368
+ dim (int, optional): Dimension to stack. The range is [-(R+1), R+1). Default: ``0`` .
1393
1369
 
1394
1370
  Returns:
1395
- A Tensor, sum of elements over a given `dim` in `input`.
1371
+ Tensor. A stacked Tensor with the same type as `tensors`.
1396
1372
 
1397
1373
  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.
1374
+ TypeError: If the data types of elements in `tensors` are not the same.
1375
+ ValueError: If `dim` is out of the range [-(R+1), R+1);
1376
+ or if the shapes of elements in `tensors` are not the same.
1402
1377
 
1403
1378
  Supported Platforms:
1404
- ``Ascend`` ``GPU`` ``CPU``
1379
+ ``Ascend``
1405
1380
 
1406
1381
  Examples:
1407
1382
  >>> import mindspore
1408
- >>> import numpy as np
1409
1383
  >>> 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.]]]
1384
+ >>> import numpy as np
1385
+ >>> data1 = Tensor(np.array([0, 1]).astype(np.float32))
1386
+ >>> data2 = Tensor(np.array([2, 3]).astype(np.float32))
1387
+ >>> output = ops.auto_generate.stack_ext([data1, data2], 0)
1388
+ >>> print(output)
1389
+ [[0. 1.]
1390
+ [2. 3.]]
1433
1391
  """
1434
- return sum_impl(input, dim, keepdim, dtype)
1392
+ return stack_impl(tensors, dim)
1435
1393
 
1436
1394
 
1437
- def atan2(input, other):
1395
+ def trace(input):
1438
1396
  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.
1397
+ Returns a new tensor that is the sum of the `input` main trace.
1448
1398
 
1449
1399
  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`.
1400
+ input (Tensor): 2-D Tensor.
1453
1401
 
1454
1402
  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`.
1403
+ 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.
1458
1404
 
1459
1405
  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.
1406
+ TypeError: If `input` is not a Tensor.
1407
+ ValueError: If the dimension of `input` is not equal to 2.
1408
+ TypeError: If the dtype of `input` is not one of float16, float32, float64, bool, uint8, int8, int16, int32, int64, complex64, complex128, bfloat16.
1463
1409
 
1464
1410
  Supported Platforms:
1465
1411
  ``Ascend``
@@ -1468,206 +1414,157 @@ def atan2(input, other):
1468
1414
  >>> import mindspore
1469
1415
  >>> import numpy as np
1470
1416
  >>> 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)
1417
+ >>> input = Tensor(np.array([[10, 11, 12], [13, 14, 15], [16, 17, 18]]), mindspore.float32)
1418
+ >>> output = ops.trace_ext(input)
1474
1419
  >>> print(output)
1475
- [0. 0.7853982]
1420
+ 42.0
1421
+ >>> input = Tensor(np.arange(1, 13).reshape(3, 4), mindspore.float32)
1422
+ >>> output = ops.trace_ext(input)
1423
+ >>> print(output)
1424
+ 18.0
1425
+ >>> input = Tensor(np.arange(12, 0, -1).reshape(4, 3), mindspore.float32)
1426
+ >>> output = ops.trace_ext(input)
1427
+ >>> print(output)
1428
+ 24.0
1476
1429
  """
1477
- return atan2_impl(input, other)
1430
+ return trace_impl(input)
1478
1431
 
1479
1432
 
1480
- def mean(input, dim=None, keepdim=False, dtype=None):
1433
+ def bincount(input, weights=None, minlength=0):
1481
1434
  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.
1435
+ Count the occurrences of each value in the input.
1485
1436
 
1486
- Note:
1487
- The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
1437
+ If `minlength` is not specified, the length of the output Tensor is the maximum value in the input plus one.
1438
+ If `minlength` is specified, the length of the output Tensor is the maximum value between `minlength` or
1439
+ the maximum value in the input plus one.
1440
+
1441
+ Each value in the output Tensor represents the number of occurrences of that index value in the input.
1442
+ If `weights` is specified, the output results are weighted,
1443
+ i.e., :math:`out[n] += weight[i]` instead of :math:`out[n] += 1`.
1444
+
1445
+ .. warning::
1446
+ This is an experimental API that is subject to change or deletion.
1488
1447
 
1489
1448
  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`` .
1449
+ input (Tensor): A one-dimensional Tensor.
1450
+ weights (Tensor, optional): Weights with the same shape as the input. Default: ``None``.
1451
+ minlength (int, optional): The minimum length of output Tensor. Should be non-negative. Default: ``0``.
1498
1452
 
1499
1453
  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)`.
1454
+ Tensor, If input is non-empty, the output shape is :math:`(max(max(input)+1, minlength), )`,
1455
+ otherwise the shape is :math:`(0, )`.
1510
1456
 
1511
1457
  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.
1458
+ TypeError: If `input` or `weights` is not a Tensor.
1459
+ ValueError: If `input` contains negative values.
1460
+ ValueError: If `input` is not one-dimensional or `input` and `weights` do not have the same shape.
1516
1461
 
1517
1462
  Supported Platforms:
1518
- ``Ascend`` ``GPU`` ``CPU``
1463
+ ``Ascend``
1519
1464
 
1520
1465
  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.]]]
1466
+ >>> from mindspore import ops, Tensor
1467
+ >>> print(ops.auto_generate.bincount_ext(Tensor(np.arange(5))))
1468
+ [1 1 1 1 1]
1469
+ >>> print(ops.auto_generate.bincount_ext(Tensor(np.array([0, 1, 1, 3, 2, 1, 7]))))
1470
+ [1 3 1 1 0 0 0 1]
1471
+ >>> w = Tensor(np.array([0.3, 0.5, 0.2, 0.7, 1., -0.6])) # weights
1472
+ >>> x = Tensor(np.array([0, 1, 1, 2, 2, 2]))
1473
+ >>> print(ops.auto_generate.bincount_ext(x, weights=w, minlength=5))
1474
+ [0.3 0.7 1.1 0. 0. ]
1563
1475
  """
1564
- return mean_impl(input, dim, keepdim, dtype)
1476
+ return bincount_impl(input, weights, minlength)
1565
1477
 
1566
1478
 
1567
- def topk(input, k, dim=-1, largest=True, sorted=True):
1479
+ def mm(input, mat2):
1568
1480
  r"""
1569
- Finds values and indices of the `k` largest or smallest entries along a given dimension.
1570
-
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.
1574
-
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`].
1578
-
1579
- For a multi-dimensional matrix,
1580
- calculates the first or last `k` entries in a given dimension, therefore:
1581
-
1582
- .. math::
1481
+ Returns the matrix product of two arrays.
1482
+ If `input` is a :math:`(n \times m)` Tensor, `mat2` is a
1483
+ :math:`(m \times p)` Tensor, `out` will be a :math:`(n \times p)` Tensor.
1583
1484
 
1584
- values.shape = indices.shape
1485
+ Note:
1486
+ This function cannot support broadcasting.
1487
+ Refer to :func:`mindspore.ops.matmul` instead if you need a broadcastable function.
1585
1488
 
1586
- If the two compared elements are the same, the one with the smaller index value is returned first.
1489
+ .. warning::
1490
+ This is an experimental API that is subject to change or deletion.
1587
1491
 
1588
1492
  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`` .
1597
-
1598
- Returns:
1599
- A tuple consisting of `values` and `indices`.
1600
-
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.
1603
-
1604
- 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.
1608
-
1609
- Supported Platforms:
1610
- ``Ascend``
1611
-
1612
- 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]]))
1493
+ input (Tensor): The first matrix of matrix multiplication.
1494
+ The last dimension of `input` must be the same size as the first dimension of `mat2`.
1495
+ mat2 (Tensor): The second matrix of matrix multiplication.
1496
+ The last dimension of `input` must be the same size as the first dimension of `mat2`.
1497
+
1498
+ Returns:
1499
+ Tensor, the matrix product of the inputs.
1500
+
1501
+ Raises:
1502
+ ValueError: If the last dimension of `input` is not the same size as the
1503
+ second-to-last dimension of `mat2`.
1504
+ TypeError: If `input` or `mat2` is not a Tensor.
1505
+ TypeError: If dtype of `input` or `mat2` is not float16, float32 or bfloat16.
1506
+
1507
+ Supported Platforms:
1508
+ ``Ascend``
1509
+
1510
+ Examples:
1511
+ >>> import mindspore as ms
1512
+ >>> from mindspore import ops
1513
+ >>> import numpy as np
1514
+ >>> x1 = ms.Tensor(np.random.rand(2, 3), ms.float32)
1515
+ >>> x2 = ms.Tensor(np.random.rand(3, 4), ms.float32)
1516
+ >>> out = ops.mm_ext(x1, x2)
1517
+ >>> print(out.shape)
1518
+ (2, 4)
1636
1519
  """
1637
- return topk_impl(input, k, dim, largest, sorted)
1520
+ return mm_impl(input, mat2)
1638
1521
 
1639
1522
 
1640
- def atan(input):
1523
+ def leaky_relu(input, negative_slope=0.01):
1641
1524
  r"""
1642
- Computes the trigonometric inverse tangent of the input element-wise.
1525
+ leaky_relu activation function. The element of `input` less than 0 times `negative_slope` .
1526
+
1527
+ The activation function is defined as:
1643
1528
 
1644
1529
  .. math::
1530
+ \text{leaky_relu}(input) = \begin{cases}input, &\text{if } input \geq 0; \cr
1531
+ \text{negative_slope} * input, &\text{otherwise.}\end{cases}
1645
1532
 
1646
- out_i = \tan^{-1}(input_i)
1533
+ where :math:`negative\_slope` represents the `negative_slope` parameter.
1534
+
1535
+ For more details, see `Rectifier Nonlinearities Improve Neural Network Acoustic Models
1536
+ <https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf>`_.
1537
+
1538
+ LeakyReLU Activation Function Graph:
1539
+
1540
+ .. image:: ../images/LeakyReLU.png
1541
+ :align: center
1647
1542
 
1648
1543
  Args:
1649
- input (Tensor): The shape of tensor is
1650
- :math:`(N,*)` where :math:`*` means, any number of additional dimensions.
1544
+ input (Tensor): The input of leaky_relu is a Tensor of any dimension.
1545
+ negative_slope (Union[int, float], optional): Slope of the activation function when the element of `input` is less than 0.
1546
+ Default: ``0.01`` .
1651
1547
 
1652
1548
  Returns:
1653
- 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`.
1549
+ Tensor, has the same type and shape as the `input`.
1654
1550
 
1655
1551
  Raises:
1656
1552
  TypeError: If `input` is not a Tensor.
1553
+ TypeError: If `negative_slope` is not a float or an int.
1657
1554
 
1658
1555
  Supported Platforms:
1659
- ``Ascend`` ``GPU`` ``CPU``
1556
+ ``Ascend``
1660
1557
 
1661
1558
  Examples:
1662
1559
  >>> import mindspore
1663
1560
  >>> import numpy as np
1664
1561
  >>> from mindspore import Tensor, ops
1665
- >>> input = Tensor(np.array([1.0, 0.0]), mindspore.float32)
1666
- >>> output = ops.atan_ext(input)
1667
- >>> print(output)
1668
- [0.7853982 0. ]
1562
+ >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
1563
+ >>> print(ops.extend.leaky_relu_ext(input, negative_slope=0.2))
1564
+ [[-0.2 4. -1.6]
1565
+ [ 2. -1. 9. ]]
1669
1566
  """
1670
- return atan_impl(input)
1567
+ return leaky_relu_impl(input, negative_slope)
1671
1568
 
1672
1569
 
1673
1570
  def matrix_inverse(input):
@@ -1700,23 +1597,40 @@ def matrix_inverse(input):
1700
1597
  return matrix_inverse_impl(input)
1701
1598
 
1702
1599
 
1703
- def asin(input):
1600
+ def avg_pool1d(input, kernel_size, stride=None, padding=0, ceil_mode=False, count_include_pad=True):
1704
1601
  r"""
1705
- Computes arcsine of input tensors element-wise.
1602
+ Applies a 1D average pooling over an input Tensor which can be regarded as a composition of 1D input planes.
1603
+
1604
+ Typically the input is of shape :math:`(N_{in}, C_{in}, L_{in})`, avg_pool1d outputs regional average in the
1605
+ :math:`(L_{in})`-dimension. Given kernel size as :math:`ks = l_{ker}` and `stride` as :math:`s = s_0`, the
1606
+ operation is as follows.
1706
1607
 
1707
1608
  .. math::
1609
+ \text{output}(N_i, C_j, l) = \frac{1}{l_{ker}} \sum_{n=0}^{l_{ker}-1}
1610
+ \text{input}(N_i, C_j, s_0 \times l + n)
1708
1611
 
1709
- out_i = \sin^{-1}(input_i)
1612
+ .. warning::
1613
+ This is an experimental API that is subject to change or deletion.
1710
1614
 
1711
1615
  Args:
1712
- input (Tensor): The shape of tensor is
1713
- :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
1616
+ input (Tensor): Tensor of shape :math:`(N, C_{in}, L_{in})`.
1617
+ kernel_size (Union(int, tuple[int])): The size of kernel window used to take the average value.
1618
+ stride (Union(int, tuple[int]), optional): The distance of kernel moving. `stride` can either be an int
1619
+ number or a tuple of one int number. Default: ``None``, the same value as `kernel_size`.
1620
+ padding (Union(int, tuple[int]), optional): The pad length to be filled. `padding` can either be an integer
1621
+ or a tuple of one integer. Default: ``0`` .
1622
+ ceil_mode (bool, optional): If True, apply ceil instead of floor to compute the output shape. Default: ``False``.
1623
+ count_include_pad (bool, optional): If True, include the zero-padding in the averaging calculation. Default: ``True`` .
1714
1624
 
1715
1625
  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`.
1626
+ Tensor of shape :math:`(N, C_{in}, L_{out})`.
1717
1627
 
1718
1628
  Raises:
1719
1629
  TypeError: If `input` is not a Tensor.
1630
+ TypeError: If `kernel_size` or `stride` is not an int.
1631
+ TypeError: If `ceil_mode` or `count_include_pad` is not a bool.
1632
+ ValueError: If `kernel_size` or `stride` is less than `1`.
1633
+ ValueError: If `kernel_size` or `stride` or `padding` is not int nor a tuple whose length is greater than `1`.
1720
1634
 
1721
1635
  Supported Platforms:
1722
1636
  ``Ascend`` ``GPU`` ``CPU``
@@ -1725,554 +1639,606 @@ def asin(input):
1725
1639
  >>> import mindspore
1726
1640
  >>> import numpy as np
1727
1641
  >>> 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)
1730
- >>> print(output)
1731
- [0.8330927 0.04001068 0.30469266 0.59438497 ]
1642
+ >>> input_x = Tensor(np.random.randint(0, 10, [1, 3, 6]), mindspore.float32)
1643
+ >>> output = ops.auto_generate.avg_pool1d_ext(input_x, kernel_size=6, stride=1)
1644
+ >>> print(output.shape)
1645
+ (1, 3, 1)
1732
1646
  """
1733
- return asin_impl(input)
1647
+ return avg_pool1d_impl(input, kernel_size, stride, padding, ceil_mode, count_include_pad)
1734
1648
 
1735
1649
 
1736
- def index_add(input, dim, index, source, alpha=1):
1650
+ def max_unpool2d(input, indices, kernel_size, stride=None, padding=0, output_size=None):
1737
1651
  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:
1652
+ Computes the inverse of `max_pool2d`.
1653
+
1654
+ `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.
1739
1655
 
1740
1656
  .. 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 \\
1657
+ \begin{array}{ll} \\
1658
+ H_{out} = (H_{in} - 1) \times stride[0] - 2 \times padding[0] + kernel\_size[0] \\
1659
+ W_{out} = (W_{in} - 1) \times stride[1] - 2 \times padding[1] + kernel\_size[1] \\
1745
1660
  \end{array}
1746
-
1661
+
1747
1662
  .. warning::
1748
1663
  This is an experimental API that is subject to change or deletion.
1749
-
1664
+
1750
1665
  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
-
1666
+ input (Tensor): The input Tensor to invert. Tensor of shape :math:`(N, C, H_{in}, W_{in})` or :math:`(C, H_{in}, W_{in})`.
1667
+ 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.
1668
+ 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.
1669
+ 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` .
1670
+ 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.
1671
+ 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])]`.
1672
+
1757
1673
  Returns:
1758
- Tensor, has the same shape and dtype as `input`.
1674
+ Tensor, with shape :math:`(N, C, H_{out}, W_{out})` or :math:`(C, H_{out}, W_{out})`, with the same data type with `input`.
1759
1675
 
1760
1676
  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.
1677
+ TypeError: If data type of `input` or `indices` is not supported.
1678
+ TypeError: If `kernel_size`, `stride` or `padding` is neither an int nor a tuple.
1679
+ ValueError: If numbers in `stride`, `padding` or `kernel_size` are not positive.
1680
+ ValueError: If the shapes of `input` and `indices` are different.
1681
+ ValueError: If the length of `input` is not 3 or 4.
1682
+ ValueError: If the type of `output_size` is not tuple.
1683
+ ValueError: If `output_size` is not close to output size computed by attr `kernel_size`, `stride`, `padding`.
1766
1684
 
1767
1685
  Supported Platforms:
1768
1686
  ``Ascend``
1769
1687
 
1770
1688
  Examples:
1771
1689
  >>> import numpy as np
1772
- >>> import mindspore
1773
1690
  >>> 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)
1778
- >>> print(output)
1779
- [[ 1.5 2. 4. ]
1780
- [ 5. 5. 7.5]
1781
- [ 9. 8. 11.5]]
1691
+ >>> input = Tensor(np.array([[[[0, 1], [8, 9]]]]).astype(np.float32))
1692
+ >>> indices = Tensor(np.array([[[[0, 1], [2, 3]]]]).astype(np.int64))
1693
+ >>> output = ops.max_unpool2d_ext(input, indices, 1, stride=1, padding=0)
1694
+ >>> print(output.asnumpy())
1695
+ [[[[0. 1.]
1696
+ [8. 9.]]]]
1782
1697
  """
1783
- return index_add_impl(input, dim, index, source, alpha)
1698
+ return max_unpool2d_impl(input, indices, kernel_size, stride, padding, output_size)
1784
1699
 
1785
1700
 
1786
- def adaptive_avg_pool2d_grad(grad_output, x):
1701
+ def inplace_add(input, other, alpha=1):
1787
1702
  r"""
1788
1703
  None
1789
1704
  """
1790
- return adaptive_avg_pool2d_grad_impl(grad_output, x)
1705
+ return inplace_add_impl(input, other, alpha)
1791
1706
 
1792
1707
 
1793
- def acosh(input):
1708
+ def argmax(input, dim=None, keepdim=False):
1794
1709
  r"""
1795
- Computes inverse hyperbolic cosine of the inputs element-wise.
1710
+ argmax(input) -> Tensor
1796
1711
 
1797
- .. math::
1712
+ Return the indices of the maximum values of a tensor.
1798
1713
 
1799
- out_i = \cosh^{-1}(input_i)
1714
+ Args:
1715
+ input (Tensor): Input tensor.
1800
1716
 
1801
- .. note::
1802
- Given an input tensor input, the function computes inverse hyperbolic cosine of every element.
1803
- Input range is [1, inf].
1717
+ Returns:
1718
+ Tensor.
1719
+
1720
+ Supported Platforms:
1721
+ ``Ascend``
1722
+
1723
+ Examples:
1724
+ >>> import numpy as np
1725
+ >>> from mindspore import Tensor
1726
+ >>> from mindspore import ops
1727
+ >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
1728
+ >>> output = ops.auto_generate.argmax_ext(x)
1729
+ >>> print(output)
1730
+ 6
1731
+
1732
+ .. function:: argmax(input, dim, keepdim=False) -> Tensor
1733
+ :noindex:
1734
+
1735
+ Return the indices of the maximum values of a tensor across a dimension.
1804
1736
 
1805
1737
  Args:
1806
- input (Tensor): The input tensor of inverse hyperbolic cosine function.
1738
+ input (Tensor): Input tensor.
1739
+ dim (int): The dimension to reduce.
1740
+ keepdim (bool, optional): Whether the output tensor retains the specified
1741
+ dimension. Default: ``False`` .
1807
1742
 
1808
1743
  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`.
1744
+ Tensor, indices of the maximum values across a dimension.
1810
1745
 
1811
1746
  Raises:
1812
- TypeError: If `input` is not a Tensor.
1747
+ TypeError: If `keepdim` is not bool.
1748
+ ValueError: If `dim` is out of range.
1813
1749
 
1814
1750
  Supported Platforms:
1815
- ``Ascend`` ``GPU`` ``CPU``
1751
+ ``Ascend``
1816
1752
 
1817
1753
  Examples:
1818
- >>> import mindspore
1819
1754
  >>> 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)
1755
+ >>> from mindspore import Tensor
1756
+ >>> from mindspore import ops
1757
+ >>> x = Tensor(np.array([[1, 20, 5], [67, 8, 9], [130, 24, 15]]).astype(np.float32))
1758
+ >>> output = ops.auto_generate.argmax_ext(x, dim=-1)
1823
1759
  >>> 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
+ [1 0 0]
1832
1761
  """
1833
- return inplace_add_impl(input, other, alpha)
1762
+ return argmax_impl(input, dim, keepdim)
1834
1763
 
1835
1764
 
1836
- def diag(input, diagonal=0):
1765
+ def logaddexp(input, other):
1837
1766
  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.
1767
+ Computes the logarithm of the sum of exponentiations of the inputs.
1768
+ This function is useful in statistics where the calculated probabilities of events may be
1769
+ so small as to exceed the range of normal floating point numbers.
1845
1770
 
1846
- - If `diagonal` > 0, it is above the main diagonal.
1771
+ .. math::
1847
1772
 
1848
- - If `diagonal` < 0, it is below the main diagonal.
1773
+ out_i = \log(exp(input_i) + \exp(other_i))
1849
1774
 
1850
1775
  .. warning::
1851
1776
  This is an experimental API that is subject to change or deletion.
1852
1777
 
1853
1778
  Args:
1854
- input (Tensor): The input tensor.
1855
- diagonal (int, optional): the diagonal to consider. Defaults: ``0``.
1779
+ input (Tensor): Input Tensor. The dtype of `input` must be float.
1780
+ other (Tensor): Input Tensor. The dtype of `other` must be float.
1781
+ If the shape of `input` is not equal to the shape of `other`,
1782
+ they must be broadcastable to a common shape.
1856
1783
 
1857
1784
  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.
1785
+ Tensor, with the same dtype as `input` and `other`.
1863
1786
 
1864
1787
  Raises:
1865
- TypeError: If `input` is not a Tensor.
1866
- ValueError: If shape of `input` is not 1-D and 2-D.
1788
+ TypeError: If `input` or `other` is not a Tensor.
1789
+ TypeError: The dtype of `input` or `other` is not float.
1867
1790
 
1868
1791
  Supported Platforms:
1869
1792
  ``Ascend``
1870
1793
 
1871
1794
  Examples:
1795
+ >>> import numpy as np
1872
1796
  >>> from mindspore import Tensor, ops
1873
- >>> input = Tensor([1, 2, 3, 4]).astype('int32')
1874
- >>> output = ops.auto_generate.diag_ext(input)
1797
+ >>> x1 = Tensor(np.array([1, 2, 3]).astype(np.float16))
1798
+ >>> x2 = Tensor(np.array(2).astype(np.float16))
1799
+ >>> output = ops.logaddexp_ext(x1, x2)
1875
1800
  >>> print(output)
1876
- [[1 0 0 0]
1877
- [0 2 0 0]
1878
- [0 0 3 0]
1879
- [0 0 0 4]]
1801
+ [2.312 2.693 3.312]
1802
+ """
1803
+ return logaddexp_impl(input, other)
1804
+
1805
+
1806
+ def matmul(input, other):
1807
+ r"""
1808
+ None
1880
1809
  """
1881
- return diag_impl(input, diagonal)
1810
+ return matmul_impl(input, other)
1882
1811
 
1883
1812
 
1884
- def frac(input):
1813
+ def atan(input):
1885
1814
  r"""
1886
- Calculates the fractional part of each element in the input.
1815
+ Computes the trigonometric inverse tangent of the input element-wise.
1887
1816
 
1888
1817
  .. math::
1889
- out_i = input_i - \lfloor |input_i| \rfloor * sgn(input_i)
1890
1818
 
1891
- .. warning::
1892
- This is an experimental API that is subject to change or deletion.
1819
+ out_i = \tan^{-1}(input_i)
1893
1820
 
1894
1821
  Args:
1895
- input (Tensor): The input Tensor.
1822
+ input (Tensor): The shape of tensor is
1823
+ :math:`(N,*)` where :math:`*` means, any number of additional dimensions.
1896
1824
 
1897
1825
  Returns:
1898
- Tensor, has the same shape and type as input.
1826
+ 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`.
1899
1827
 
1900
1828
  Raises:
1901
1829
  TypeError: If `input` is not a Tensor.
1902
1830
 
1903
1831
  Supported Platforms:
1904
- ``Ascend``
1832
+ ``Ascend`` ``GPU`` ``CPU``
1905
1833
 
1906
1834
  Examples:
1907
1835
  >>> import mindspore
1908
1836
  >>> import numpy as np
1909
1837
  >>> from mindspore import Tensor, ops
1910
- >>> x = Tensor([2, 4.2, -2.5], mindspore.float16)
1911
- >>> output = ops.frac_ext(x)
1838
+ >>> input = Tensor(np.array([1.0, 0.0]), mindspore.float32)
1839
+ >>> output = ops.atan_ext(input)
1912
1840
  >>> print(output)
1913
- [ 0. 0.1992 -0.5 ]
1841
+ [0.7853982 0. ]
1914
1842
  """
1915
- return frac_impl(input)
1843
+ return atan_impl(input)
1916
1844
 
1917
1845
 
1918
- def unfold(input, kernel_size, dilation=1, padding=0, stride=1):
1846
+ def mean(input, dim=None, keepdim=False, dtype=None):
1919
1847
  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:
1932
-
1933
- .. 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.
1848
+ Reduces all dimension of a tensor by averaging all elements in the dimension, by default.
1849
+ And reduce a dimension of `input` along the specified `dim`. `keepdim`
1850
+ determines whether the dimensions of the output and input are the same.
1946
1851
 
1947
- .. warning::
1948
- - Currently, batched(4D) image-like tensors are supported.
1949
- - For Ascend, it is only supported on platforms above Atlas A2.
1852
+ Note:
1853
+ The `dim` with tensor type is only used for compatibility with older versions and is not recommended.
1950
1854
 
1951
1855
  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`` .
1856
+ input (Tensor[Number]): The input tensor. The dtype of the tensor to be reduced is number.
1857
+ :math:`(N, *)` where :math:`*` means, any number of additional dimensions.
1858
+ dim (Union[int, tuple(int), list(int), Tensor]): The dimensions to reduce. Default: ``None`` ,
1859
+ reduce all dimensions. Only constant value is allowed. Assume the rank of `input` is r,
1860
+ and the value range is [-r,r).
1861
+ keepdim (bool): If ``True`` , keep these reduced dimensions and the length is 1.
1862
+ If ``False`` , don't keep these dimensions. Default: ``False`` .
1863
+ dtype (:class:`mindspore.dtype`): The desired data type of returned Tensor. Default: ``None`` .
1961
1864
 
1962
1865
  Returns:
1963
- A Tensor, with same type as `input` .
1866
+ Tensor, has the same data type as input tensor.
1964
1867
 
1965
- Shape:
1966
- - Input: :math:`(N, C, *)`
1967
- - Output: :math:`(N, C \times \prod(\text{kernel_size}), L)`
1868
+ - If `dim` is ``None`` , and `keepdim` is ``False`` ,
1869
+ the output is a 0-D tensor representing the product of all elements in the input tensor.
1870
+ - If `dim` is int, set as 1, and `keepdim` is ``False`` ,
1871
+ the shape of output is :math:`(x_0, x_2, ..., x_R)`.
1872
+ - If `dim` is tuple(int), set as (1, 2), and `keepdim` is ``False`` ,
1873
+ the shape of output is :math:`(x_0, x_3, ..., x_R)`.
1874
+ - If `dim` is 1-D Tensor, set as [1, 2], and `keepdim` is ``False`` ,
1875
+ the shape of output is :math:`(x_0, x_3, ..., x_R)`.
1968
1876
 
1969
1877
  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.
1878
+ TypeError: If `x` is not a Tensor.
1879
+ TypeError: If `dim` is not one of the following: int, tuple, list or Tensor.
1880
+ TypeError: If `keepdim` is not a bool.
1881
+ ValueError: If `dim` is out of range.
1974
1882
 
1975
1883
  Supported Platforms:
1976
- ``Ascend``
1884
+ ``Ascend`` ``GPU`` ``CPU``
1977
1885
 
1978
1886
  Examples:
1979
1887
  >>> import mindspore
1980
1888
  >>> import numpy as np
1981
1889
  >>> 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)
1890
+ >>> x = Tensor(np.random.randn(3, 4, 5, 6).astype(np.float32))
1891
+ >>> output = ops.mean_ext(x, 1, keepdim=True)
1892
+ >>> result = output.shape
1893
+ >>> print(result)
1894
+ (3, 1, 5, 6)
1895
+ >>> # case 1: Reduces a dimension by averaging all elements in the dimension.
1896
+ >>> x = Tensor(np.array([[[2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2]],
1897
+ ... [[4, 4, 4, 4, 4, 4], [5, 5, 5, 5, 5, 5], [6, 6, 6, 6, 6, 6]],
1898
+ ... [[6, 6, 6, 6, 6, 6], [8, 8, 8, 8, 8, 8], [10, 10, 10, 10, 10, 10]]]),
1899
+ ... mindspore.float32)
1900
+ >>> output = ops.mean_ext(x)
1901
+ >>> print(output)
1902
+ 5.0
1984
1903
  >>> print(output.shape)
1985
- (4, 36, 900)
1904
+ ()
1905
+ >>> # case 2: Reduces a dimension along the dim 0
1906
+ >>> output = ops.mean_ext(x, 0, True)
1907
+ >>> print(output)
1908
+ [[[4. 4. 4. 4. 4. 4.]
1909
+ [5. 5. 5. 5. 5. 5.]
1910
+ [6. 6. 6. 6. 6. 6.]]]
1911
+ >>> # case 3: Reduces a dimension along the dim 1
1912
+ >>> output = ops.mean_ext(x, 1, True)
1913
+ >>> print(output)
1914
+ [[[2. 2. 2. 2. 2. 2.]]
1915
+ [[5. 5. 5. 5. 5. 5.]]
1916
+ [[8. 8. 8. 8. 8. 8.]]]
1917
+ >>> # case 4: Reduces a dimension along the dim 2
1918
+ >>> output = ops.mean_ext(x, 2, True)
1919
+ >>> print(output)
1920
+ [[[ 2.]
1921
+ [ 2.]
1922
+ [ 2.]]
1923
+ [[ 4.]
1924
+ [ 5.]
1925
+ [ 6.]]
1926
+ [[ 6.]
1927
+ [ 8.]
1928
+ [10.]]]
1986
1929
  """
1987
- return unfold_impl(input, converted_kernel_size, converted_dilation, converted_padding, converted_stride)
1930
+ return mean_impl(input, dim, keepdim, dtype)
1988
1931
 
1989
1932
 
1990
- def softplus(input, beta=1, threshold=20):
1933
+ 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):
1991
1934
  r"""
1992
- Applies softplus function to `input` element-wise.
1993
-
1994
- The softplus function is shown as follows, x is the element of `input` :
1935
+ None
1936
+ """
1937
+ 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)
1938
+
1939
+
1940
+ def acos(input):
1941
+ r"""
1942
+ Computes arccosine of input tensors element-wise.
1995
1943
 
1996
1944
  .. math::
1997
1945
 
1998
- \text{output} = \frac{1}{beta}\log(1 + \exp(\text{beta * x}))
1999
-
2000
- where :math:`input * beta > threshold`, the implementation converts to the linear function to ensure numerical stability.
1946
+ out_i = \cos^{-1}(input_i)
2001
1947
 
2002
1948
  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`` .
1949
+ input (Tensor): The shape of tensor is
1950
+ :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
2009
1951
 
2010
1952
  Returns:
2011
- Tensor, with the same type and shape as the input.
1953
+ 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`.
2012
1954
 
2013
1955
  Raises:
2014
1956
  TypeError: If `input` is not a Tensor.
2015
- TypeError: If dtype of `input` is not float16, float32, bfloat16.
2016
1957
 
2017
1958
  Supported Platforms:
2018
- ``Ascend``
1959
+ ``Ascend`` ``GPU`` ``CPU``
2019
1960
 
2020
1961
  Examples:
2021
1962
  >>> import mindspore
2022
1963
  >>> import numpy as np
2023
1964
  >>> 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)
1965
+ >>> input = Tensor(np.array([0.74, 0.04, 0.30, 0.56]), mindspore.float32)
1966
+ >>> output = ops.acos_ext(input)
2026
1967
  >>> print(output)
2027
- [0.74439657 0.7981388 30. 25.]
1968
+ [0.7377037 1.5307857 1.2661037 0.9764114]
2028
1969
  """
2029
- return softplus_impl(input, beta, threshold)
1970
+ return acos_impl(input)
2030
1971
 
2031
1972
 
2032
- def sub(input, other, alpha=1):
1973
+ def adaptive_avg_pool2d_grad(grad_output, x):
2033
1974
  r"""
2034
- Subtracts scaled other value from input Tensor.
1975
+ None
1976
+ """
1977
+ return adaptive_avg_pool2d_grad_impl(grad_output, x)
1978
+
1979
+
1980
+ def l1_loss(input, target, reduction='mean'):
1981
+ r"""
1982
+ Calculate the mean absolute error between the `input` value and the `target` value.
1983
+
1984
+ Assuming that the :math:`x` and :math:`y` are the predicted value and target value,
1985
+ both are one-dimensional tensors of length :math:`N`, length :math:`N`, `reduction` is set to ``'none'`` ,
1986
+ then calculate the loss of :math:`x` and :math:`y` without dimensionality reduction.
1987
+
1988
+ The formula is as follows:
2035
1989
 
2036
1990
  .. math::
1991
+ \ell(x, y) = L = \{l_1,\dots,l_N\}^\top, \quad \text{with } l_n = \left| x_n - y_n \right|,
2037
1992
 
2038
- out_{i} = input_{i} - alpha \times other_{i}
1993
+ where :math:`N` is the batch size.
2039
1994
 
2040
- Note:
2041
- - When the two inputs have different shapes,
2042
- they must be able to broadcast to a common shape.
2043
- - The two inputs and alpha comply with the implicit type conversion rules to make the data types
2044
- consistent.
1995
+ If `reduction` is ``'mean'`` or ``'sum'`` , then:
1996
+
1997
+ .. math::
1998
+ \ell(x, y) =
1999
+ \begin{cases}
2000
+ \operatorname{mean}(L), & \text{if reduction} = \text{'mean';}\\
2001
+ \operatorname{sum}(L), & \text{if reduction} = \text{'sum'.}
2002
+ \end{cases}
2045
2003
 
2046
2004
  Args:
2047
- input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
2048
- a bool or a tensor whose data type is
2049
- `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>`_.
2051
- other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
2052
- a bool or a tensor whose data type is
2053
- `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>`_.
2055
- alpha (number.Number): A scaling factor applied to `other`, default 1.
2005
+ input (Tensor): Predicted value, Tensor of any dimension.
2006
+ target (Tensor): Target value, usually has the same shape as the `input`.
2007
+ If `input` and `target` have different shapes, make sure they can broadcast to each other.
2008
+ reduction (str, optional): Apply specific reduction method to the output: ``'none'`` , ``'mean'`` ,
2009
+ ``'sum'`` . Default: ``'mean'`` .
2010
+
2011
+ - ``'none'``: no reduction will be applied.
2012
+ - ``'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'`` .
2013
+ - ``'sum'``: the output elements will be summed.
2056
2014
 
2057
2015
  Returns:
2058
- Tensor with a shape that is the same as the broadcasted shape of the input `input` and `other`,
2059
- and the data type is the one with higher precision or higher digits among the two inputs and alpha.
2016
+ Tensor or Scalar, if `reduction` is ``'none'`` , return a Tensor with same shape and dtype as `input`.
2017
+ Otherwise, a scalar value will be returned.
2060
2018
 
2061
2019
  Raises:
2062
- TypeError: If the type of `input`, `other`, or `alpha` is not one of the following: Tensor, number.Number, bool.
2063
- TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
2064
- TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
2020
+ TypeError: If `input` is not a Tensor.
2021
+ TypeError: If `target` is not a Tensor.
2022
+ ValueError: If `reduction` is not one of ``'none'`` , ``'mean'`` or ``'sum'`` .
2065
2023
 
2066
2024
  Supported Platforms:
2067
- ``Ascend`` ``GPU`` ``CPU``
2025
+ ``Ascend``
2068
2026
 
2069
2027
  Examples:
2070
- >>> import numpy as np
2071
- >>> import mindspore
2072
- >>> 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)
2076
- >>> alpha = 0.5
2077
- >>> output = ops.auto_generate.sub_ext(x, y, alpha)
2028
+ >>> from mindspore import Tensor, ops
2029
+ >>> from mindspore import dtype as mstype
2030
+ >>> x = Tensor([[1, 2, 3], [4, 5, 6]], mstype.float32)
2031
+ >>> target = Tensor([[6, 5, 4], [3, 2, 1]], mstype.float32)
2032
+ >>> output = ops.l1_loss_ext(x, target, reduction="mean")
2078
2033
  >>> print(output)
2079
- [3.5 4.5 5.5]
2080
- >>> # the data type of x is float32, the data type of y is int32,
2081
- >>> # alpha is a float, and the output is the data format of higher precision float32.
2082
- >>> print(output.dtype)
2083
- Float32
2034
+ 3.0
2084
2035
  """
2085
- return sub_impl(input, other, alpha)
2036
+ return l1_loss_impl(input, target, converted_reduction)
2086
2037
 
2087
2038
 
2088
- def log10(input):
2039
+ def selu(input):
2089
2040
  r"""
2090
- Returns the logarithm to the base 10 of a tensor element-wise.
2041
+ Activation function SELU (Scaled exponential Linear Unit).
2042
+
2043
+ The activation function is defined as:
2091
2044
 
2092
2045
  .. math::
2093
- y_i = \log_{10}(x_i)
2046
+ E_{i} =
2047
+ scale *
2048
+ \begin{cases}
2049
+ x_{i}, &\text{if } x_{i} \geq 0; \cr
2050
+ \text{alpha} * (\exp(x_i) - 1), &\text{otherwise.}
2051
+ \end{cases}
2094
2052
 
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.
2053
+ where :math:`alpha` and :math:`scale` are pre-defined constants(:math:`alpha=1.67326324`
2054
+ and :math:`scale=1.05070098`).
2055
+
2056
+ See more details in `Self-Normalizing Neural Networks <https://arxiv.org/abs/1706.02515>`_.
2057
+
2058
+ SELU Activation Function Graph:
2059
+
2060
+ .. image:: ../images/SeLU.png
2061
+ :align: center
2099
2062
 
2100
2063
  Args:
2101
- input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
2064
+ input (Tensor): Tensor of any dimension.
2065
+ The data type is float16, float32, bfloat16.
2102
2066
 
2103
2067
  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.
2068
+ Tensor, with the same type and shape as the `input`.
2108
2069
 
2109
2070
  Raises:
2110
- TypeError: If `input` is not a Tensor.
2071
+ TypeError: If dtype of `input` is not float16, float32, bfloat16.
2111
2072
 
2112
2073
  Supported Platforms:
2113
2074
  ``Ascend``
2114
2075
 
2115
2076
  Examples:
2116
2077
  >>> import mindspore
2117
- >>> import numpy as np
2118
2078
  >>> 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)
2079
+ >>> import numpy as np
2080
+ >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
2081
+ >>> output = ops.auto_generate.selu_ext(input)
2121
2082
  >>> print(output)
2122
- [0.47712136 0.69897 0.845098 ]
2083
+ [[-1.1113307 4.202804 -1.7575096]
2084
+ [ 2.101402 -1.7462534 9.456309 ]]
2123
2085
  """
2124
- return log10_impl(input)
2086
+ return selu_impl(input)
2125
2087
 
2126
2088
 
2127
- def log_softmax(input, dim=None, dtype=None):
2089
+ def flatten(input, start_dim=0, end_dim=-1):
2128
2090
  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:
2132
-
2133
- .. math::
2134
- \text{output}(x_i) = \log \left(\frac{\exp(x_i)} {\sum_{j = 0}^{N-1}\exp(x_j)}\right),
2135
-
2136
- where :math:`N` is the length of the Tensor.
2091
+ Flatten a tensor along dimensions from `start_dim` to `end_dim`.
2137
2092
 
2138
2093
  Args:
2139
2094
  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}.
2095
+ start_dim (int, optional): The first dimension to flatten. Default: ``0`` .
2096
+ end_dim (int, optional): The last dimension to flatten. Default: ``-1`` .
2146
2097
 
2147
2098
  Returns:
2148
- Tensor, with the same shape as the input.
2099
+ Tensor. If no dimensions are flattened, returns the original `input`, otherwise return the flattened Tensor.
2100
+ If `input` is a 0-dimensional Tensor, a 1-dimensional Tensor will be returned.
2149
2101
 
2150
2102
  Raises:
2151
- TypeError: If `dim` is not an int.
2152
- ValueError: If `dim` is not in range [-len(input.shape), len(input.shape)).
2103
+ TypeError: If `input` is not a Tensor.
2104
+ TypeError: If `start_dim` or `end_dim` is not int.
2105
+ ValueError: If `start_dim` is greater than `end_dim` after canonicalized.
2106
+ ValueError: If `start_dim` or `end_dim` is not in range of [-input.dim, input.dim-1].
2153
2107
 
2154
2108
  Supported Platforms:
2155
- ``Ascend``
2109
+ ``Ascend`` ``GPU`` ``CPU``
2156
2110
 
2157
2111
  Examples:
2158
2112
  >>> import mindspore
2159
2113
  >>> import numpy as np
2160
2114
  >>> 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)
2163
- >>> print(output)
2164
- [-4.4519143 -3.4519143 -2.4519143 -1.4519144 -0.4519144]
2115
+ >>> input_x = Tensor(np.ones(shape=[1, 2, 3, 4]), mindspore.float32)
2116
+ >>> output = ops.auto_generate.flatten_ext(input_x)
2117
+ >>> print(output.shape)
2118
+ (24,)
2165
2119
  """
2166
- return log_softmax_impl(input, dim, dtype)
2120
+ return flatten_impl(input, start_dim, end_dim)
2167
2121
 
2168
2122
 
2169
- def acos(input):
2123
+ def atan2(input, other):
2170
2124
  r"""
2171
- Computes arccosine of input tensors element-wise.
2125
+ Returns arctangent of input/other element-wise.
2172
2126
 
2173
- .. math::
2127
+ It returns :math:`\theta\ \in\ [-\pi, \pi]`
2128
+ such that :math:`input = r*\sin(\theta), other = r*\cos(\theta)`, where :math:`r = \sqrt{input^2 + other^2}`.
2174
2129
 
2175
- out_i = \cos^{-1}(input_i)
2130
+ Note:
2131
+ - Arg `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
2132
+ If they have different data types, the lower precision data type will be converted to relatively the
2133
+ highest precision data type.
2176
2134
 
2177
2135
  Args:
2178
- input (Tensor): The shape of tensor is
2179
- :math:`(N,*)`, where :math:`*` means any number of additional dimensions.
2136
+ input (Tensor, Number.number): The input tensor or scalar.
2137
+ other (Tensor, Number.number): The input tensor or scalar. It has the same shape with `input` or
2138
+ its shape is able to broadcast with `input`.
2180
2139
 
2181
2140
  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`.
2141
+ Tensor, the shape is the same as the one after broadcasting.
2142
+ The dtype of output is float32 when dtype of `input` is in
2143
+ [bool, int8, uint8, int16, int32, int64]. Otherwise output has the same dtype as `input`.
2183
2144
 
2184
2145
  Raises:
2185
- TypeError: If `input` is not a Tensor.
2146
+ TypeError: If `input` or `other` is not a Tensor or scalar.
2147
+ RuntimeError: If the data type of `input` and `other` conversion of Parameter is required
2148
+ when data type conversion of Parameter is not supported.
2186
2149
 
2187
2150
  Supported Platforms:
2188
- ``Ascend`` ``GPU`` ``CPU``
2151
+ ``Ascend``
2189
2152
 
2190
2153
  Examples:
2191
2154
  >>> import mindspore
2192
2155
  >>> import numpy as np
2193
2156
  >>> 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)
2157
+ >>> input = Tensor(np.array([0, 1]), mindspore.float32)
2158
+ >>> other = Tensor(np.array([1, 1]), mindspore.float32)
2159
+ >>> output = ops.auto_generate.atan2_ext(input, other)
2196
2160
  >>> print(output)
2197
- [0.7377037 1.5307857 1.2661037 0.9764114]
2161
+ [0. 0.7853982]
2198
2162
  """
2199
- return acos_impl(input)
2163
+ return atan2_impl(input, other)
2200
2164
 
2201
2165
 
2202
- def max_unpool2d(input, indices, kernel_size, stride=None, padding=0, output_size=None):
2166
+ def add(input, other, alpha=1):
2203
2167
  r"""
2204
- Computes the inverse of `max_pool2d`.
2205
-
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.
2168
+ Adds scaled other value to input Tensor.
2207
2169
 
2208
2170
  .. 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}
2213
2171
 
2214
- .. warning::
2215
- This is an experimental API that is subject to change or deletion.
2172
+ out_{i} = input_{i} + alpha \times other_{i}
2173
+
2174
+ Note:
2175
+ - When the two inputs have different shapes,
2176
+ they must be able to broadcast to a common shape.
2177
+ - The two inputs and alpha comply with the implicit type conversion rules to make the data types
2178
+ consistent.
2216
2179
 
2217
2180
  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])]`.
2181
+ input (Union[Tensor, number.Number, bool]): The first input is a number.Number or
2182
+ a bool or a tensor whose data type is
2183
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
2184
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
2185
+ other (Union[Tensor, number.Number, bool]): The second input, is a number.Number or
2186
+ a bool or a tensor whose data type is
2187
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
2188
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
2189
+ alpha (number.Number): A scaling factor applied to `other`, default 1.
2224
2190
 
2225
2191
  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`.
2192
+ Tensor with a shape that is the same as the broadcasted shape of the input `input` and `other`,
2193
+ and the data type is the one with higher precision or higher digits among the two inputs and alpha.
2227
2194
 
2228
2195
  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`.
2196
+ TypeError: If the type of `input`, `other`, or `alpha` is not one of the following: Tensor, number.Number, bool.
2197
+ TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
2198
+ TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
2236
2199
 
2237
2200
  Supported Platforms:
2238
- ``Ascend``
2201
+ ``Ascend`` ``GPU`` ``CPU``
2239
2202
 
2240
2203
  Examples:
2241
2204
  >>> 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.]]]]
2205
+ >>> import mindspore
2206
+ >>> from mindspore import Tensor
2207
+ >>> from mindspore import ops
2208
+ >>> x = Tensor(1, mindspore.int32)
2209
+ >>> y = Tensor(np.array([4, 5, 6]).astype(np.float32))
2210
+ >>> alpha = 0.5
2211
+ >>> output = ops.auto_generate.add_ext(x, y, alpha)
2212
+ >>> print(output)
2213
+ [3. 3.5 4.]
2214
+ >>> # the data type of x is int32, the data type of y is float32,
2215
+ >>> # alpha is a float, and the output is the data format of higher precision float32.
2216
+ >>> print(output.dtype)
2217
+ Float32
2249
2218
  """
2250
- return max_unpool2d_impl(input, indices, kernel_size, stride, padding, output_size)
2219
+ return add_impl(input, other, alpha)
2251
2220
 
2252
2221
 
2253
- def argsort(input, dim=-1, descending=False, stable=False):
2222
+ def log2(input):
2254
2223
  r"""
2255
- Sorts the input tensor along the given dimension in specified order and return the sorted indices.
2224
+ Returns the logarithm to the base 2 of a tensor element-wise.
2225
+
2226
+ .. math::
2227
+ y_i = \log_2(x_i)
2256
2228
 
2257
2229
  .. warning::
2258
- This is an experimental optimizer API that is subject to change.
2230
+ - If the input value of operator Log2 is within the range (0, 0.01] or [0.95, 1.05], the output accuracy
2231
+ may be affacted.
2259
2232
 
2260
2233
  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``.
2234
+ input (Tensor): Input Tensor of any dimension. The value must be greater than 0.
2267
2235
 
2268
2236
  Returns:
2269
- Tensor, the indices of sorted input tensor. Data type is int64.
2237
+ Tensor, has the same shape as the `input`. If `input.dtype` is of integer or boolean type, the output dtype
2238
+ will be float32. Otherwise, the output dtype will be the same as `input.dtype`.
2270
2239
 
2271
2240
  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.
2241
+ TypeError: If `input` is not a Tensor.
2276
2242
 
2277
2243
  Supported Platforms:
2278
2244
  ``Ascend``
@@ -2281,26 +2247,10 @@ def argsort(input, dim=-1, descending=False, stable=False):
2281
2247
  >>> import mindspore
2282
2248
  >>> import numpy as np
2283
2249
  >>> 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
2250
+ >>> x = Tensor(np.array([3.0, 5.0, 7.0]), mindspore.float32)
2251
+ >>> output = ops.auto_generate.log2_ext(x)
2252
+ >>> print(output)
2253
+ [1.5849625 2.321928 2.807355 ]
2304
2254
  """
2305
- return matmul_impl(input, other)
2255
+ return log2_impl(input)
2306
2256