powered by
Sequential neural network module function factory
sequential_module(layers = 1, hidden = 20, dropout = 0.1)
A function that returns a sequential neural network module.
[numeric(1)] Number of hidden layers.
[numeric(1)] Number of hidden units.
[numeric(1)] Dropout rate.
if (torch::torch_is_installed()) sequential_module()
Run the code above in your browser using DataLab