Learn R Programming

ruta (version 1.0.2)

dense: Create a fully-connected neural layer

Description

Wrapper for a dense/fully-connected layer.

Usage

dense(units, activation = "linear")

Arguments

units

Number of units

activation

Optional, string indicating activation function (linear by default)

Value

A construct with class "ruta_network"

See Also

Other neural layers: dropout, input, layer_keras, output, variational_block

Examples

Run this code
# NOT RUN {
dense(30, "tanh")
# }

Run the code above in your browser using DataLab