Description Usage Arguments Value Note Author(s) Examples
Add a parameter to the active graph whose value is initialized by Xavier initialization using a Gaussian distribution.
1 |
... |
numerical scalars, the dimensions of the parameter. |
name |
character scalar, name of the node (optional). In case argument |
cg_node object.
The dimensions provided to ...
must be non-negative whole numbers.
Ron Triepels
1 2 3 4 5 | # Initialize a computational graph
graph <- cg_graph()
# Add a parameter to the graph
a <- cg_init_xavier_gaussian(2, 3, name = "a")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.