nn_loss {fastai}R Documentation

Fastai custom loss

Description

Fastai custom loss

Usage

nn_loss(loss_fn, name = "Custom_Loss")

Arguments

loss_fn

pass custom model function

name

set name for nn_module

Value

None


[Package fastai version 2.2.2 Index]