output_dim_for | R Documentation |
Calculates the output dimension of a neural network for a given task that is expected by mlr3torch. For classification, this is the number of classes (unless it is a binary classification task, where it is 1). For regression, it is 1.
output_dim_for(x, ...)
x |
(any) |
... |
(any) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.