flatten_check: Flatten check

View source: R/metric.R

flatten_checkR Documentation

Flatten check

Description

Check that 'out' and 'targ' have the same number of elements and flatten them.

Usage

flatten_check(inp, targ)

Arguments

inp

predictions

targ

targets

Value

tensor


fastai documentation built on June 22, 2024, 11:15 a.m.