diff --git a/docs/lite/docs/source_en/tools/benchmark_train_tool.md b/docs/lite/docs/source_en/tools/benchmark_train_tool.md index 1a076ded0ed8b9f6e3f450e821f2e4f12ed08146..f6c3a51e0411dde26c9092adffcba97667dfa0e5 100644 --- a/docs/lite/docs/source_en/tools/benchmark_train_tool.md +++ b/docs/lite/docs/source_en/tools/benchmark_train_tool.md @@ -56,13 +56,13 @@ When using the `benchmark_train` tool to perform benchmark testing, you can set #### Performance Test -The main test indicator of the performance test performed by the `benchmark_train` tool is the duration of a single forward inference. In a performance test, please set `epochs` to a value greater than 1, no need to set benchmark data parameters such as `expectedDataFile`, etc. But you can set the parameter `timeProfiling` as True or False to decide whether to print the running time of the model at the network layer on a certain device. The default value of `timeProfiling` is False. For example: +The main test indicator of the performance test performed by the `benchmark_train` tool is the duration of a single forward training step. In a performance test, please set `epochs` to a value greater than 1, no need to set benchmark data parameters such as `expectedDataFile`, etc. But you can set the parameter `timeProfiling` as True or False to decide whether to print the running time of the model at the network layer on a certain device. The default value of `timeProfiling` is False. For example: ```bash ./benchmark_train --modelFile=./models/test_benchmark.ms --epochs=10 ``` -This command uses a random input, and other parameters use default values. After this command is executed, the following statistics are displayed. The statistics include the minimum duration, maximum duration, and average duration of a single inference after the tested model runs for the specified number of inference rounds. +This command uses a random input, and other parameters use default values. After this command is executed, the following statistics are displayed. The statistics include the minimum duration, maximum duration, and average duration of a single training step after the tested model runs for the specified number of training rounds. ```text Model = test_benchmark.ms, numThreads = 1, MinRunTime = 72.228996 ms, MaxRuntime = 73.094002 ms, AvgRunTime = 72.556000 ms diff --git a/docs/lite/docs/source_zh_cn/tools/benchmark_train_tool.md b/docs/lite/docs/source_zh_cn/tools/benchmark_train_tool.md index 7afbb46f7f197feba3893cf313ec23fb32a2aafe..365f098a6c343d4809ae08d0aab8dacf379628cb 100644 --- a/docs/lite/docs/source_zh_cn/tools/benchmark_train_tool.md +++ b/docs/lite/docs/source_zh_cn/tools/benchmark_train_tool.md @@ -62,7 +62,7 @@ benchmark_train工具所在完整路径为`/path/mindspore-lite-{version}-{os}-{ ./benchmark_train --modelFile=./models/test_benchmark.ms --epochs=10 ``` -这条命令使用随机输入,循环10次,其他参数使用默认值。该命令执行后会输出如下统计信息,该信息显示了测试模型在运行指定推理轮数后所统计出的单次推理最短耗时、单次推理最长耗时和平均推理耗时。 +这条命令使用随机输入,循环10次,其他参数使用默认值。该命令执行后会输出如下统计信息,该信息显示了测试模型在运行指定训练轮数后所统计出的单次训练最短耗时、单次训练最长耗时和平均训练耗时。 ```text Model = test_benchmark.ms, numThreads = 1, MinRunTime = 72.228996 ms, MaxRuntime = 73.094002 ms, AvgRunTime = 72.556000 ms