View source: R/metric.R
Compute accuracy with 'targ' when 'pred' is bs * n_classes
accuracy(inp, targ, axis = -1)
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.