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


EagerAI/fastai documentation built on April 16, 2024, 12:01 p.m.