Skip to content

Commit

Permalink
update doc for activation input (PaddlePaddle#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingfeng01 authored Aug 3, 2022
1 parent c45b4fb commit b3475ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlescience/network/network_fc.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class FCNet(NetworkBase):
num_outs (integer): Number of outputs.
num_layers (integer): Number of layers.
hidden_size (integer): Hiden size in each layer.
activation (optional, "tanh" / "sigmoid"): Activation function used in each layer. The default value is "tanh".
activation (optional, "tanh" / "sigmoid" / PaddlePaddle's operator): Activation function used in each layer. Currently, expected input is string format[sigmoid, tanh] or PaddlePaddle's operator (e.g. paddle.exp). The default value is "tanh".
Example:
>>> import paddlescience as psci
Expand Down

0 comments on commit b3475ea

Please sign in to comment.