output: Create an output layer

View source: R/layers.R

outputR Documentation

Create an output layer

Description

This layer acts as a placeholder for the output layer in an autoencoder. The number of units is not needed as it is deduced from the data during training.

Usage

output(activation = "linear")

Arguments

activation

Optional, string indicating activation function (linear by default)

Value

A construct with class "ruta_network"

See Also

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


ruta documentation built on Jan. 9, 2023, 1:20 a.m.