flatten_check: Flatten check

Description Usage Arguments Value

View source: R/metric.R

Description

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

Usage

1
flatten_check(inp, targ)

Arguments

inp

predictions

targ

targets

Value

tensor


fastai documentation built on Oct. 25, 2021, 5:08 p.m.