View source: R/nn_functional.R
| nn_functional_weight_elements | R Documentation |
Mirrors the tensor shapes nn_build_functional_node creates in
ctx_weights, so the context can be sized before the tensors exist.
Weights do not scale with the batch, which is what makes this a separate
count from the activations rather than a factor applied to them.
nn_functional_weight_elements(node, parent_shapes)
Returns a double: a wide dense layer can exceed integer range on its own.
A double, the number of float elements the node's weights occupy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.