get_activation | R Documentation |
Example: "relu" => 'tensorflow::tf$nn$relu'.
get_activation(activation_string)
activation_string |
String name of the activation function. |
A function corresponding to the activation function. If
activation_string
is NA, empty, or "linear", this will return NA. If
activation_string
is not a string, it will return
activation_string
.
## Not run: get_activation("gelu") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.