From 07aa96acae8c90292f11aafec6f08661b4678581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BD=B3=E7=90=AA?= Date: Mon, 4 Aug 2025 16:01:20 +0800 Subject: [PATCH] dump_sha1 --- tutorials/source_en/debug/dump.md | 3 ++- tutorials/source_zh_cn/debug/dump.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tutorials/source_en/debug/dump.md b/tutorials/source_en/debug/dump.md index cabe663f95..7b647dd3ed 100644 --- a/tutorials/source_en/debug/dump.md +++ b/tutorials/source_en/debug/dump.md @@ -155,7 +155,8 @@ MindSpore supports different Dump functionalities under various modes, as shown - "negative inf count": represents the number of `-Inf` elements in the tensor; - "positive inf count": represents the number of `+Inf` elements in the tensor; - "zero count": represents the number of zero elements in the tensor; - - "md5": represents the MD5 value of the tensor; + - "hash": represents the hash feature value of the tensor, whose algorithm is SHA1, so it can also be written as "hash:sha1"; + - "hash:md5": represents the MD5 value of the tensor; - "l2norm": represents L2Norm value of the tensor, supporting both device and host statistics. Except for those marked as supporting device statistics, other statistics can be collected only on the host. diff --git a/tutorials/source_zh_cn/debug/dump.md b/tutorials/source_zh_cn/debug/dump.md index 444a145e26..fab1345b56 100644 --- a/tutorials/source_zh_cn/debug/dump.md +++ b/tutorials/source_zh_cn/debug/dump.md @@ -155,7 +155,8 @@ MindSpore在不同后端下支持的Dump功能如下表所示: - "negative inf count": 表示Tensor中`-Inf`元素的个数; - "positive inf count": 表示Tensor中`+Inf`元素的个数; - "zero count": 表示Tensor中元素`0`的个数; - - "md5": 表示Tensor的MD5值; + - "hash": 表示Tensor的哈希特征值,目前默认SHA1算法,也可写作"hash:sha1"; + - "hash:md5": 表示Tensor的MD5值; - "l2norm": 表示Tensor的L2Norm值,支持在device统计和在host统计。 以上除了标记了支持device统计的,其他都仅支持在host统计。 -- Gitee