Stores predictions and targets on CPU in accumulate to perform final calculations with `func`.
AccumMetric(
func,
dim_argmax = NULL,
activation = "no",
thresh = NULL,
to_np = FALSE,
invert_arg = FALSE,
flatten = TRUE,
...
)
function
dimension argmax
activation
threshold point
to matrix or not
invert arguments
flatten
additional arguments to pass
None