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 31, 2023, 11:41 p.m.