From d2a785da35c03f948b4ceac5e4e1c7559f6e4e1a Mon Sep 17 00:00:00 2001 From: zhengxinQian Date: Tue, 18 Jun 2024 03:57:23 +0000 Subject: [PATCH 1/2] dump support complex dtype doc Signed-off-by: zhengxinQian --- tutorials/experts/source_en/debug/dump.md | 3 ++- tutorials/experts/source_zh_cn/debug/dump.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tutorials/experts/source_en/debug/dump.md b/tutorials/experts/source_en/debug/dump.md index 8748932892..d8cf937800 100644 --- a/tutorials/experts/source_en/debug/dump.md +++ b/tutorials/experts/source_en/debug/dump.md @@ -791,6 +791,7 @@ Through the asynchronous Dump function, the data files generated by the operator ## Notices - When an operator of type `bfloat16` is saved to the `npy` file, it will be converted to type `float32`. -- Dump only supports saving data with type of bool, int, int8, in16, int32, int64, uint, uint8, uint16, uint32, uint64, float, float16, float32, float64, bfloat16 and double. +- Dump only supports saving data with type of bool, int, int8, in16, int32, int64, uint, uint8, uint16, uint32, uint64, float, float16, float32, float64, bfloat16, double, copmplex64 and complex128. +- Complex64 and complex128 only support saving as npy files, not as statistics information. - The Print operator has an input parameter with type of string, which is not a data type supported by Dump. Therefore, when the Print operator is included in the script, there will be an error log, which will not affect the saving data of other types. - When ACL dump is enabled, overflow dump is not supported. diff --git a/tutorials/experts/source_zh_cn/debug/dump.md b/tutorials/experts/source_zh_cn/debug/dump.md index 66b707a4fd..2f8e69bc9b 100644 --- a/tutorials/experts/source_zh_cn/debug/dump.md +++ b/tutorials/experts/source_zh_cn/debug/dump.md @@ -794,6 +794,7 @@ Dump生成的原始数据文件也可以使用MindSpore Insight的数据解析 ## 注意事项 - `bfloat16`类型的算子保存到`npy`文件时,会转换成`float32`类型。 -- Dump仅支持bool、int、int8、in16、int32、int64、uint、uint8、uint16、uint32、uint64、float、float16、float32、float64、bfloat16、double类型数据的保存。 +- Dump仅支持bool、int、int8、in16、int32、int64、uint、uint8、uint16、uint32、uint64、float、float16、float32、float64、bfloat16、double、complex64、complex128类型数据的保存。 +- Complex64和complex128仅支持保存为npy文件,不支持保存为统计值信息。 - Print算子内部有一个输入参数为string类型,string类型不属于Dump支持的数据类型,所以在脚本中包含Print算子时,会有错误日志,这不会影响其它类型数据的保存。 - 使能ACL dump时,不支持溢出Dump。 -- Gitee From 42cf7b369be1911cefa62fe1fdfffb5415a0ca82 Mon Sep 17 00:00:00 2001 From: TingWang Date: Tue, 18 Jun 2024 07:37:08 +0000 Subject: [PATCH 2/2] Update tutorials/experts/source_zh_cn/debug/dump.md capital fix --- tutorials/experts/source_zh_cn/debug/dump.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/experts/source_zh_cn/debug/dump.md b/tutorials/experts/source_zh_cn/debug/dump.md index 2f8e69bc9b..a8566e4e72 100644 --- a/tutorials/experts/source_zh_cn/debug/dump.md +++ b/tutorials/experts/source_zh_cn/debug/dump.md @@ -795,6 +795,6 @@ Dump生成的原始数据文件也可以使用MindSpore Insight的数据解析 - `bfloat16`类型的算子保存到`npy`文件时,会转换成`float32`类型。 - Dump仅支持bool、int、int8、in16、int32、int64、uint、uint8、uint16、uint32、uint64、float、float16、float32、float64、bfloat16、double、complex64、complex128类型数据的保存。 -- Complex64和complex128仅支持保存为npy文件,不支持保存为统计值信息。 +- complex64和complex128仅支持保存为npy文件,不支持保存为统计值信息。 - Print算子内部有一个输入参数为string类型,string类型不属于Dump支持的数据类型,所以在脚本中包含Print算子时,会有错误日志,这不会影响其它类型数据的保存。 - 使能ACL dump时,不支持溢出Dump。 -- Gitee