Shortcut: Shortcut

View source: R/time_series_model.R

ShortcutR Documentation

Shortcut

Description

Merge a shortcut with the result of the module by adding them. Adds Conv, BN and ReLU

Usage

Shortcut(ni, nf, act_fn = nn$ReLU(inplace = TRUE))

Arguments

ni

number of input channels

nf

number of features

act_fn

activation

Value

None


fastai documentation built on March 31, 2023, 11:41 p.m.