You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by wk...@apache.org on 2019/07/31 23:10:04 UTC
[incubator-mxnet] branch master updated: Fix Scala Symbolic API
some/Some typo (#15687)
This is an automated email from the ASF dual-hosted git repository.
wkcn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 9d7fc7c Fix Scala Symbolic API some/Some typo (#15687)
9d7fc7c is described below
commit 9d7fc7cbee09de2694022995d0601cb4316e4988
Author: Cody Allen <ce...@gmail.com>
AuthorDate: Wed Jul 31 16:09:23 2019 -0700
Fix Scala Symbolic API some/Some typo (#15687)
---
docs/api/scala/symbol.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/api/scala/symbol.md b/docs/api/scala/symbol.md
index aaddc2a..f92548e 100644
--- a/docs/api/scala/symbol.md
+++ b/docs/api/scala/symbol.md
@@ -41,7 +41,7 @@ The following example configures a two-layer neural network.
val data = Symbol.Variable("data")
val fc1 = Symbol.api.FullyConnected(Some(data), num_hidden = 128, name = "fc1")
val act1 = Symbol.api.Activation(Some(fc1), "relu", "relu1")
- val fc2 = Symbol.api.FullyConnected(some(act1), num_hidden = 64, name = "fc2")
+ val fc2 = Symbol.api.FullyConnected(Some(act1), num_hidden = 64, name = "fc2")
val net = Symbol.api.SoftmaxOutput(Some(fc2), name = "out")
:type net
// org.apache.mxnet.Symbol