RNN {BayesFluxR}R Documentation

Create a RNN layer with 'in_size' input, 'out_size' hidden state and 'act' activation function

Description

Create a RNN layer with 'in_size' input, 'out_size' hidden state and 'act' activation function

Usage

RNN(in_size, out_size, act = c("sigmoid", "tanh", "identity", "relu"))

Arguments

in_size

Input size

out_size

Output size

act

Activation function

Value

A list with the following content

See Also

Dense

Examples

## Not run: 
  ## Needs previous call to `BayesFluxR_setup` which is time
  ## consuming and requires Julia and BayesFlux.jl
  BayesFluxR_setup(installJulia=TRUE, seed=123)
  net <- Chain(RNN(5, 5, "tanh"))

## End(Not run)


[Package BayesFluxR version 0.1.3 Index]