args: Activation Function Arguments Helper

View source: R/act-fun.R

argsR Documentation

Activation Function Arguments Helper

Description

[Superseded]

This is superseded in v0.3.0 in favour of indexed syntax, e.g. ⁠<act_fn[param = 0]>⁠ type. Type-safe helper to specify parameters for activation functions. All parameters must be named and match the formal arguments of the corresponding {torch} activation function.

Usage

args(...)

Arguments

...

Named arguments for the activation function.

Value

A list with class "activation_args" containing the parameters.


kindling documentation built on March 3, 2026, 9:07 a.m.