Learn R Programming

ruta (version 1.2.0)

dense: Create a fully-connected neural layer

Description

Wrapper for a dense/fully-connected layer.

Usage

dense(units, activation = "linear")

Value

A construct with class "ruta_network"

Arguments

units

Number of units

activation

Optional, string indicating activation function (linear by default)

See Also

Other neural layers: conv(), dropout(), input(), layer_keras(), output(), variational_block()

Examples

Run this code
dense(30, "tanh")

Run the code above in your browser using DataLab