From 226a248aba3c70795a0bd37536e96d1986b0a327 Mon Sep 17 00:00:00 2001 From: yangxinxian <947098055@qq.com> Date: Tue, 17 Jun 2025 10:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../msprobe/docs/23.generate_operator_PyTorch.md | 9 --------- .../generate_op_script/config_op.json | 9 --------- 2 files changed, 18 deletions(-) delete mode 100644 debug/accuracy_tools/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json diff --git a/debug/accuracy_tools/msprobe/docs/23.generate_operator_PyTorch.md b/debug/accuracy_tools/msprobe/docs/23.generate_operator_PyTorch.md index e7c8dc7de74..facf9b1a120 100644 --- a/debug/accuracy_tools/msprobe/docs/23.generate_operator_PyTorch.md +++ b/debug/accuracy_tools/msprobe/docs/23.generate_operator_PyTorch.md @@ -48,16 +48,7 @@ config_op.json配置好后,运行如下命令: ``` msprobe -f pytorch op_generate -i ./config.json -o ./ ``` -或者 -进入到mstt的generate_op_script文件夹 -``` -cd mstt/debug/accuracy_tools/msprobe/pytorch/api_accuracy_checker/generate_op_script -``` -运行 -``` -python op_generator.py -i ./config_op.json -o ./ -``` **参数说明** | 参数名称 | 解释 | 是否必选 | | ---------------------------- | ------------------------------------------------------------ | ---------------------------------- | diff --git a/debug/accuracy_tools/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json b/debug/accuracy_tools/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json deleted file mode 100644 index 6a54b58bdef..00000000000 --- a/debug/accuracy_tools/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "dump_json_path": "./dump.json", - "api_name": "", - "extract_api_path": "", - "propagation": "forward", - "data_mode": "random_data", - "random_seed": 1234, - "iter_times": 1 -} \ No newline at end of file -- Gitee