Skip to content

Commit

Permalink
add_faq_einsum (PaddlePaddle#4076)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ligoml authored Nov 11, 2021
1 parent e9718b4 commit c3ddcf8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/faq/train_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,11 @@ out = masked_fill(x, mask, 2)
# [2. , 2. , 2. ]])

```

----------

##### 问题:paddle是否有爱因斯坦求和(einsum)这个api?

+ 答复:paddle在2.2rc 版本之后,新增了[paddle.einsum](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/einsum_cn.html#einsum),在 develop 和2.2rc 之后的版本中都可以正常使用。

----------

0 comments on commit c3ddcf8

Please sign in to comment.