thomelane commented on a change in pull request #15343: Revise Symbol tutorial
URL: https://github.com/apache/incubator-mxnet/pull/15343#discussion_r297297313
 
 

 ##########
 File path: docs/tutorials/basic/symbol.md
 ##########
 @@ -125,17 +89,14 @@ net = mx.sym.FullyConnected(data=net, name='fc1', 
num_hidden=128)
 net = mx.sym.Activation(data=net, name='relu1', act_type="relu")
 net = mx.sym.FullyConnected(data=net, name='fc2', num_hidden=10)
 net = mx.sym.SoftmaxOutput(data=net, name='out')
-mx.viz.plot_network(net, shape={'data':(100,200)}, 
node_attrs={"shape":"oval","fixedsize":"false"})
+mx.viz.plot_network(net,
+                    shape={'data':(100, 200)},
+                    node_attrs={"shape": "oval", "fixedsize": "false"})
 ```
 
-Each symbol takes a (unique) string name. NDArray and Symbol both represent
-a single tensor. *Operators* represent the computation between tensors.
-Operators take symbol (or NDArray) as inputs and might also additionally accept
-other hyperparameters such as the number of hidden neurons (*num_hidden*) or 
the
-activation type (*act_type*) and produce the output.
+Each symbol takes a unique string name. `NDArray` and `Symbol` both represent 
a single tensor. *Operators* represent the computation between tensors. 
Operators take `symbol` or `NDArray` as inputs and might also additionally 
accept other hyperparameters such as the number of hidden neurons 
(`num_hidden`) or the activation type (`act_type`) and produce the output.
 
 Review comment:
   `symbol` -> `Symbol`. Change other cases (but not non-code versions).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to