Skip to content

Commit

Permalink
Update sentiment-analysis-cnn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Feb 14, 2019
1 parent ea594c4 commit c7fc92f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ corr1d(X, K)

```{.python .input n=5}
def corr1d_multi_in(X, K):
# 我们首先沿着X和K的第0维(通道维)遍历。然后使用*将结果列表变成add_n函数的位置参数
# 首先沿着X和K的第0维(通道维)遍历。然后使用*将结果列表变成add_n函数的位置参数
#(positional argument)来进行相加
return nd.add_n(*[corr1d(x, k) for x, k in zip(X, K)])
Expand Down

0 comments on commit c7fc92f

Please sign in to comment.