Learn R Programming

kindling (version 0.3.0)

args: 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(...)

Value

A list with class "activation_args" containing the parameters.

Arguments

...

Named arguments for the activation function.