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 March 21, 2022, 9:07 a.m.