nn_loss: Fastai custom loss

View source: R/experimental.R

nn_lossR 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


fastai documentation built on June 22, 2024, 11:15 a.m.