nn: Create a Neural Network Layer

View source: R/nn.R

nnR Documentation

Create a Neural Network Layer

Description

Retrieve a neural network layer from the mlr_pipeops dictionary.

Usage

nn(.key, ...)

Arguments

.key

(character(1))

...

(any)
Additional parameters, constructor arguments or fields.

Examples

po1 = po("nn_linear", id = "linear")
# is the same as:
po2 = nn("linear")

mlr3torch documentation built on April 4, 2025, 3:03 a.m.