From 3c5c0bfe76549c85149faa3ae3f87551ddb8dbf1 Mon Sep 17 00:00:00 2001 From: liuhe Date: Wed, 3 Mar 2021 17:42:25 +0800 Subject: [PATCH] remove comma --- docs/programming_guide/source_en/operators.md | 8 ++++---- docs/programming_guide/source_zh_cn/operators.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/programming_guide/source_en/operators.md b/docs/programming_guide/source_en/operators.md index 7ae063efcb..948e7025e9 100644 --- a/docs/programming_guide/source_en/operators.md +++ b/docs/programming_guide/source_en/operators.md @@ -163,8 +163,8 @@ print('scalar', add(1, 2)) The following information is displayed: ```text -tensor [[2.4, 4.2] - [4.4, 6.4]] +tensor [[2.4 4.2] + [4.4 6.4]] scalar 3 ``` @@ -241,7 +241,7 @@ print(input_x + input_y) The following information is displayed: ```text -[4.0 5.0 7.0] +[4. 5. 7.] ``` #### Element-wise Multiplication @@ -287,7 +287,7 @@ print(output) The following information is displayed: ```text -[0.7377037, 1.5307858, 1.2661037, 0.97641146] +[0.7377037 1.5307858 1.2661037 0.97641146] ``` ### Vector Operations diff --git a/docs/programming_guide/source_zh_cn/operators.md b/docs/programming_guide/source_zh_cn/operators.md index f07fc54988..43de57e7b7 100644 --- a/docs/programming_guide/source_zh_cn/operators.md +++ b/docs/programming_guide/source_zh_cn/operators.md @@ -167,8 +167,8 @@ print('scalar', add(1, 2)) 输出如下: ```text -tensor [[2.4, 4.2] - [4.4, 6.4]] +tensor [[2.4 4.2] + [4.4 6.4]] scalar 3 ``` @@ -245,7 +245,7 @@ print(input_x + input_y) 输出如下: ```text -[4.0 5.0 7.0] +[4. 5. 7.] ``` #### Element-wise乘法 @@ -291,7 +291,7 @@ print(output) 输出如下: ```text -[0.7377037, 1.5307858, 1.2661037,0.97641146] +[0.7377037 1.5307858 1.2661037 0.97641146] ``` ### 向量运算 -- Gitee