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
in_size - Input Size
out_size - Output Size
activation - Activation Function
julia - Julia code representing the Layer
See Also
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]