View source: R/torch-code-gen.R
| formula_to_function | R Documentation |
Formula to Function with Named Arguments
formula_to_function(
formula_or_fn,
default_fn = NULL,
arg_names = NULL,
alias_map = NULL
)
formula_or_fn |
A formula or function |
default_fn |
Default function if |
arg_names |
Character vector of formal argument names |
alias_map |
Named list mapping arg_names to formula aliases (e.g., list(in_dim = ".in")) |
A function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.