Skip to content

Commit

Permalink
fix nn.dense doc (apache#18830)
Browse files Browse the repository at this point in the history
Co-authored-by: Lin <[email protected]>
  • Loading branch information
eric-haibin-lin and Lin committed Aug 5, 2020
1 parent 2e97226 commit 59e200a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/gluon/nn/basic_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class Dense(HybridBlock):
r"""Just your regular densely-connected NN layer.
`Dense` implements the operation:
`output = activation(dot(input, weight) + bias)`
`output = activation(dot(input, weight.T) + bias)`
where `activation` is the element-wise activation function
passed as the `activation` argument, `weight` is a weights matrix
created by the layer, and `bias` is a bias vector created by the layer
Expand Down

0 comments on commit 59e200a

Please sign in to comment.