mindstudio-probe 1.0.1__py3-none-any.whl → 1.0.3__py3-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.
Files changed (249) hide show
  1. {mindstudio_probe-1.0.1.dist-info → mindstudio_probe-1.0.3.dist-info}/METADATA +5 -1
  2. mindstudio_probe-1.0.3.dist-info/RECORD +272 -0
  3. msprobe/README.md +78 -23
  4. msprobe/__init__.py +1 -0
  5. msprobe/config/README.md +182 -40
  6. msprobe/config/config.json +22 -0
  7. msprobe/core/__init__.py +0 -0
  8. msprobe/{pytorch → core}/advisor/advisor.py +3 -3
  9. msprobe/{pytorch → core}/advisor/advisor_result.py +2 -2
  10. msprobe/core/common/const.py +82 -5
  11. msprobe/core/common/exceptions.py +30 -18
  12. msprobe/core/common/file_check.py +19 -1
  13. msprobe/core/common/log.py +15 -1
  14. msprobe/core/common/utils.py +130 -30
  15. msprobe/core/common_config.py +32 -19
  16. msprobe/core/compare/acc_compare.py +299 -0
  17. msprobe/core/compare/check.py +95 -0
  18. msprobe/core/compare/compare_cli.py +49 -0
  19. msprobe/core/compare/highlight.py +222 -0
  20. msprobe/core/compare/multiprocessing_compute.py +149 -0
  21. msprobe/{pytorch → core}/compare/npy_compare.py +55 -4
  22. msprobe/core/compare/utils.py +429 -0
  23. msprobe/core/data_dump/data_collector.py +39 -35
  24. msprobe/core/data_dump/data_processor/base.py +85 -37
  25. msprobe/core/data_dump/data_processor/factory.py +5 -7
  26. msprobe/core/data_dump/data_processor/mindspore_processor.py +198 -0
  27. msprobe/core/data_dump/data_processor/pytorch_processor.py +94 -51
  28. msprobe/core/data_dump/json_writer.py +11 -11
  29. msprobe/core/grad_probe/__init__.py +0 -0
  30. msprobe/core/grad_probe/constant.py +71 -0
  31. msprobe/core/grad_probe/grad_compare.py +175 -0
  32. msprobe/core/grad_probe/utils.py +52 -0
  33. msprobe/doc/grad_probe/grad_probe.md +207 -0
  34. msprobe/doc/grad_probe/img/image-1.png +0 -0
  35. msprobe/doc/grad_probe/img/image-2.png +0 -0
  36. msprobe/doc/grad_probe/img/image-3.png +0 -0
  37. msprobe/doc/grad_probe/img/image-4.png +0 -0
  38. msprobe/doc/grad_probe/img/image.png +0 -0
  39. msprobe/mindspore/api_accuracy_checker/__init__.py +0 -0
  40. msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py +246 -0
  41. msprobe/mindspore/api_accuracy_checker/api_info.py +69 -0
  42. msprobe/mindspore/api_accuracy_checker/api_runner.py +152 -0
  43. msprobe/mindspore/api_accuracy_checker/base_compare_algorithm.py +197 -0
  44. msprobe/mindspore/api_accuracy_checker/compute_element.py +224 -0
  45. msprobe/mindspore/api_accuracy_checker/main.py +16 -0
  46. msprobe/mindspore/api_accuracy_checker/type_mapping.py +114 -0
  47. msprobe/mindspore/api_accuracy_checker/utils.py +63 -0
  48. msprobe/mindspore/cell_processor.py +34 -0
  49. msprobe/mindspore/common/const.py +87 -0
  50. msprobe/mindspore/common/log.py +38 -0
  51. msprobe/mindspore/common/utils.py +57 -0
  52. msprobe/mindspore/compare/distributed_compare.py +75 -0
  53. msprobe/mindspore/compare/ms_compare.py +117 -0
  54. msprobe/mindspore/compare/ms_graph_compare.py +317 -0
  55. msprobe/mindspore/compare/ms_to_pt_api.yaml +399 -0
  56. msprobe/mindspore/debugger/debugger_config.py +38 -15
  57. msprobe/mindspore/debugger/precision_debugger.py +79 -4
  58. msprobe/mindspore/doc/compare.md +58 -0
  59. msprobe/mindspore/doc/dump.md +158 -6
  60. msprobe/mindspore/dump/dump_tool_factory.py +19 -22
  61. msprobe/mindspore/dump/hook_cell/api_registry.py +104 -0
  62. msprobe/mindspore/dump/hook_cell/hook_cell.py +53 -0
  63. msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml +925 -0
  64. msprobe/mindspore/dump/hook_cell/wrap_functional.py +91 -0
  65. msprobe/mindspore/dump/hook_cell/wrap_tensor.py +63 -0
  66. msprobe/mindspore/dump/jit_dump.py +56 -0
  67. msprobe/mindspore/dump/kernel_kbyk_dump.py +65 -0
  68. msprobe/mindspore/free_benchmark/__init__.py +0 -0
  69. msprobe/mindspore/free_benchmark/api_pynative_self_check.py +116 -0
  70. msprobe/mindspore/free_benchmark/common/__init__.py +0 -0
  71. msprobe/mindspore/free_benchmark/common/config.py +12 -0
  72. msprobe/mindspore/free_benchmark/common/handler_params.py +17 -0
  73. msprobe/mindspore/free_benchmark/common/utils.py +71 -0
  74. msprobe/mindspore/free_benchmark/data/support_wrap_ops.yaml +842 -0
  75. msprobe/mindspore/free_benchmark/decorator/__init__.py +0 -0
  76. msprobe/mindspore/free_benchmark/decorator/dec_forward.py +42 -0
  77. msprobe/mindspore/free_benchmark/decorator/decorator_factory.py +107 -0
  78. msprobe/mindspore/free_benchmark/handler/__init__.py +0 -0
  79. msprobe/mindspore/free_benchmark/handler/base_handler.py +90 -0
  80. msprobe/mindspore/free_benchmark/handler/check_handler.py +41 -0
  81. msprobe/mindspore/free_benchmark/handler/fix_handler.py +36 -0
  82. msprobe/mindspore/free_benchmark/handler/handler_factory.py +21 -0
  83. msprobe/mindspore/free_benchmark/perturbation/add_noise.py +67 -0
  84. msprobe/mindspore/free_benchmark/perturbation/base_perturbation.py +21 -0
  85. msprobe/mindspore/free_benchmark/perturbation/bit_noise.py +63 -0
  86. msprobe/mindspore/free_benchmark/perturbation/improve_precision.py +34 -0
  87. msprobe/mindspore/free_benchmark/perturbation/no_change.py +12 -0
  88. msprobe/mindspore/free_benchmark/perturbation/perturbation_factory.py +27 -0
  89. msprobe/mindspore/free_benchmark/self_check_tool_factory.py +33 -0
  90. msprobe/mindspore/grad_probe/__init__.py +0 -0
  91. msprobe/mindspore/grad_probe/global_context.py +91 -0
  92. msprobe/mindspore/grad_probe/grad_analyzer.py +231 -0
  93. msprobe/mindspore/grad_probe/grad_monitor.py +27 -0
  94. msprobe/mindspore/grad_probe/grad_stat_csv.py +132 -0
  95. msprobe/mindspore/grad_probe/hook.py +92 -0
  96. msprobe/mindspore/grad_probe/utils.py +29 -0
  97. msprobe/mindspore/ms_config.py +63 -15
  98. msprobe/mindspore/overflow_check/overflow_check_tool_factory.py +17 -15
  99. msprobe/mindspore/runtime.py +4 -0
  100. msprobe/mindspore/service.py +354 -0
  101. msprobe/mindspore/task_handler_factory.py +7 -4
  102. msprobe/msprobe.py +66 -26
  103. msprobe/pytorch/__init__.py +1 -1
  104. msprobe/pytorch/api_accuracy_checker/common/config.py +21 -16
  105. msprobe/pytorch/api_accuracy_checker/common/utils.py +1 -60
  106. msprobe/pytorch/api_accuracy_checker/compare/algorithm.py +2 -5
  107. msprobe/pytorch/api_accuracy_checker/compare/api_precision_compare.py +46 -10
  108. msprobe/pytorch/api_accuracy_checker/compare/compare.py +84 -48
  109. msprobe/pytorch/api_accuracy_checker/compare/compare_utils.py +8 -12
  110. msprobe/pytorch/api_accuracy_checker/config.yaml +7 -1
  111. msprobe/pytorch/api_accuracy_checker/run_ut/data_generate.py +15 -11
  112. msprobe/pytorch/api_accuracy_checker/run_ut/multi_run_ut.py +11 -15
  113. msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py +16 -9
  114. msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py +193 -105
  115. msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py +68 -1
  116. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/__init__.py +0 -0
  117. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py +202 -0
  118. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py +324 -0
  119. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py +204 -0
  120. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py +218 -0
  121. msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/ssl_config.py +10 -0
  122. msprobe/pytorch/bench_functions/__init__.py +15 -0
  123. msprobe/pytorch/bench_functions/apply_adam_w.py +28 -0
  124. msprobe/pytorch/bench_functions/confusion_transpose.py +19 -0
  125. msprobe/pytorch/bench_functions/fast_gelu.py +55 -0
  126. msprobe/pytorch/bench_functions/layer_norm_eval.py +6 -0
  127. msprobe/pytorch/bench_functions/linear.py +12 -0
  128. msprobe/pytorch/bench_functions/matmul_backward.py +48 -0
  129. msprobe/pytorch/bench_functions/npu_fusion_attention.py +421 -0
  130. msprobe/pytorch/bench_functions/rms_norm.py +15 -0
  131. msprobe/pytorch/bench_functions/rotary_mul.py +52 -0
  132. msprobe/pytorch/bench_functions/scaled_mask_softmax.py +26 -0
  133. msprobe/pytorch/bench_functions/swiglu.py +55 -0
  134. msprobe/pytorch/common/parse_json.py +3 -1
  135. msprobe/pytorch/common/utils.py +83 -7
  136. msprobe/pytorch/compare/distributed_compare.py +19 -64
  137. msprobe/pytorch/compare/match.py +3 -6
  138. msprobe/pytorch/compare/pt_compare.py +40 -0
  139. msprobe/pytorch/debugger/debugger_config.py +11 -2
  140. msprobe/pytorch/debugger/precision_debugger.py +34 -4
  141. msprobe/pytorch/doc/api_accuracy_checker.md +57 -13
  142. msprobe/pytorch/doc/api_accuracy_checker_online.md +187 -0
  143. msprobe/pytorch/doc/dump.md +73 -20
  144. msprobe/pytorch/doc/ptdbg_ascend_compare.md +75 -11
  145. msprobe/pytorch/doc/ptdbg_ascend_quickstart.md +3 -3
  146. msprobe/pytorch/doc/run_overflow_check.md +1 -1
  147. msprobe/pytorch/doc//321/206/320/247/320/260/321/206/320/260/320/227/321/206/320/255/320/226/321/205/342/225/226/320/265/321/205/320/225/342/225/226/321/205/320/254/342/225/221/321/206/320/251/320/277/321/211/320/272/320/234/321/210/320/277/320/221/321/205/320/242/320/234/321/206/320/220/320/267/321/210/320/223/342/225/234/321/205/320/257/342/225/221/321/207/342/225/221/342/224/220/321/206/320/232/320/265/321/205/320/241/320/232.md +151 -0
  148. msprobe/pytorch/free_benchmark/common/constant.py +3 -0
  149. msprobe/pytorch/free_benchmark/common/utils.py +4 -0
  150. msprobe/pytorch/free_benchmark/compare/grad_saver.py +22 -26
  151. msprobe/pytorch/free_benchmark/main.py +7 -4
  152. msprobe/pytorch/free_benchmark/perturbed_layers/npu/add_noise.py +1 -1
  153. msprobe/pytorch/free_benchmark/perturbed_layers/npu/bit_noise.py +1 -1
  154. msprobe/pytorch/free_benchmark/perturbed_layers/npu/change_value.py +1 -1
  155. msprobe/pytorch/free_benchmark/perturbed_layers/npu/improve_precision.py +3 -3
  156. msprobe/pytorch/free_benchmark/perturbed_layers/npu/no_change.py +1 -1
  157. msprobe/pytorch/free_benchmark/perturbed_layers/run_cpu.py +1 -1
  158. msprobe/pytorch/free_benchmark/result_handlers/base_handler.py +43 -29
  159. msprobe/pytorch/free_benchmark/result_handlers/handler_factory.py +0 -1
  160. msprobe/pytorch/function_factory.py +75 -0
  161. msprobe/pytorch/functional/dump_module.py +4 -4
  162. msprobe/pytorch/grad_probe/__init__.py +0 -0
  163. msprobe/pytorch/grad_probe/grad_monitor.py +90 -0
  164. msprobe/pytorch/grad_probe/grad_stat_csv.py +129 -0
  165. msprobe/pytorch/hook_module/hook_module.py +14 -3
  166. msprobe/pytorch/hook_module/support_wrap_ops.yaml +2 -1
  167. msprobe/pytorch/hook_module/utils.py +9 -9
  168. msprobe/pytorch/hook_module/wrap_aten.py +20 -10
  169. msprobe/pytorch/hook_module/wrap_distributed.py +10 -7
  170. msprobe/pytorch/hook_module/wrap_functional.py +4 -7
  171. msprobe/pytorch/hook_module/wrap_npu_custom.py +21 -10
  172. msprobe/pytorch/hook_module/wrap_tensor.py +5 -6
  173. msprobe/pytorch/hook_module/wrap_torch.py +5 -7
  174. msprobe/pytorch/hook_module/wrap_vf.py +6 -8
  175. msprobe/pytorch/module_processer.py +53 -13
  176. msprobe/pytorch/online_dispatch/compare.py +4 -4
  177. msprobe/pytorch/online_dispatch/dispatch.py +39 -41
  178. msprobe/pytorch/online_dispatch/dump_compare.py +17 -47
  179. msprobe/pytorch/online_dispatch/single_compare.py +5 -5
  180. msprobe/pytorch/online_dispatch/utils.py +2 -43
  181. msprobe/pytorch/parse_tool/lib/compare.py +31 -19
  182. msprobe/pytorch/parse_tool/lib/config.py +2 -1
  183. msprobe/pytorch/parse_tool/lib/parse_tool.py +4 -4
  184. msprobe/pytorch/parse_tool/lib/utils.py +34 -80
  185. msprobe/pytorch/parse_tool/lib/visualization.py +4 -3
  186. msprobe/pytorch/pt_config.py +100 -6
  187. msprobe/pytorch/service.py +104 -19
  188. mindstudio_probe-1.0.1.dist-info/RECORD +0 -228
  189. msprobe/mindspore/dump/api_kbk_dump.py +0 -55
  190. msprobe/pytorch/compare/acc_compare.py +0 -1024
  191. msprobe/pytorch/compare/highlight.py +0 -100
  192. msprobe/test/core_ut/common/test_utils.py +0 -345
  193. msprobe/test/core_ut/data_dump/test_data_collector.py +0 -47
  194. msprobe/test/core_ut/data_dump/test_json_writer.py +0 -183
  195. msprobe/test/core_ut/data_dump/test_scope.py +0 -151
  196. msprobe/test/core_ut/test_common_config.py +0 -152
  197. msprobe/test/core_ut/test_file_check.py +0 -218
  198. msprobe/test/core_ut/test_log.py +0 -109
  199. msprobe/test/mindspore_ut/test_api_kbk_dump.py +0 -51
  200. msprobe/test/mindspore_ut/test_debugger_config.py +0 -42
  201. msprobe/test/mindspore_ut/test_dump_tool_factory.py +0 -51
  202. msprobe/test/mindspore_ut/test_kernel_graph_dump.py +0 -66
  203. msprobe/test/mindspore_ut/test_kernel_graph_overflow_check.py +0 -63
  204. msprobe/test/mindspore_ut/test_ms_config.py +0 -69
  205. msprobe/test/mindspore_ut/test_overflow_check_tool_factory.py +0 -51
  206. msprobe/test/mindspore_ut/test_precision_debugger.py +0 -56
  207. msprobe/test/mindspore_ut/test_task_handler_factory.py +0 -58
  208. msprobe/test/pytorch_ut/advisor/test_advisor.py +0 -83
  209. msprobe/test/pytorch_ut/api_accuracy_checker/common/test_common_utils.py +0 -108
  210. msprobe/test/pytorch_ut/api_accuracy_checker/common/test_config.py +0 -39
  211. msprobe/test/pytorch_ut/api_accuracy_checker/compare/test_algorithm.py +0 -112
  212. msprobe/test/pytorch_ut/api_accuracy_checker/compare/test_api_precision_compare.py +0 -77
  213. msprobe/test/pytorch_ut/api_accuracy_checker/compare/test_compare.py +0 -125
  214. msprobe/test/pytorch_ut/api_accuracy_checker/compare/test_compare_column.py +0 -10
  215. msprobe/test/pytorch_ut/api_accuracy_checker/compare/test_compare_utils.py +0 -43
  216. msprobe/test/pytorch_ut/api_accuracy_checker/run_ut/dump.json +0 -179
  217. msprobe/test/pytorch_ut/api_accuracy_checker/run_ut/forward.json +0 -63
  218. msprobe/test/pytorch_ut/api_accuracy_checker/run_ut/test_data_generate.py +0 -99
  219. msprobe/test/pytorch_ut/api_accuracy_checker/run_ut/test_multi_run_ut.py +0 -115
  220. msprobe/test/pytorch_ut/api_accuracy_checker/run_ut/test_run_ut.py +0 -72
  221. msprobe/test/pytorch_ut/compare/test_acc_compare.py +0 -17
  222. msprobe/test/pytorch_ut/free_benchmark/perturbed_layers/test_perturbed_layser.py +0 -105
  223. msprobe/test/pytorch_ut/free_benchmark/result_handlers/test_result_handler.py +0 -121
  224. msprobe/test/pytorch_ut/free_benchmark/test_main.py +0 -101
  225. msprobe/test/pytorch_ut/functional/test_dump_module.py +0 -15
  226. msprobe/test/pytorch_ut/hook_module/test_api_registry.py +0 -130
  227. msprobe/test/pytorch_ut/hook_module/test_hook_module.py +0 -42
  228. msprobe/test/pytorch_ut/hook_module/test_wrap_aten.py +0 -65
  229. msprobe/test/pytorch_ut/hook_module/test_wrap_distributed.py +0 -35
  230. msprobe/test/pytorch_ut/hook_module/test_wrap_functional.py +0 -20
  231. msprobe/test/pytorch_ut/hook_module/test_wrap_tensor.py +0 -35
  232. msprobe/test/pytorch_ut/hook_module/test_wrap_torch.py +0 -43
  233. msprobe/test/pytorch_ut/hook_module/test_wrap_vf.py +0 -11
  234. msprobe/test/pytorch_ut/test_pt_config.py +0 -69
  235. msprobe/test/pytorch_ut/test_service.py +0 -59
  236. msprobe/test/resources/advisor.txt +0 -3
  237. msprobe/test/resources/compare_result_20230703104808.csv +0 -9
  238. msprobe/test/resources/compare_result_without_accuracy.csv +0 -9
  239. msprobe/test/resources/config.yaml +0 -3
  240. msprobe/test/resources/npu_test.pkl +0 -8
  241. msprobe/test/run_test.sh +0 -30
  242. msprobe/test/run_ut.py +0 -58
  243. msprobe/test/test_module_processer.py +0 -64
  244. {mindstudio_probe-1.0.1.dist-info → mindstudio_probe-1.0.3.dist-info}/LICENSE +0 -0
  245. {mindstudio_probe-1.0.1.dist-info → mindstudio_probe-1.0.3.dist-info}/WHEEL +0 -0
  246. {mindstudio_probe-1.0.1.dist-info → mindstudio_probe-1.0.3.dist-info}/entry_points.txt +0 -0
  247. {mindstudio_probe-1.0.1.dist-info → mindstudio_probe-1.0.3.dist-info}/top_level.txt +0 -0
  248. /msprobe/{pytorch → core}/advisor/advisor_const.py +0 -0
  249. /msprobe/pytorch/doc/{atat → msprobe}/321/207/342/226/223/342/225/233/321/205/342/225/221/320/266/321/205/342/225/226/320/265/321/205/320/225/342/225/226/321/206/320/245/342/226/221/321/206/320/235/320/276dump/321/206/320/260/320/227/321/205/320/227/320/226/321/206/320/220/320/267/321/210/320/223/342/225/234/321/205/320/257/342/225/221/321/207/342/225/221/342/224/220/321/206/320/232/320/265/321/205/320/241/320/232.md" +0 -0
@@ -0,0 +1,925 @@
1
+ # Copyright 2024 Huawei Technologies Co., Ltd
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # ============================================================================
15
+
16
+ # List of ops that register hooks
17
+
18
+
19
+ ops:
20
+ - adaptive_avg_pool1d
21
+ - adaptive_avg_pool2d
22
+ - adaptive_avg_pool3d
23
+ - adaptive_max_pool1d
24
+ - adaptive_max_pool2d
25
+ - avg_pool1d
26
+ - avg_pool2d
27
+ - avg_pool3d
28
+ - batch_norm
29
+ - bias_add
30
+ - ctc_greedy_decoder
31
+ - conv1d
32
+ - conv2d
33
+ - conv3d
34
+ - deformable_conv2d
35
+ - dense
36
+ - dropout
37
+ - dropout1d
38
+ - dropout2d
39
+ - dropout3d
40
+ - flatten
41
+ - fold
42
+ - fractional_max_pool3d
43
+ - lp_pool1d
44
+ - lp_pool2d
45
+ - lrn
46
+ - max_pool2d
47
+ - max_pool3d
48
+ - max_unpool1d
49
+ - max_unpool2d
50
+ - max_unpool3d
51
+ - unfold
52
+ - binary_cross_entropy
53
+ - binary_cross_entropy_with_logits
54
+ - cosine_embedding_loss
55
+ - cross_entropy
56
+ - ctc_loss
57
+ - gaussian_nll_loss
58
+ - hinge_embedding_loss
59
+ - huber_loss
60
+ - kl_div
61
+ - l1_loss
62
+ - margin_ranking_loss
63
+ - mse_loss
64
+ - multi_margin_loss
65
+ - multilabel_margin_loss
66
+ - multilabel_soft_margin_loss
67
+ - nll_loss
68
+ - smooth_l1_loss
69
+ - triplet_margin_loss
70
+ - elu
71
+ - fast_gelu
72
+ - gelu
73
+ - glu
74
+ - gumbel_softmax
75
+ - hardshrink
76
+ - hardsigmoid
77
+ - hardswish
78
+ - hardtanh
79
+ - leaky_relu
80
+ - log_softmax
81
+ - logsigmoid
82
+ - mish
83
+ - prelu
84
+ - relu
85
+ - relu6
86
+ - celu
87
+ - rrelu
88
+ - selu
89
+ - sigmoid
90
+ - silu
91
+ - softmax
92
+ - softmin
93
+ - softshrink
94
+ - softsign
95
+ - tanh
96
+ - threshold
97
+ - cdist
98
+ - dist
99
+ - pdist
100
+ - choice_with_mask
101
+ - random_categorical
102
+ - log_uniform_candidate_sampler
103
+ - uniform_candidate_sampler
104
+ - affine_grid
105
+ - bounding_box_decode
106
+ - bounding_box_encode
107
+ - col2im
108
+ - check_valid
109
+ - crop_and_resize
110
+ - grid_sample
111
+ - interpolate
112
+ - iou
113
+ - pad
114
+ - padding
115
+ - pixel_shuffle
116
+ - pixel_unshuffle
117
+ - upsample
118
+ - abs
119
+ - absolute
120
+ - accumulate_n
121
+ - acos
122
+ - arccos
123
+ - acosh
124
+ - add
125
+ - addcdiv
126
+ - addcmul
127
+ - addmv
128
+ - addn
129
+ - angle
130
+ - arccosh
131
+ - arcsin
132
+ - arcsinh
133
+ - arctan
134
+ - arctanh
135
+ - arctan2
136
+ - asin
137
+ - asinh
138
+ - atan
139
+ - atan2
140
+ - atanh
141
+ - atleast_1d
142
+ - atleast_2d
143
+ - atleast_3d
144
+ - bessel_i0
145
+ - bessel_i0e
146
+ - bessel_i1
147
+ - bessel_i1e
148
+ - bessel_j0
149
+ - bessel_j1
150
+ - bessel_k0
151
+ - bessel_k0e
152
+ - bessel_k1
153
+ - bessel_k1e
154
+ - bessel_y0
155
+ - bessel_y1
156
+ - bitwise_and
157
+ - bitwise_left_shift
158
+ - bitwise_or
159
+ - bitwise_right_shift
160
+ - bitwise_xor
161
+ - ceil
162
+ - clamp
163
+ - clip
164
+ - combinations
165
+ - copysign
166
+ - cos
167
+ - cosh
168
+ - cosine_similarity
169
+ - cov
170
+ - diag_embed
171
+ - diff
172
+ - deg2rad
173
+ - digamma
174
+ - div
175
+ - divide
176
+ - erf
177
+ - erfc
178
+ - erfinv
179
+ - exp
180
+ - exp2
181
+ - expm1
182
+ - floor
183
+ - floor_div
184
+ - floor_mod
185
+ - float_power
186
+ - fmod
187
+ - frac
188
+ - gcd
189
+ - hypot
190
+ - igamma
191
+ - igammac
192
+ - imag
193
+ - i0
194
+ - inv
195
+ - invert
196
+ - lcm
197
+ - ldexp
198
+ - lerp
199
+ - log
200
+ - log2
201
+ - log10
202
+ - log1p
203
+ - logaddexp
204
+ - logaddexp2
205
+ - logical_and
206
+ - logical_not
207
+ - logical_or
208
+ - logical_xor
209
+ - logit
210
+ - mul
211
+ - multiply
212
+ - mvlgamma
213
+ - neg
214
+ - negative
215
+ - nextafter
216
+ - polar
217
+ - polygamma
218
+ - positive
219
+ - pow
220
+ - rad2deg
221
+ - ravel
222
+ - real
223
+ - reciprocal
224
+ - remainder
225
+ - rot90
226
+ - round
227
+ - rsqrt
228
+ - sgn
229
+ - sign
230
+ - signbit
231
+ - sin
232
+ - sinc
233
+ - sinh
234
+ - sqrt
235
+ - square
236
+ - sub
237
+ - subtract
238
+ - t
239
+ - tan
240
+ - tanhshrink
241
+ - trapz
242
+ - tril_indices
243
+ - triu_indices
244
+ - true_divide
245
+ - trunc
246
+ - truncate_div
247
+ - truncate_mod
248
+ - xdivy
249
+ - xlogy
250
+ - zeta
251
+ - all
252
+ - amax
253
+ - amin
254
+ - aminmax
255
+ - any
256
+ - argmax
257
+ - argmin
258
+ - cummax
259
+ - cummin
260
+ - cumprod
261
+ - cumsum
262
+ - fmax
263
+ - histc
264
+ - logsumexp
265
+ - max
266
+ - mean
267
+ - median
268
+ - min
269
+ - norm
270
+ - prod
271
+ - std
272
+ - std_mean
273
+ - var
274
+ - var_mean
275
+ - argsort
276
+ - approximate_equal
277
+ - equal
278
+ - ge
279
+ - greater
280
+ - greater_equal
281
+ - gt
282
+ - intopk
283
+ - isclose
284
+ - isfinite
285
+ - isinf
286
+ - isnan
287
+ - isneginf
288
+ - isposinf
289
+ - isreal
290
+ - is_complex
291
+ - le
292
+ - less
293
+ - less_equal
294
+ - lt
295
+ - maximum
296
+ - minimum
297
+ - msort
298
+ - ne
299
+ - not_equal
300
+ - searchsorted
301
+ - topk
302
+ - bmm
303
+ - addbmm
304
+ - addmm
305
+ - baddbmm
306
+ - addr
307
+ - adjoint
308
+ - cholesky
309
+ - cholesky_solve
310
+ - batch_dot
311
+ - dot
312
+ - eig
313
+ - inner
314
+ - inverse
315
+ - geqrf
316
+ - ger
317
+ - kron
318
+ - lu_solve
319
+ - lu_unpack
320
+ - matmul
321
+ - matrix_solve
322
+ - matrix_band_part
323
+ - matrix_diag
324
+ - matrix_diag_part
325
+ - matrix_set_diag
326
+ - mm
327
+ - mv
328
+ - outer
329
+ - orgqr
330
+ - ormqr
331
+ - pinv
332
+ - svd
333
+ - tensor_dot
334
+ - logdet
335
+ - slogdet
336
+ - qr
337
+ - trace
338
+ - bartlett_window
339
+ - blackman_window
340
+ - hamming_window
341
+ - hann_window
342
+ - kaiser_window
343
+ - eye
344
+ - fill
345
+ - full
346
+ - full_like
347
+ - linspace
348
+ - logspace
349
+ - one_hot
350
+ - arange
351
+ - range
352
+ - heaviside
353
+ - bernoulli
354
+ - gamma
355
+ - laplace
356
+ - multinomial
357
+ - multinomial_with_replacement
358
+ - rand
359
+ - rand_like
360
+ - randint
361
+ - randint_like
362
+ - randn
363
+ - randn_like
364
+ - random_gamma
365
+ - random_poisson
366
+ - randperm
367
+ - standard_laplace
368
+ - standard_normal
369
+ - uniform
370
+ - argwhere
371
+ - batch_to_space_nd
372
+ - bincount
373
+ - block_diag
374
+ - broadcast_to
375
+ - cat
376
+ - channel_shuffle
377
+ - chunk
378
+ - column_stack
379
+ - concat
380
+ - conj
381
+ - count_nonzero
382
+ - deepcopy
383
+ - diag
384
+ - diagflat
385
+ - diagonal
386
+ - dyn_shape
387
+ - dsplit
388
+ - dstack
389
+ - einsum
390
+ - expand
391
+ - expand_dims
392
+ - flip
393
+ - fliplr
394
+ - flipud
395
+ - gather_d
396
+ - gather_elements
397
+ - gather_nd
398
+ - hsplit
399
+ - hstack
400
+ - index_add
401
+ - index_fill
402
+ - index_select
403
+ - inplace_add
404
+ - inplace_index_add
405
+ - inplace_sub
406
+ - inplace_update
407
+ - masked_fill
408
+ - masked_select
409
+ - meshgrid
410
+ - moveaxis
411
+ - movedim
412
+ - narrow
413
+ - nan_to_num
414
+ - nansum
415
+ - normal
416
+ - nonzero
417
+ - population_count
418
+ - rank
419
+ - repeat_elements
420
+ - repeat_interleave
421
+ - reshape
422
+ - reverse
423
+ - reverse_sequence
424
+ - roll
425
+ - scatter
426
+ - scatter_nd
427
+ - select
428
+ - sequence_mask
429
+ - shuffle
430
+ - size
431
+ - slice
432
+ - sort
433
+ - space_to_batch_nd
434
+ - sparse_segment_mean
435
+ - split
436
+ - squeeze
437
+ - stack
438
+ - strided_slice
439
+ - sum
440
+ - swapaxes
441
+ - swapdims
442
+ - tensor_scatter_add
443
+ - tensor_scatter_div
444
+ - tensor_scatter_max
445
+ - tensor_scatter_min
446
+ - tensor_scatter_mul
447
+ - tensor_scatter_sub
448
+ - tensor_scatter_elements
449
+ - tensor_split
450
+ - tile
451
+ - tril
452
+ - triu
453
+ - transpose
454
+ - unbind
455
+ - unique
456
+ - unique_consecutive
457
+ - unique_with_pad
458
+ - unsorted_segment_max
459
+ - unsorted_segment_min
460
+ - unsorted_segment_prod
461
+ - unsorted_segment_sum
462
+ - unsqueeze
463
+ - unstack
464
+ - view_as_real
465
+ - vsplit
466
+ - vstack
467
+ - where
468
+ - cross
469
+ - renorm
470
+ - is_tensor
471
+ - scalar_cast
472
+ - scalar_to_tensor
473
+ - tuple_to_array
474
+ - clip_by_global_norm
475
+ - clip_by_value
476
+ - assign
477
+ - assign_add
478
+ - assign_sub
479
+ - scatter_add
480
+ - scatter_div
481
+ - scatter_max
482
+ - scatter_min
483
+ - scatter_mul
484
+ - scatter_nd_add
485
+ - scatter_nd_div
486
+ - scatter_nd_max
487
+ - scatter_nd_min
488
+ - scatter_nd_mul
489
+ - scatter_nd_sub
490
+ - scatter_update
491
+ - derivative
492
+ - jet
493
+
494
+ tensor:
495
+ - __abs__
496
+ - __add__
497
+ - __and__
498
+ - __bool__
499
+ - __eq__
500
+ - __ge__
501
+ - __gt__
502
+ - __iadd__
503
+ - __ifloordiv__
504
+ - __imatmul__
505
+ - __imod__
506
+ - __imul__
507
+ - __isub__
508
+ - __le__
509
+ - __lt__
510
+ - __matmul__
511
+ - __mod__
512
+ - __mul__
513
+ - __ne__
514
+ - __neg__
515
+ - __or__
516
+ - __pow__
517
+ - __radd__
518
+ - __rmatmul__
519
+ - __rmod__
520
+ - __rmul__
521
+ - __rpow__
522
+ - __rsub__
523
+ - __sub__
524
+ - __truediv__
525
+ - __xor__
526
+ - abs
527
+ - absolute
528
+ - acos
529
+ - acosh
530
+ - add
531
+ - addbmm
532
+ - addcdiv
533
+ - addcmul
534
+ - addmm
535
+ - addmv
536
+ - addr
537
+ - all
538
+ - amax
539
+ - amin
540
+ - any
541
+ - arccos
542
+ - arccosh
543
+ - argmax
544
+ - angle
545
+ - arcsin
546
+ - arcsinh
547
+ - arctan
548
+ - arctanh
549
+ - argmin
550
+ - argsort
551
+ - asin
552
+ - asinh
553
+ - atan
554
+ - atan2
555
+ - atanh
556
+ - baddbmm
557
+ - bernoulli
558
+ - bincount
559
+ - bitwise_and
560
+ - bitwise_or
561
+ - bitwise_xor
562
+ - bmm
563
+ - bool
564
+ - broadcast_to
565
+ - ceil
566
+ - cholesky_solve
567
+ - cholesky
568
+ - clamp
569
+ - clip
570
+ - conj
571
+ - copysign
572
+ - cos
573
+ - cosh
574
+ - cross
575
+ - cummax
576
+ - cummin
577
+ - cumprod
578
+ - cumsum
579
+ - deg2rad
580
+ - diag
581
+ - diagflat
582
+ - diff
583
+ - digamma
584
+ - div
585
+ - divide
586
+ - equal
587
+ - erf
588
+ - erfc
589
+ - erfinv
590
+ - exp
591
+ - expand_as
592
+ - expm1
593
+ - flip
594
+ - fliplr
595
+ - flipud
596
+ - float_power
597
+ - floor
598
+ - fmod
599
+ - frac
600
+ - gather_elements
601
+ - ge
602
+ - geqrf
603
+ - ger
604
+ - greater
605
+ - greater_equal
606
+ - gt
607
+ - half
608
+ - hardshrink
609
+ - heaviside
610
+ - histc
611
+ - hypot
612
+ - i0
613
+ - igamma
614
+ - igammac
615
+ - imag
616
+ - index_add
617
+ - index_fill
618
+ - index_put
619
+ - index_select
620
+ - inner
621
+ - int
622
+ - inverse
623
+ - isclose
624
+ - isfinite
625
+ - isinf
626
+ - isnan
627
+ - is_complex
628
+ - is_signed
629
+ - isneginf
630
+ - isposinf
631
+ - isreal
632
+ - lcm
633
+ - ldexp
634
+ - le
635
+ - lerp
636
+ - less
637
+ - less_equal
638
+ - log
639
+ - log10
640
+ - log1p
641
+ - log2
642
+ - logaddexp
643
+ - logaddexp2
644
+ - logdet
645
+ - logical_and
646
+ - logical_not
647
+ - logical_or
648
+ - logical_xor
649
+ - logit
650
+ - logsumexp
651
+ - long
652
+ - lt
653
+ - masked_fill
654
+ - masked_scatter
655
+ - masked_select
656
+ - matmul
657
+ - max
658
+ - maximum
659
+ - mean
660
+ - median
661
+ - min
662
+ - minimum
663
+ - moveaxis
664
+ - movedim
665
+ - msort
666
+ - multinomial
667
+ - multiply
668
+ - mvlgamma
669
+ - nan_to_num
670
+ - nansum
671
+ - narrow
672
+ - ne
673
+ - neg
674
+ - negative
675
+ - nelement
676
+ - new_ones
677
+ - new_zeros
678
+ - nextafter
679
+ - norm
680
+ - nonzero
681
+ - not_equal
682
+ - ormqr
683
+ - permute
684
+ - pow
685
+ - prod
686
+ - qr
687
+ - ravel
688
+ - real
689
+ - reciprocal
690
+ - remainder
691
+ - renorm
692
+ - rad2deg
693
+ - tile
694
+ - repeat_interleave
695
+ - reshape
696
+ - reshape
697
+ - round
698
+ - rot90
699
+ - rsqrt
700
+ - sum_to_size
701
+ - scatter
702
+ - sgn
703
+ - short
704
+ - sigmoid
705
+ - sign
706
+ - signbit
707
+ - sin
708
+ - sinc
709
+ - sinh
710
+ - slogdet
711
+ - sort
712
+ - split
713
+ - sqrt
714
+ - square
715
+ - squeeze
716
+ - std
717
+ - subtract
718
+ - subtract
719
+ - svd
720
+ - swapaxes
721
+ - swapdims
722
+ - t
723
+ - take
724
+ - tan
725
+ - tanh
726
+ - trace
727
+ - swapaxes
728
+ - tile
729
+ - to
730
+ - topk
731
+ - tril
732
+ - tensor_split
733
+ - transpose
734
+ - true_divide
735
+ - trunc
736
+ - unbind
737
+ - unique_consecutive
738
+ - unsqueeze
739
+ - var
740
+ - view
741
+ - where
742
+ - xlogy
743
+ - from_numpy
744
+ - std
745
+ - take
746
+ - var
747
+ - all
748
+ - any
749
+ - copy
750
+ - diagonal
751
+ - flatten
752
+ - resize
753
+ - sum
754
+
755
+ mint.ops:
756
+ - abs
757
+ - absolute_import
758
+ - add
759
+ - add_ex
760
+ - all
761
+ - any
762
+ - any_ex
763
+ - arange
764
+ - argmax
765
+ - avg_pool2d
766
+ - baddbmm
767
+ - baddbmm_ex
768
+ - batch_norm
769
+ - binary_cross_entropy_with_logits
770
+ - bitwise_and
771
+ - bitwise_or
772
+ - bitwise_xor
773
+ - bmm
774
+ - broadcast_to
775
+ - cat
776
+ - cat_ex
777
+ - ceil
778
+ - chunk
779
+ - clamp
780
+ - conv2d
781
+ - conv_transpose2d
782
+ - cos
783
+ - cross
784
+ - cummax
785
+ - cummin
786
+ - cumsum
787
+ - div
788
+ - divide
789
+ - dropout
790
+ - embedding
791
+ - eq
792
+ - erf
793
+ - erfinv
794
+ - exp
795
+ - flatten
796
+ - flip
797
+ - flip_ex
798
+ - fold
799
+ - full
800
+ - functional
801
+ - gather
802
+ - gelu
803
+ - greater
804
+ - grid_sample
805
+ - group_norm
806
+ - gt
807
+ - index_select
808
+ - interpolate
809
+ - isclose
810
+ - isfinite
811
+ - layer_norm
812
+ - le
813
+ - leaky_relu
814
+ - less
815
+ - less_equal
816
+ - linear
817
+ - linspace
818
+ - log
819
+ - logical_and
820
+ - logical_not
821
+ - logical_or
822
+ - lt
823
+ - masked_select
824
+ - matmul
825
+ - max
826
+ - max_pool2d
827
+ - maximum
828
+ - mean
829
+ - mean_ex
830
+ - min
831
+ - minimum
832
+ - mul
833
+ - ne
834
+ - neg
835
+ - negative
836
+ - nn
837
+ - nonzero
838
+ - normal
839
+ - one_hot
840
+ - ones
841
+ - ones_ex
842
+ - ones_like
843
+ - pad
844
+ - permute
845
+ - permute_ex
846
+ - pow
847
+ - prod
848
+ - reciprocal
849
+ - relu
850
+ - remainder
851
+ - repeat_interleave
852
+ - rsqrt
853
+ - scatter
854
+ - scatter_add
855
+ - searchsorted
856
+ - sigmoid
857
+ - silu
858
+ - sin
859
+ - softmax
860
+ - softplus
861
+ - sort
862
+ - split
863
+ - sqrt
864
+ - sqrt_ex
865
+ - square
866
+ - stack
867
+ - sub
868
+ - sub_ex
869
+ - sum
870
+ - tanh
871
+ - tile
872
+ - topk
873
+ - tril
874
+ - triu
875
+ - unfold
876
+ - unique
877
+ - where
878
+ - xlogy
879
+ - zeros
880
+ - zeros_ex
881
+ - zeros_like
882
+
883
+ mint.nn:
884
+ - Dropout
885
+ - Embedding
886
+ - Fold
887
+ - LayerNorm
888
+ - Linear
889
+ - MaxPool2d
890
+ - Unfold
891
+ - Upsample
892
+
893
+ mint.nn.functional:
894
+ - absolute_import
895
+ - avg_pool2d
896
+ - batch_norm
897
+ - batch_norm_ex
898
+ - bce_with_logits
899
+ - binary_cross_entropy_with_logits
900
+ - conv_transpose2d
901
+ - dense
902
+ - dropout
903
+ - embedding
904
+ - fold
905
+ - gelu
906
+ - grid_sample
907
+ - group_norm
908
+ - interpolate
909
+ - layer_norm
910
+ - leaky_relu
911
+ - linear
912
+ - max_pool2d
913
+ - max_pool2d_ex
914
+ - normal
915
+ - one_hot
916
+ - one_hot_ext
917
+ - pad
918
+ - relu
919
+ - sigmoid
920
+ - silu
921
+ - softmax
922
+ - softmax_ex
923
+ - softplus
924
+ - tanh
925
+ - unfold